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!
How to hide text window when displaying an image?
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.
- skyeworks
- Regular
- Posts: 84
- Joined: Thu Jul 27, 2017 11:36 am
- Projects: K9-11
- itch: skyefrost
- Contact:
Re: How to hide text window when displaying an image?
Use renpy.pause !
will wait untill player click
or
will wait 1 sec or player's click to continue
Both will make the text box disappear for that one moment!
Code: Select all
show image "jul31"
$ renpy.pause ()
or
Code: Select all
show image "jul31"
$ renpy.pause (1.0)
Both will make the text box disappear for that one moment!
- Imperf3kt
- Lemma-Class Veteran
- Posts: 3785
- Joined: Mon Dec 14, 2015 5:05 am
- itch: Imperf3kt
- Location: Your monitor
- Contact:
Re: How to hide text window when displaying an image?
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.
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.
Warning: May contain trace amounts of gratuitous plot.
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Twitter
pro·gram·mer (noun) An organism capable of converting caffeine into code.
Current project: GGD Mentor
Who is online
Users browsing this forum: Google [Bot], Semrush [Bot]