We're trying to have animated backgrounds in our game, and are using webm files to accomplish this. It's all working well and good until I tried to load a save game file from the middle of one of these scenes. The animation plays for a second, and then stops looping. Any advice?
Here's the code I'm using for this:
Defined at the start of the game:
image bus_background = Movie(play="images/bus_background.webm", loop=True)
And then when the scene is called:
scene bus_background
Animated background stops animating upon loading a save game
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.
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.
Re: Animated background stops animating upon loading a save game
Try to use 'show' instead of 'scene', but I dunno, just guess. In the docs it never quote the use as a scene and older releases can't at all.
If you want to debate on a reply I gave to your posts, please QUOTE ME or i'll not be notified about. << now red so probably you'll see it.
10 ? "RENPY"
20 GOTO 10
RUN
10 ? "RENPY"
20 GOTO 10
RUN
Re: Animated background stops animating upon loading a save game
Unfortunately running into the same issue with 'show'.
Re: Animated background stops animating upon loading a save game
Reconstructing the animation in engine via ATL (instead of loading in a video) fixed the issue.
Who is online
Users browsing this forum: Bing [Bot], Ocelot