In my game, I want to begin with a black background, introduce my character, then have a background dissolve in behind them. Pretty simple, right? Straight out of the tutorial.
Just for some reason, when the background comes in, my character dissolves away. And I can't call it back on screen. It's almost as if the background is a layer above my character, although that's just blind speculation.
My code is:
label scene01: # Intro
scene black
CHARACTER "..."
"{i}*deep breath*{/i}"
"Time to fade in."
play music "/Whimsical 1.mp3" fadein 3.0
show CHARACTER happy at char_fade, center
pause(0.3)
CHARACTER "Now it's time for the background."
show bg old_hallway with dissolve
"I've disappeared!"
"Let me try to load myself again."
show CHARACTER happy at char_fade, center
"That doesn't seem to have worked."
"..."
Swapping out 'show bg [etc]' for 'scene bg [etc]' makes it so that my character still disappears, but successfully fades back in on that second attempt.
My overall code is a horrendous mishmash of tutorial pieces and Tayruu's incredible portrait system, and so I'm willing to bet something went wrong along the way.
Since there's no traceback, here's my full code if someone is magnanimous enough to lend some advice.
https://www.dropbox.com/s/l2f6r075rh271 ... s.rpy?dl=0 - options
https://www.dropbox.com/s/p7vdor3jnnigg ... d.rpy?dl=0 - loading all asset and functions
https://www.dropbox.com/s/pto21nudtys4r ... 1.rpy?dl=0 - dialogue script (where the issue is)
Thank you very much in advance!
