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.
Is there a simple way to combine multiple transitions into one that I can then call by a single name?
Example: When changing backgrounds, I prefer a fade, followed by a brief pause to give the player time to look at the background before it is covered by text again. (This is in NVL mode)
What I would like to do is to combine the fade and Pause into a single transition name which allows me to change the details of the transition in some central location, instead of having to search and replace over the whole script. So ideally I would do something like:
More generally, I'm making a CYOA, and I have much more menu input than in a traditional visual novels. I don't have big background pictures, only small vignettes I wish to display and hide before showing the menu. The scene system wouldn't really work for this kind of game, and I'd like to avoid to repeat the show / hide command for every pictures.