Page 1 of 1

How to hide text window when displaying an image?

Posted: Wed Sep 19, 2018 12:33 pm
by amada
Hi! I have this bit in the short game I'm working on where I want a magic circle to appear in the middle of the screen and rotate clockwise then stop rotating. I've consulted viewtopic.php?f=51&t=16604 and viewtopic.php?t=36673 and was able to successfully replicate what I wanted. However, my problem is that whenever this happens, the textbox and nvl window (on different parts of the game) always seem to block what's happening. I've tried using "window hide" but it doesn't seem to work.

I'd appreciate any help on this!

Re: How to hide text window when displaying an image?

Posted: Wed Sep 19, 2018 5:57 pm
by skyeworks
Use renpy.pause :D!

Code: Select all

    show image "jul31"
    $ renpy.pause ()  
will wait untill player click
or

Code: Select all

 show image "jul31"
    $ renpy.pause (1.0) 
will wait 1 sec or player's click to continue

Both will make the text box disappear for that one moment!

Re: How to hide text window when displaying an image?

Posted: Wed Sep 19, 2018 10:01 pm
by Imperf3kt
Have you tried window auto?
You can force the behaviour you want by including these two configs in options.rpy

define config.window_auto_hide = [ 'scene', 'call screen' ]
A list of statements that cause window auto to hide the empty dialogue window.

define config.window_auto_show = [ 'say' ]
A list of statements that cause window auto to show the empty dialogue window.