I’m using switching between scenes in my game, kind of like in Pokémon when you start a battle, and I used this method to swap over to the fight scene so that my main game scene doesn’t get reset like it would if I used the change_to_scene method. I made the fight scene work when the game is paused so that I can pause the main game and just run the fight scene.
The problem with this is that the camera I put on my player node is being used by the fight_scene so it doesn’t show it properly. Is there any way to swap over to a camera node I put in the fight_scene?
Controls whether the camera can be active or not. If true, the Camera2D will become the main camera when it enters the scene tree and there is no active camera currently (see Viewport.get_camera_2d).
When the camera is currently active and enabled is set to false, the next enabled Camera2D in the scene tree will become active.