# glitchiith/glitchmilan25 architecture

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

- Interactive diagram: https://gitdiagram.com/glitchiith/glitchmilan25
- Repository: https://github.com/glitchiith/glitchmilan25

## Overview

The tree indicates a Unity game project with two asset/script collections: a runner-style game under Assets/Alfien and a separate 2D scene with player, teleporter, and dialogue components under Assets/Ayushman&Devadath. The likely user workflow is to start a game, control a player through a world, and encounter obstacles or interactions; the runner also has map, UI, and audio components. The README and source excerpts provide no behavioral details, so inferred runtime relationships are dashed and unverified.

Main entry points: [`Assets/Alfien/Scripts/GM_AllHailSashim.cs`](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_AllHailSashim.cs) (Game Manager), [`Assets/Ayushman&Devadath/Player/Scripts/Player_Controller.cs`](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Ayushman%26Devadath/Player/Scripts/Player_Controller.cs) (Player Controller), [`Assets/Alfien/Scripts/GM_PlayerBehaviour.cs`](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_PlayerBehaviour.cs) (Player Behaviour), [`Assets/Alfien/Scripts/GM_MapGeneration.cs`](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_MapGeneration.cs) (Map Generation)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runner_control["Runner Control"]
  node_player["Player Behaviour"]
  node_movement["Player Movement"]
  node_animation["Player Animation"]
  node_game_manager["Game Manager"]
  node_runner_scene["Runner Scene<br/>[GM_Scene1.unity]"]
end

subgraph group_runner_world["Runner World"]
  node_map_generation["Map Generation"]
  node_space_map["Space Maps<br/>[GM_SpaceMap.cs]"]
  node_obstacles["Obstacle Logic<br/>[GM_Obstacle.cs]"]
  node_asteroids["Asteroid Movement"]
  node_background["Background<br/>[GM_BackGround.cs]"]
  node_camera["Camera<br/>[GM_Camera.cs]"]
  node_runner_maps["Map Prefabs"]
  node_runner_obstacles["Obstacle Prefabs"]
end

subgraph group_runner_ui_audio["Runner UI Audio"]
  node_ui_manager["UI Manager<br/>[GM_UIManager.cs]"]
  node_audio_manager["Audio Manager<br/>[GM_AudioManager.cs]"]
  node_runner_ui["UI Prefabs"]
end

subgraph group_other_game["2D Scene"]
  node_other_player["Player Controller"]
  node_teleporter["Teleporter<br/>[Teleporter.cs]"]
  node_dialogue["Trigger Dialogue"]
  node_other_scene["Sample Scene<br/>[SampleScene.unity]"]
end

node_runner_user(("Player"))
node_other_user(("Player"))

node_runner_user -.->|"starts"| node_runner_scene
node_runner_scene -.->|"hosts"| node_game_manager
node_runner_user -.->|"controls"| node_player
node_player -.->|"uses"| node_movement
node_player -.->|"uses"| node_animation
node_game_manager -.->|"dispatches"| node_map_generation
node_map_generation -.->|"uses"| node_runner_maps
node_map_generation -.->|"uses"| node_runner_obstacles
node_space_map -.->|"uses"| node_runner_maps
node_asteroids -.->|"moves"| node_runner_obstacles
node_game_manager -.->|"updates"| node_ui_manager
node_ui_manager -.->|"controls"| node_runner_ui
node_game_manager -.->|"dispatches"| node_audio_manager
node_runner_user -.->|"starts"| node_other_scene
node_other_scene -.->|"hosts"| node_other_player
node_other_user -.->|"controls"| node_other_player
node_other_player -.->|"encounters"| node_teleporter
node_other_player -.->|"triggers"| node_dialogue

