Topic was automatically imported from the old Question2Answer platform.
Asked By
EnderCreeper1st
Uhhh how to make a “background music” play across a the entire scenes without it being paused and played again,
i set up an AudioStreamPlayer attached to the player scene so that the music would play every time a play a level, but as i transition to the next level it repeats itself, any examples on how to fix this?
In Godot, changing scene is actually a shortcut for just removing a node and its children, and replacing it with another scene. Basically, it does this:
- root (Viewport)
- YourCurrentScene <-- this node will be replaced
- Player
- AudioStreamPlayer <-- this one too because it's grandchild of the scene