Lots of little tweaks and fixes
This commit is contained in:
@@ -17,7 +17,7 @@ Never instantiate these — access only via the global handle.
|
||||
| `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.GAME_MENU` |
|
||||
| `UI` | Root UI accessor — `UI.PAUSE_MENU`, `UI.QUIT_DIALOG`, `UI.MAIN_MENU_DIALOG`, `UI.BACKDROP`, `UI.DEBUG_MENU`, `UI.GAME_MENU` |
|
||||
|
||||
## Scene Graph
|
||||
|
||||
@@ -25,7 +25,13 @@ 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, PauseMenu, GameMenu
|
||||
├─ DebugMenu
|
||||
├─ GameMenu
|
||||
├─ ChatBoxContainer (world-space dialogue textboxes)
|
||||
├─ ModalBackdrop (repositions dynamically — see ui.md)
|
||||
├─ PauseMenu
|
||||
├─ QuitConfirmDialog
|
||||
└─ MainMenuConfirmDialog
|
||||
```
|
||||
|
||||
`RootScene` listens to `SCENE.sceneChanged` and shows/hides the correct sub-tree.
|
||||
|
||||
Reference in New Issue
Block a user