Pause Issues

Magsman

Newbie
Nov 25, 2021
24
303
I don't understand why Renpy doesn't let me pause between the scenes.

This is the scene
scene fe_beach_15 with Dissolve (0.5)
pause
And the error:

Layer 1.png
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,968
16,222
I don't understand why Renpy doesn't let me pause between the scenes.
Since pause is a valid statement and exist since years, it's probably because of something that take place (way) before the scene and you didn't shown in your post.
 

Magsman

Newbie
Nov 25, 2021
24
303
Since pause is a valid statement and exist since years, it's probably because of something that take place (way) before the scene and you didn't shown in your post.
This is my script, otherwise I haven't changed anything else:
It works only with this code: $ renpy.pause(2.0) but I want it to work with "pause"
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,968
16,222
On that page I started with this:
*sigh*

The error happen line 219... A file do not starts at the line 216...


What make me wonder if you are even looking at the right part of your code when you're trying to understand why it don't works.
 

Magsman

Newbie
Nov 25, 2021
24
303
*sigh*

The error happen line 219... A file do not starts at the line 216...


What make me wonder if you are even looking at the right part of your code when you're trying to understand why it don't works.
I found the problem! Renpy doesn't like the file "0.1.rpy", I think that point made the difference, so I switched to episode_1.rpy and it works now
I apologize for wasting your time and thank you for trying to help me.
 

anne O'nymous

I'm not grumpy, I'm just coded that way.
Modder
Donor
Respected User
Jun 10, 2017
10,968
16,222
Note for future references

I found the problem! Renpy doesn't like the file "0.1.rpy" [...]
As strangely as it looks, it's the fucking truth :/

Ren'Py do not care if the file name have point in it, but it will throw an error and do not recognize the pause statement if there's on in the file. Other statements, like scene, show and dialogs works fine, but not this one :/
 

Magsman

Newbie
Nov 25, 2021
24
303
Note for future references



As strangely as it looks, it's the fucking truth :/

Ren'Py do not care if the file name have point in it, but it will throw an error and do not recognize the pause statement if there's on in the file. Other statements, like scene, show and dialogs works fine, but not this one :/
Good thing I found the problem and didn't launch the game, broken with this error.
By the way, can I get my own page when I launch the game?