Textbox fading in/out wrong
Posted: Mon Jan 08, 2024 12:14 am
Hello! I have a few different textboxes I'm using for each character. When I try to fade them in and out when the scene changes, it grabs the default textbox file instead.
It's like this:
After playing around with it more, I found out that when the window is shown or hidden, the 'who' automatically changes to None, which is what I figure is causing the issue maybe?
This is how the characters are declared with different textboxes:
I've also tried making an alpha variable for a background in the say screen, but it does the same thing. Is there a better way to go about this?
It's like this:
Code: Select all
start:
one "dialogue, dialogue." #showing one's textbox
window hide dissolve #snaps to default textbox
pause 0.5
window show dissolve #starts with default textbox
two "dialogue, dialogue." #showing two's textbox
This is how the characters are declared with different textboxes:
Code: Select all
define mc = Character("[playerName]", window_background="gui/textbox_player.png")