0 votes

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

in Engine by (232 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.

by (202 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.
Social login is currently unavailable. If you've previously logged in with a Facebook or GitHub account, use the I forgot my password link in the login box to set a password for your account. If you still can't access your account, send an email to webmaster@godotengine.org with your username.