Godot Version
v4.4.1.stable.official [49a5bc7b6]
Question
I am very, very new to using Godot, and in my game, I have chosen to use a Subviewport to separate my game’s UI nodes and gameplay scenes to keep resolutions looking nice. My issue is that I don’t know how to access and change the gameplay scene between levels from within the main scene tree. I can’t just use get_tree().change_scene_to_file() since that would change the entire main scene to just the level without the UI or correct resolution scaling.
If it helps, my main scene tree looks like this:
- main
CanvasLayerSubViewportContainer