Are there any builtin functions that hide the current screen
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.
- LiveTurkey
- Regular
- Posts: 109
- Joined: Tue Dec 27, 2016 10:50 pm
- Location: Brooklyn
- Contact:
Are there any builtin functions that hide the current screen
I was just wondering if renpy has any built in functions or commands that hide whatever the current screen showing is? Or is there a way to write that function?
Discord -> https://discord.gg/KPRktG2
- LiveTurkey
- Regular
- Posts: 109
- Joined: Tue Dec 27, 2016 10:50 pm
- Location: Brooklyn
- Contact:
Re: Are there any builtin functions that hide the current sc
I don't think that will work. That only hides it until the user clicks. I want it to be just like the regular Hide() action but instead of me giving it the name likeAlex wrote:Try this screen action - https://www.renpy.org/doc/html/screen_a ... eInterface
I want it to beHide("map")
Hide(currentScreen)
Discord -> https://discord.gg/KPRktG2
Re: Are there any builtin functions that hide the current sc
The problem is that renpy is almost always showing multiple screens. The say screen, choice screen, menu screen etc. are all screens. There is no such thing as a 'current screen' really.
- LiveTurkey
- Regular
- Posts: 109
- Joined: Tue Dec 27, 2016 10:50 pm
- Location: Brooklyn
- Contact:
Re: Are there any builtin functions that hide the current sc
That makes sense. Thanks!philat wrote:The problem is that renpy is almost always showing multiple screens. The say screen, choice screen, menu screen etc. are all screens. There is no such thing as a 'current screen' really.
Is there a way to hide all screens? I currently created my own hide all screens function but I was wondering if there was one built in?
Discord -> https://discord.gg/KPRktG2
Re: Are there any builtin functions that hide the current sc
You can safely hide the screen that is not shown, so you can make your function to hide all the screens (make a list of names).
Another try would be to make your screen set the variable when it appears, so your function will know what screen it should hide.
Another try would be to make your screen set the variable when it appears, so your function will know what screen it should hide.
Who is online
Users browsing this forum: Ahrefs [Bot], Ocelot