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.
I've made screens to showcase character favors to one another but I can't figure out how to add a transition on them upon opening. I made buttons that are one the side of the screen and when you click them, they open up a screen that you can temporarily look at and then in that screen there is another button you can click to get back into the game. I want to make it so that upon opening and closing those screens, there are move transitions. This is my code for the side buttons and one of the screens that can be opened up:
Try to apply transform to the screen content (like, to your imagemap inside a screen) or put all the content inside a container (fixed, frame, hbox, vbox, etc.) and apply transform to it - viewtopic.php?f=8&t=66826#p561551
For example, as part of a button:
action Show("myScreen", PushMove(0.2, mode="pushleft"))
Will make the screen be shown with a 0.2 second transition sliding in from the right
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.