0 votes

I wanna have Music in every scene. That means when I switch scene that the music keeps on playing.
How do I do that?

asked Jun 19, 2019 in Engine by Schweini (234 points)

1 Answer

+1 vote

Autoload Singleton - from Godot API 3.1
Are always loaded, no matter which scene is currently running
Can handle switching scenes and between-scene transitions

You could make a Persistent node. You can do that by having an Autoload Singleton.

They work exactly like any node, however it's always loaded into memory, which in your case is exactly what you want.

answered Jun 19, 2019 by Dooowy. (214 points)
Welcome to Godot Engine Q&A, where you can ask questions and receive answers from other members of the community.

Please make sure to read How to use this Q&A? before posting your first questions.