# adam-mahmoud12/godot-horror-game-gd architecture

> Architecture diagram of the GitHub repository adam-mahmoud12/godot-horror-game-gd, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-11). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/adam-mahmoud12/godot-horror-game-gd
- Repository: https://github.com/adam-mahmoud12/godot-horror-game-gd

## Overview

This appears to be a Godot game project, with scenes and scripts for menus, levels, character gameplay, interactions, items, and saving/loading. The file tree suggests a player-facing workflow from menus into gameplay, but there is no README or source excerpt to verify runtime entry points, feature behavior, or component relationships. The graph therefore identifies the visible product areas without asserting unsupported connections; paths point to files present in the tree.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_g_menus["Menus and Loading"]
  node_main_menu["Main Menu<br/>[MainMenu.gd]"]
  node_load_menu["Load Menu<br/>[load_menu.gd]"]
  node_loading_screen["Loading Screen<br/>[LoadingScreen.gd]"]
  node_pause_menu["Pause Menu<br/>[PauseMenu.gd]"]
  node_ui_manager["UI Manager<br/>[UIManager.gd]"]
end

subgraph group_g_world["World and Levels"]
  node_level_base["Level Base<br/>[LevelBase.gd]"]
  node_test_level["Test Level<br/>[TestLevel.tscn]"]
  node_wake_level["Wake-Up Level"]
  node_hallway_level["Hallway Level"]
end

subgraph group_g_gameplay["Player Gameplay"]
  node_character["Character<br/>[Character.gd]"]
  node_wake_level_logic["Wake-Up Logic<br/>[LevelOneWakeUp.gd]"]
  node_enemy["Enemy<br/>[Enemy.gd]"]
end

subgraph group_g_interactions["Interactions and Items"]
  node_door["Door<br/>[Door.gd]"]
  node_load_interactable["Level Interactable"]
  node_generic_event["Generic Event<br/>[E_GenericEvent.gd]"]
  node_grabbable_object["Grabbable Object<br/>[GrabbableObject.gd]"]
  node_surface_objects["Surface Objects<br/>[SurfaceObject.gd]"]
  node_crafting_menu["Crafting Menu<br/>[CraftingMenu.gd]"]
  node_inventory_system["Inventory System"]
end

subgraph group_g_state["Game State"]
  node_game_manager["Game Manager<br/>[GameManager.gd]"]
  node_save_load_manager["Save Load Manager<br/>[SaveLoadManager.gd]"]
end

click node_main_menu "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/MainMenu.gd"
click node_load_menu "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/load_menu.gd"
click node_loading_screen "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/LoadingScreen.gd"
click node_pause_menu "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/PauseMenu.gd"
click node_ui_manager "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/UIManager.gd"
click node_level_base "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/LevelBase.gd"
click node_test_level "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Levels/TestLevel.tscn"
click node_wake_level "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scenes/Level%20One%20WakeUp.tscn"
click node_hallway_level "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scenes/LevelTwoHallway.tscn"
click node_character "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scripts/Character.gd"
click node_wake_level_logic "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scripts/LevelOneWakeUp.gd"
click node_enemy "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scripts/Enemy.gd"
click node_door "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scenes/Door.gd"
click node_load_interactable "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scenes/LoadLevelInteractable.gd"
click node_generic_event "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scripts/E_GenericEvent.gd"
click node_grabbable_object "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scripts/GrabbableObject.gd"
click node_surface_objects "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scripts/SurfaceObject.gd"
click node_crafting_menu "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/CraftingMenu.gd"
click node_inventory_system "https://github.com/adam-mahmoud12/godot-horror-game-gd/tree/master/addons/FPCGI/InventorySystem"
click node_game_manager "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/GameManager.gd"
click node_save_load_manager "https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/SaveLoadManager.gd"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_main_menu,node_load_menu,node_loading_screen,node_pause_menu,node_ui_manager toneBlue
class node_level_base,node_test_level,node_wake_level,node_hallway_level toneAmber
class node_character,node_wake_level_logic,node_enemy toneMint
class node_door,node_load_interactable,node_generic_event,node_grabbable_object,node_surface_objects,node_crafting_menu,node_inventory_system toneRose
class node_game_manager,node_save_load_manager toneIndigo
```

## Components

### Menus and Loading

- [Main Menu](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/MainMenu.gd): `MainMenu.gd`
- [Load Menu](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/load_menu.gd): `load_menu.gd`
- [Loading Screen](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/LoadingScreen.gd): `LoadingScreen.gd`
- [Pause Menu](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/PauseMenu.gd): `PauseMenu.gd`
- [UI Manager](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/UIManager.gd): `UIManager.gd`

### World and Levels

- [Level Base](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/LevelBase.gd): `LevelBase.gd`
- [Test Level](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Levels/TestLevel.tscn): `Levels/TestLevel.tscn`
- [Wake-Up Level](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scenes/Level%20One%20WakeUp.tscn): `Scenes/Level One WakeUp.tscn`
- [Hallway Level](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scenes/LevelTwoHallway.tscn): `Scenes/LevelTwoHallway.tscn`

### Player Gameplay

- [Character](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scripts/Character.gd): `Scripts/Character.gd`
- [Wake-Up Logic](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scripts/LevelOneWakeUp.gd): `Scripts/LevelOneWakeUp.gd`
- [Enemy](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scripts/Enemy.gd): `Scripts/Enemy.gd`

### Interactions and Items

- [Door](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scenes/Door.gd): `Scenes/Door.gd`
- [Level Interactable](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scenes/LoadLevelInteractable.gd): `Scenes/LoadLevelInteractable.gd`
- [Generic Event](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scripts/E_GenericEvent.gd): `Scripts/E_GenericEvent.gd`
- [Grabbable Object](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scripts/GrabbableObject.gd): `Scripts/GrabbableObject.gd`
- [Surface Objects](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/Scripts/SurfaceObject.gd): `Scripts/SurfaceObject.gd`
- [Crafting Menu](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/CraftingMenu.gd): `CraftingMenu.gd`
- [Inventory System](https://github.com/adam-mahmoud12/godot-horror-game-gd/tree/master/addons/FPCGI/InventorySystem): `addons/FPCGI/InventorySystem`

### Game State

- [Game Manager](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/GameManager.gd): `GameManager.gd`
- [Save Load Manager](https://github.com/adam-mahmoud12/godot-horror-game-gd/blob/master/SaveLoadManager.gd): `SaveLoadManager.gd`
