Add some UI

This commit is contained in:
2026-06-11 20:42:08 -05:00
parent 456ea1e07e
commit f46f08c083
29 changed files with 678 additions and 88 deletions
+3 -2
View File
@@ -13,10 +13,11 @@ Never instantiate these — access only via the global handle.
| `OVERWORLD` | Map switching with threaded loading |
| `COOKING` | Cooking mini-game lifecycle |
| `SAVE` | Persistence (stub) |
| `SETTINGS` | Runtime settings — `invertCameraX:bool`, `invertCameraY:bool` |
| `QUEST` | Quest management (stub) |
| `CUTSCENE` | Cutscene global (stub) |
| `DialogueManager` | godot_dialogue_manager v3.10.4 — parses and steps through `.dialogue` files |
| `UI` | Root UI accessor — `UI.TEXTBOX`, `UI.DEBUG_MENU` |
| `UI` | Root UI accessor — `UI.TEXTBOX`, `UI.DEBUG_MENU`, `UI.GAME_MENU` |
## Scene Graph
@@ -24,7 +25,7 @@ Never instantiate these — access only via the global handle.
RootScene (Node3D)
└─ overworld / battle / cooking / initial ← one shown at a time
RootUI (Control, always visible)
└─ VNTextbox, DebugMenu
└─ VNTextbox, DebugMenu, PauseMenu, GameMenu
```
`RootScene` listens to `SCENE.sceneChanged` and shows/hides the correct sub-tree.