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.
But the thing is that I'm always creating more and more screens and it's a pain in the neck to go to this function and update it constantly so, since I have all those screens in one .rpy I'm wondering: is there a way to create a function or something that allows me to hide all the screens contained in a .rpy file? Thanks!
Adrian_DVL wrote: ↑Sun Sep 05, 2021 1:25 pm
...But the thing is that I'm always creating more and more screens and it's a pain in the neck to go to this function and update it constantly ...
Try to set tags for your screens. That makes only one screen with the same tag to be shown on screen at a time, and also you'll be able to hide screen by tag instead of name.
Then, you could make a list of tags and make your function like