I want to achieve a smooth appearance of the textbox (test сharacter).
But for some reason I see empty narrator textbox (judging by the coordinates) for a split second, then the test textbox.
Empty narrator textbox for a split second (with dissolve effect)
Test textbox (without dissolve effect) immediately thereafter
I can't understand why it appears. Can you please tell me why this narrator textbox appears at the beginning? How do I get it out?
I thought define the character textbox would be enough, but it looks like there is some other code.
The only code I added (everything else is default):
Code: Select all
define test = Character('Test', window_background="gui/textbox.png", window_xmaximum=650, window_xsize=650, window_ysize=370, window_xpos=1535, window_ypos=657, what_xsize=515, what_ysize=370, what_xpos=0.1, what_ypos=0.35, who_ypos=63)
define narrator = Character(window_background="gui/textbox.png", window_xmaximum=650, window_xsize=650, window_ysize=370, window_xpos=1550, window_ypos=400, what_xsize=515, what_ysize=370, what_xpos=0.1, what_ypos=0.35, who_ypos=63)
label start:
scene bg room
show eileen happy
window show dissolve
test "You've created a new Ren'Py game."
return
I checked the code and didn't find anything that indicated the narrator's window priority or anything like that.
Code: Select all
window hide
With this line of code, the possibility of a smooth appearance of the "test" textbox disappears (window show dissolve).
Code: Select all
$ _window_during_transitions = True
Code: Select all
define config.window = 'hide'
Code: Select all
define _preferences.show_empty_window = False
I found several similar topics on the forum, but their solutions do not include saving the possibility of a smooth textbox appearance.
viewtopic.php?t=46842
viewtopic.php?t=46790
viewtopic.php?t=27155