Hi.
I am trying to do a top down game, but I have many scenes. So, I have in each scene this kind of code:
PackedScene r = (PackedScene)ResourceLoader.Load("res://Scenes/World/Hospital/Hospital_1st_Part_01.tscn");
Hospital_1st_Part_01 dp = r.Instance() as Hospital_1st_Part_01;
dp.isPosLobby = true; // <------------ Here I handle the position of the new scene.
currentScene.AddChild(dp);
The thing is, I need to set where the player will appear: In the X door or Y door. Thats why: dp.isPosLobby = true;
Why I am not using "ChangeScene()", because drops all my tree of scenes.
The thing I need the sceneManager is because I want the fade-in and fade-out in each scene.
I've tried to each scene, at _ready() run the fade animation but, first appears the scene then the animation runs.