scene stuff

This commit is contained in:
2025-05-05 19:27:19 -05:00
parent 7106469bd1
commit 43487bb448
11 changed files with 110 additions and 8 deletions

View File

@@ -3,13 +3,14 @@ const MainMenu = preload("res://scenes/MainMenu.tscn");
const OverworldScene = preload("res://scenes/Meta/Overworld.tscn");
enum DawnScene {
INITIAL,
MAIN_MENU,
OVERWORLD,
BATTLE,
COOKING
};
var scene:DawnScene = DawnScene.OVERWORLD;
var scene:DawnScene = DawnScene.INITIAL;
func getMainMenuScene():
return get_tree().current_scene.get_node("MainMenu");