Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Maybe someone here can explain this. Pretty much what I'm trying to do is make a scene appear, show the image background appear for a few seconds and then pan down to the bottom of the background. my background height is double my resolution size.
label start:
scene background with fade:
pause 3.0
yalign 0.0
linear 10.0 yalign 1.0
scene next_background
With ^these^ lines my image shows for about a half a second and then switches to the next scene. If I remove the pause line the scene pans down really fast and then switches to the next scene. Now...
label start:
scene background with fade:
pause 3.0
yalign 0.0
linear 10.0 yalign 1.0
name "test"
scene next_background
If I add a bit of dialogue (did this to just see what happens if the game was forced to wait for user input), everything works like I want it to. background shows for 3 seconds and then does a 10 second pan perfectly. Could anyone enlighten me as to what's happening? Any way to do this without the dialogue "stopper"?
The linear transition doesn't block the following actions, so if the following action actually waits on the last one to finish you have the effect you wanted^^
mobychan wrote:The linear transition doesn't block the following actions, so if the following action actually waits on the last one to finish you have the effect you wanted^^