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.
Alright, so I'm working on a NVL based game and just at the beginning the ADV box dissolves in rather than the NVL box.
Game starts, an ADV box fades in, disappears immediately and NVL pops in abruptly. Then I use "window hide" and NVL box fades out normally. I use "window show" again and it does so normally once more.
It is only at the very beginning of the label.
label start:
scene sunset with dissolve
window show
n ".................................................."
n "................................................."
n "..........................................................
.................................
......................
..................
......................."
nvl clear
window hide
window show
n "......."
I'm probably missing something terribly obvious but it'd be a relief to fix it
Thanks.
Konojolras wrote:Alright, so I'm working on a NVL based game and just at the beginning the ADV box dissolves in rather than the NVL box.
Game starts, an ADV box fades in, disappears immediately and NVL pops in abruptly. Then I use "window hide" and NVL box fades out normally. I use "window show" again and it does so normally once more.
It is only at the very beginning of the label.
label start:
scene sunset with dissolve
window show
n ".................................................."
n "................................................."
n "..........................................................
.................................
......................
..................
......................."
nvl clear
window hide
window show
n "......."
I'm probably missing something terribly obvious but it'd be a relief to fix it
Thanks.
Using window show is what's causing the problem. The program is designed to show the ADV box when that command is first called, since it's the more commonly used textbox. The way around it is to Not use 'window show' at the beginning of a label. Once the window has been in use then you can use 'window show.'
Why are you using 'window show' anyway? It's not like you actually need it. The window you need will pop up automatically. Window show is normally used for keeping a blank window on screen when text isn't in use.