Scene Manager Plugin for Godot 4.3
SceneManager autoload has three methods called change_scene_to_file
, change_scene_to_packed
and reload_current_scene
like SceneTree methods. They do the same and have an optional argument properties
to pass initial properties for next scene. You also can use a loading screen when a file path is used. You can create a custom loading screen which must extend LoadingScreenBase
class. You can set loading screen in project settings.
Look test folder and wiki to see some examples. Simple use:
SceneManager.change_scene_to_file("your_tscn_file_path", {
my_next_scene_property = "A value",
}, 1.0, {
a_loading_screen_property = "Other value",
})
You can download this plugin from Godot Asset Library. Here you can find the last changes. You can use it, adding scene_manager
folder in your project addons folder and enabling this plugin. test
folder contains examples, you can remove it.
This plugin only has the plugin folder and "addons/scene_manager/loading_screen" project setting. You can delete both things.