Skip to content
André Yuhji Terada edited this page May 9, 2026 · 2 revisions

SceneManager Autoload

The SceneManager is an Autoload used to manage data persistence and flow between scenes. It provides methods for smooth scene transitions and accessing player save data.


Scene Transition Methods

goto_scene(path: String)

Animates a transition from the current scene to the new scene specified by the path.

goto_scene_and_call(path: String, method_name: String, parameters: Array)

Transitions to a new scene and immediately executes a specific method on the newly instantiated scene once it is ready.


Settings & Filters

get_minigame_settings() -> Array

Returns a list of the currently selected minigame packs.

set_minigame_settings(settings: Array)

Updates the list of active minigame packs.

get_filter_settings() -> Array

Returns a list of the currently active difficulty or category filters.

set_filter_settings(filters: Array)

Updates the active filters used for minigame selection.


Progression & Stats

check_minigame(path: String) -> bool

Checks if the specified minigame has been played during the current session or save state.

register_minigame(path: String)

Marks the specified minigame as "played."

get_highscore() -> int

Retrieves the current high score from the save data.

set_highscore(score: int)

Updates the save data with a new high score.