# team-cotn/creatures-of-the-night architecture

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

- Interactive diagram: https://gitdiagram.com/team-cotn/creatures-of-the-night
- Repository: https://github.com/team-cotn/creatures-of-the-night
- Video tour (about a minute): https://gitdiagram.com/team-cotn/creatures-of-the-night/video

## Overview

This Unity project appears to be a 2D action-platformer: the visible runtime includes player movement and jumping, while the asset tree indicates enemies, projectiles, collectibles, camera zones, scene transitions, cutscenes, and audio. The sampled PlayerController excerpt shows input gathering and movement-related behavior, but the README provides no feature description and most scripts were not sampled. Accordingly, the graph preserves the major systems indicated by filenames without asserting unsupported links between them.

Main entry points: [`PlayerController.cs`](https://github.com/team-cotn/creatures-of-the-night/blob/main/PlayerController.cs) (Player Controller)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_player["Player and Input"]
  node_player_input["Player Input<br/>[InputManager.cs]"]
  node_player_controller["Player Controller"]
  node_player_character["Character Systems<br/>[Character.cs]"]
  node_eye["Eye Controller<br/>[EyeController.cs]"]
end

subgraph group_world["World Interactions"]
  node_collectibles["Collectibles<br/>[Collectable.cs]"]
  node_enemy["Enemy Systems<br/>[BasicEnemy.cs]"]
  node_projectiles["Projectile Systems"]
  node_parry["Parry Interactions"]
end

subgraph group_flow["Camera and Scenes"]
  node_camera["Camera Zones<br/>[CameraManager.cs]"]
  node_scene_transition["Scene Transitions"]
  node_cutscenes["Cutscenes<br/>[CutsceneManager.cs]"]
  node_main_menu["Main Menu<br/>[MainMenuManager.cs]"]
end

subgraph group_presentation["Presentation and Audio"]
  node_audio["Audio Management<br/>[SFXManager.cs]"]
end

subgraph group_runtime["Game Runtime"]
  node_save_load["Save and Load<br/>[SimpleSaveLoad.cs]"]
  node_bootstrap["Bootstrap<br/>[Bootstrapper.cs]"]
end

node_input_actor(("Player"))

node_input_actor -->|"provides input"| node_player_controller

click node_player_input "https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/Input/InputManager.cs"
click node_player_controller "https://github.com/team-cotn/creatures-of-the-night/blob/main/PlayerController.cs"
click node_player_character "https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/Character/Character.cs"
click node_eye "https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/Player/Eye/EyeController.cs"
click node_collectibles "https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/CharacterInteractions/Collectables/Collectable.cs"
click node_enemy "https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/Enemies/BasicEnemy.cs"
click node_projectiles "https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/CharacterInteractions/Projectiles/FunctionalProjectiles.cs"
click node_camera "https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/Camera/CameraManager.cs"
click node_scene_transition "https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/Scene/SceneTransitionManager.cs"
click node_cutscenes "https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/CutsceneManager.cs"
click node_main_menu "https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/MainMenuManager.cs"
click node_audio "https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/SFXManager.cs"
click node_save_load "https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/SimpleSaveLoad.cs"
click node_bootstrap "https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/Bootstrapper.cs"

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_input,node_player_controller,node_player_character,node_eye toneBlue
class node_collectibles,node_enemy,node_projectiles,node_parry toneAmber
class node_camera,node_scene_transition,node_cutscenes,node_main_menu toneMint
class node_audio toneRose
class node_save_load,node_bootstrap,node_input_actor toneIndigo
```

## Components

### Player and Input

- [Player Input](https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/Input/InputManager.cs): `Assets/Scripts/Input/InputManager.cs`
- [Player Controller](https://github.com/team-cotn/creatures-of-the-night/blob/main/PlayerController.cs): `PlayerController.cs`
- [Character Systems](https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/Character/Character.cs): `Assets/Scripts/Character/Character.cs`
- [Eye Controller](https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/Player/Eye/EyeController.cs): `Assets/Scripts/Player/Eye/EyeController.cs`

### World Interactions

- [Collectibles](https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/CharacterInteractions/Collectables/Collectable.cs): `Assets/Scripts/CharacterInteractions/Collectables/Collectable.cs`
- [Enemy Systems](https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/Enemies/BasicEnemy.cs): `Assets/Scripts/Enemies/BasicEnemy.cs`
- [Projectile Systems](https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/CharacterInteractions/Projectiles/FunctionalProjectiles.cs): `Assets/Scripts/CharacterInteractions/Projectiles/FunctionalProjectiles.cs`
- **Parry Interactions**

### Camera and Scenes

- [Camera Zones](https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/Camera/CameraManager.cs): `Assets/Scripts/Camera/CameraManager.cs`
- [Scene Transitions](https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/Scene/SceneTransitionManager.cs): `Assets/Scripts/Scene/SceneTransitionManager.cs`
- [Cutscenes](https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/CutsceneManager.cs): `Assets/Scripts/CutsceneManager.cs`
- [Main Menu](https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/MainMenuManager.cs): `Assets/Scripts/MainMenuManager.cs`

### Presentation and Audio

- [Audio Management](https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/SFXManager.cs): `Assets/Scripts/SFXManager.cs`

### Game Runtime

- [Save and Load](https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/SimpleSaveLoad.cs): `Assets/Scripts/SimpleSaveLoad.cs`
- [Bootstrap](https://github.com/team-cotn/creatures-of-the-night/blob/main/Assets/Scripts/Bootstrapper.cs): `Assets/Scripts/Bootstrapper.cs`

### Other components

- **Player**

## Connections

- Player → Player Controller: provides input (evidence: `PlayerController.cs`)