click node_player "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_PlayerBehaviour.cs"
click node_movement "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_PlayerMovement.cs"
click node_animation "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_PlayerAnimation.cs"
click node_game_manager "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_AllHailSashim.cs"
click node_map_generation "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_MapGeneration.cs"
click node_space_map "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_SpaceMap.cs"
click node_obstacles "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_Obstacle.cs"
click node_asteroids "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_AsteroidMovement.cs"
click node_background "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_BackGround.cs"
click node_camera "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_Camera.cs"
click node_ui_manager "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_UIManager.cs"
click node_audio_manager "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_AudioManager.cs"
click node_runner_scene "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scenes/GM_Scene1.unity"
click node_runner_maps "https://github.com/glitchiith/glitchmilan25/tree/main/Assets/Alfien/Prefabs/Maps"
click node_runner_obstacles "https://github.com/glitchiith/glitchmilan25/tree/main/Assets/Alfien/Prefabs/Obstacle"
click node_runner_ui "https://github.com/glitchiith/glitchmilan25/tree/main/Assets/Alfien/Prefabs/UI"
click node_other_player "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Ayushman%26Devadath/Player/Scripts/Player_Controller.cs"
click node_teleporter "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Ayushman%26Devadath/Scripts/Teleporter.cs"
click node_dialogue "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Ayushman%26Devadath/Scripts/dialogue_box_from_trigger.cs"
click node_other_scene "https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Ayushman%26Devadath/Scenes/SampleScene.unity"

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_player,node_movement,node_animation,node_game_manager,node_runner_scene toneBlue
class node_map_generation,node_space_map,node_obstacles,node_asteroids,node_background,node_camera,node_runner_maps,node_runner_obstacles toneAmber
class node_ui_manager,node_audio_manager,node_runner_ui toneMint
class node_other_player,node_teleporter,node_dialogue,node_other_scene toneRose
class node_runner_user,node_other_user toneIndigo
```

## Components

### Runner Control

- [Player Behaviour](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_PlayerBehaviour.cs): `Assets/Alfien/Scripts/GM_PlayerBehaviour.cs`
- [Player Movement](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_PlayerMovement.cs): `Assets/Alfien/Scripts/GM_PlayerMovement.cs`
- [Player Animation](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_PlayerAnimation.cs): `Assets/Alfien/Scripts/GM_PlayerAnimation.cs`
- [Game Manager](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_AllHailSashim.cs): `Assets/Alfien/Scripts/GM_AllHailSashim.cs`
- [Runner Scene](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scenes/GM_Scene1.unity): `Assets/Alfien/Scenes/GM_Scene1.unity`

### Runner World

- [Map Generation](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_MapGeneration.cs): `Assets/Alfien/Scripts/GM_MapGeneration.cs`
- [Space Maps](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_SpaceMap.cs): `Assets/Alfien/Scripts/GM_SpaceMap.cs`
- [Obstacle Logic](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_Obstacle.cs): `Assets/Alfien/Scripts/GM_Obstacle.cs`
- [Asteroid Movement](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_AsteroidMovement.cs): `Assets/Alfien/Scripts/GM_AsteroidMovement.cs`
- [Background](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_BackGround.cs): `Assets/Alfien/Scripts/GM_BackGround.cs`
- [Camera](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_Camera.cs): `Assets/Alfien/Scripts/GM_Camera.cs`
- [Map Prefabs](https://github.com/glitchiith/glitchmilan25/tree/main/Assets/Alfien/Prefabs/Maps): `Assets/Alfien/Prefabs/Maps`
- [Obstacle Prefabs](https://github.com/glitchiith/glitchmilan25/tree/main/Assets/Alfien/Prefabs/Obstacle): `Assets/Alfien/Prefabs/Obstacle`

### Runner UI Audio

- [UI Manager](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_UIManager.cs): `Assets/Alfien/Scripts/GM_UIManager.cs`
- [Audio Manager](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Alfien/Scripts/GM_AudioManager.cs): `Assets/Alfien/Scripts/GM_AudioManager.cs`
- [UI Prefabs](https://github.com/glitchiith/glitchmilan25/tree/main/Assets/Alfien/Prefabs/UI): `Assets/Alfien/Prefabs/UI`

### 2D Scene

- [Player Controller](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Ayushman%26Devadath/Player/Scripts/Player_Controller.cs): `Assets/Ayushman&Devadath/Player/Scripts/Player_Controller.cs`
- [Teleporter](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Ayushman%26Devadath/Scripts/Teleporter.cs): `Assets/Ayushman&Devadath/Scripts/Teleporter.cs`
- [Trigger Dialogue](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Ayushman%26Devadath/Scripts/dialogue_box_from_trigger.cs): `Assets/Ayushman&Devadath/Scripts/dialogue_box_from_trigger.cs`
- [Sample Scene](https://github.com/glitchiith/glitchmilan25/blob/main/Assets/Ayushman%26Devadath/Scenes/SampleScene.unity): `Assets/Ayushman&Devadath/Scenes/SampleScene.unity`

### Other components

- **Player**
- **Player**

## Connections

- Player → Runner Scene: starts
- Runner Scene → Game Manager: hosts
- Player → Player Behaviour: controls
- Player Behaviour → Player Movement: uses
- Player Behaviour → Player Animation: uses
- Game Manager → Map Generation: dispatches
- Map Generation → Map Prefabs: uses
- Map Generation → Obstacle Prefabs: uses
- Space Maps → Map Prefabs: uses
- Asteroid Movement → Obstacle Prefabs: moves
- Game Manager → UI Manager: updates
- UI Manager → UI Prefabs: controls
- Game Manager → Audio Manager: dispatches
- Player → Sample Scene: starts
- Sample Scene → Player Controller: hosts
- Player → Player Controller: controls
- Player Controller → Teleporter: encounters
- Player Controller → Trigger Dialogue: triggers
