|Topic was automatically imported from the old Question2Answer platform.
I find this very strange as to everything works fine, except when I add a scene in AutoLoad. My _ready is only called twice when I put my TitleScreen scene in AutoLoad, and somehow when I change scene everything goes back to normal.
Why you put TitleScreen in AutoLoad?
If you want it to start at the beginning of the game, you should put it as the main scene, not as an autoload.
p7f | 2020-09-28 20:41
Are you sure you’re not instancing it twice? (Having it autoload and it being on your scene hierarchy, for example)
Lazarwolfe | 2020-09-28 21:20
1-I put it in autoload because after searching a lot in godot forums and other medias, it seens the only way to put a music that doesn’t reset between scenes. Even with my workaround the music doesn’t goes smoothly when switching scenes.
2-I don’t really get what instancing twice means. If you could make a different explanation it would be really helpful, thanks.
BGamers11 | 2020-09-28 22:59
Instancing- It’s a “copy” per say of your scene/script, by autoloading it and having your title screen you have two copies of your script running at the same time, don’t autoload the script, this could have so many errors.
Moldor2 | 2020-09-29 13:03