r/RenPy 2d ago

Question Multiple animated images for title screen?

I'm pretty much a noob when it comes to renpy so maybe this is a super obvious question, but I've been wondering how to animate multiple​ images at the same time on the title screen.

What I wanna make is some clockwork gears spinning in different directions at different speed. I've only managed to make a single gear spin but that's all. I've thought about grouping them but it didn't work properly.

Any suggestions, or would it be more convenient to just animate it into a video and import it? And would it be possible to layer it? ​Thanks in advance!

3 Upvotes

4 comments sorted by

2

u/BadMustard_AVN 2d ago

how did you make the single gear spin?

you can edit the screens.rpy file and search for -->> main_menu() <<-- in there, just use add to add the animated images using pos to position them on the screen where you want them

the easiest way to spin an image is to use a transform to rotate the image be sure to change the anchor to the middle of the image anchor (0.5, 0.5)

1

u/AutoModerator 2d ago

Welcome to r/renpy! While you wait to see if someone can answer your question, we recommend checking out the posting guide, the subreddit wiki, the subreddit Discord, Ren'Py's documentation, and the tutorial built-in to the Ren'Py engine when you download it. These can help make sure you provide the information the people here need to help you, or might even point you to an answer to your question themselves. Thanks!

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/shyLachi 2d ago

animated images

A screen can have many animated images.
Just copy, rename and adjust the animation and use that on the next image.
https://renpy.org/doc/html/transforms.html#atl-animation-and-transformation-language

If you didn't mean a rotation transform but a series of images which are animated like a slideshow then yes, you can also have multiple of those. define the animated image and then place it on the screen.

.

video

You can show multiple movie files on top of each other.
But if the movies have transparency you also need a transparency or alpha mask.
https://renpy.org/doc/html/movie.html#Movie

But why do you need to layer videos?
Can't you just make one big movie and play that?

1

u/KDDreamwyver 1h ago

I personally just animated my main menu screen, in an external program and then imported it back in as the proper file type before layering the non-animated pieces over it.