Trying to figure out if it's possible to have music fade out (which works) but the fade tween doesn't apply when a next scene is loading, and that stops the tween from processing.

Is there a way around this? Do I have to use a thread or can I set something on the AudioStream/Tween to work in background?

Is the issue that the AudioStreamPlayer is in a scene that gets freed when you load the next scene? If so one option might be to handle the music in an autoload so it sticks around even when you change scenes.

    soundgnome If so one option might be to handle the music in an autoload so it sticks around even when you change scenes.

    This is what I’ve done several times to have audio fade or persist across scenes. I’d recommend using an auto load if you can.

    cybereality

    I'm not sure if I can add resource loading in my project at this point... too many global variables being altered when I load a level

    Shouldn't it be possible to thread a tween instead?

    2 months later

    you don't need a thread, a single tween in autoload is enough