The title is a good tl;dr of what my problem is: when the dialogue window should hide itself (like for when a transition is happening or when there isn't any dialogue being shown at all) it doesn't, and the only times I've seen it work is when it's either changing the scene with the scene function, or if I manually enter "window hide".
This is the only time I've run into this issue, as my past few games properly hid the dialogue window when it was supposed to. And everything's stayed the same as well, the config.window line of text in options.rpy is the default "auto", and the only thing I add is a little line of text right at the start of my game that says "window auto". I really don't want to have to go in and manually add the "window hide" statement when I've seen dozens of times in my previous projects where it worked properly.
Thanks in advance!
[Solved] Window not hiding when it should
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.
- solarProtag
- Regular
- Posts: 37
- Joined: Sun May 28, 2017 12:17 am
- Completed: http://solarprotag.weebly.com/gamedev.html
- Projects: Battle Live Series
- Tumblr: solarasketchbook
- itch: solarprotagonist
- Contact:
[Solved] Window not hiding when it should
Last edited by solarProtag on Sun Jun 10, 2018 11:26 am, edited 1 time in total.
- Ocelot
- Lemma-Class Veteran
- Posts: 2404
- Joined: Tue Aug 23, 2016 10:35 am
- Github: MiiNiPaa
- Discord: MiiNiPaa#4384
- Contact:
Re: Window not hiding when it should
This is not default behavior. It looks like you want hide, not auto mode behavior.when the dialogue window should hide itself (like for when a transition is happening or when there isn't any dialogue being shown at all) it doesn't
window xxx statement does not hide or show anything. It sets mode for say window visibility. There are three modes total:
hide — say window is always hidden, unless say statement is executing.
So, say window will stay hidden until somebody starts talking and will hide as soon as you click past last line of dialogue.
show — say window is always shown, unless statement which explicitely hides that window is executing. By default it is only scene statement.
So, say window will be always shown except when scene statement is executing (and it will reappear as soon as scene changes).
auto — default mode, lazy approach: say window will be shown when it need to be shown, it will be hidden whin it needs to be hidden, and it will not be changed in all other cases.
So, say window will appear as soon as somebody says something and will not disappear until next scene or call screen statement. After that it will stay hidden until someone says something again.
Further info:
https://www.renpy.org/doc/html/config.h ... _auto_show
config.window_auto_show — which statements make say window appear in auto mode.
https://www.renpy.org/doc/html/config.h ... _auto_hide
config.window_auto_hide — which statements make say window disappear in auto mode.
< < insert Rick Cook quote here > >
- solarProtag
- Regular
- Posts: 37
- Joined: Sun May 28, 2017 12:17 am
- Completed: http://solarprotag.weebly.com/gamedev.html
- Projects: Battle Live Series
- Tumblr: solarasketchbook
- itch: solarprotagonist
- Contact:
Re: Window not hiding when it should
Heyyyy it worked! Thanks so much!
I'm just confused how I got the auto function to work in my other games now lol.
I'm just confused how I got the auto function to work in my other games now lol.
Who is online
Users browsing this forum: No registered users