# nico400/taleofthelizards architecture

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

- Interactive diagram: https://gitdiagram.com/nico400/taleofthelizards
- Repository: https://github.com/nico400/taleofthelizards

## Overview

Tale of the Lizards is a local, two-player cooperative 3D platform-and-puzzle game. Players use separate keyboard/mouse and gamepad inputs to control Draco and Quirino; their distinct movement and tongue abilities combine with interactions to solve levels. The documented runtime also includes split-screen cameras, respawn, UI, audio, animation, and layered texture painting. The README describes these systems, but no source excerpts were provided, so the graph uses documented relationships only and omits unverified call details.

Main entry points: [`Assets/_Team`](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team) (Co-op Game), [`Assets/_Team/Scripts/PlayerScripts/ControllerPlayer/StateMachinePlayers`](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/PlayerScripts/ControllerPlayer/StateMachinePlayers) (Player Controllers), [`Assets/_Team/Scripts/InputScripts`](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/InputScripts) (InputReader), [`Assets/_Team/Scripts/PlayerScripts/AbilitysPlayer`](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/PlayerScripts/AbilitysPlayer) (Player Abilities)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_input["Input"]
  node_inputreader["InputReader"]
  node_inputbuffer["TimedInputBuffer"]
  node_inputactions["Input Actions"]
end

subgraph group_players["Player Control"]
  node_controllers["Player Controllers"]
  node_motors["Player Motors"]
  node_playerabilities["Player Abilities"]
  node_playeranimation["Player Animation"]
end

subgraph group_gameplay["Co-op Gameplay"]
  node_interactions["Interactions"]
  node_game["Co-op Game"]
end

subgraph group_presentation["Presentation"]
  node_cameras["Player Cameras"]
  node_ui["Game UI"]
  node_audio["Audio Service"]
end

subgraph group_support["Game Services"]
  node_respawn["Respawn System"]
  node_painting["Texture Painting"]
end

node_players(("Two Players"))

node_players -->|"provide input"| node_inputreader
node_inputreader -->|"uses actions"| node_inputactions
node_inputreader -->|"exposes events"| node_controllers
node_inputreader -->|"buffers input"| node_inputbuffer
node_controllers -->|"call movement"| node_motors
node_controllers -->|"enter ability states"| node_playerabilities
node_controllers -->|"use interactions"| node_interactions
node_controllers -->|"read animation"| node_playeranimation
node_playerabilities -->|"move characters"| node_motors
node_game -->|"provides split-screen"| node_cameras
node_game -->|"supports checkpoints"| node_respawn
node_game -->|"provides menus"| node_ui
node_game -->|"provides audio"| node_audio
node_game -->|"includes painting tool"| node_painting

click node_inputreader "https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/InputScripts"
click node_inputbuffer "https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/InputBuffer"
click node_controllers "https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/PlayerScripts/ControllerPlayer/StateMachinePlayers"
click node_motors "https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/PlayerScripts/ControllerPlayer/Motor"
click node_playerabilities "https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/PlayerScripts/AbilitysPlayer"
click node_playeranimation "https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/PlayerScripts/AnimationsPlayer"
click node_interactions "https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/Interactables"
click node_cameras "https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/Camera"
click node_respawn "https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/Respawn"
click node_ui "https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/UI"
click node_audio "https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/Audio"
click node_painting "https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/Painting"
click node_inputactions "https://github.com/nico400/taleofthelizards/blob/Develop/Assets/InputsActions/PlayersControlls.inputactions"
click node_game "https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team"

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_inputreader,node_inputbuffer,node_inputactions toneBlue
class node_controllers,node_motors,node_playerabilities,node_playeranimation toneAmber
class node_interactions,node_game toneMint
class node_cameras,node_ui,node_audio toneRose
class node_respawn,node_painting,node_players toneIndigo
```

## Components

### Input

- [InputReader](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/InputScripts): `Assets/_Team/Scripts/InputScripts`
- [TimedInputBuffer](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/InputBuffer): `Assets/_Team/Scripts/InputBuffer`
- [Input Actions](https://github.com/nico400/taleofthelizards/blob/Develop/Assets/InputsActions/PlayersControlls.inputactions): `Assets/InputsActions/PlayersControlls.inputactions`

### Player Control

- [Player Controllers](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/PlayerScripts/ControllerPlayer/StateMachinePlayers): `Assets/_Team/Scripts/PlayerScripts/ControllerPlayer/StateMachinePlayers`
- [Player Motors](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/PlayerScripts/ControllerPlayer/Motor): `Assets/_Team/Scripts/PlayerScripts/ControllerPlayer/Motor`
- [Player Abilities](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/PlayerScripts/AbilitysPlayer): `Assets/_Team/Scripts/PlayerScripts/AbilitysPlayer`
- [Player Animation](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/PlayerScripts/AnimationsPlayer): `Assets/_Team/Scripts/PlayerScripts/AnimationsPlayer`

### Co-op Gameplay

- [Interactions](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/Interactables): `Assets/_Team/Scripts/Interactables`
- [Co-op Game](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team): `Assets/_Team`

### Presentation

- [Player Cameras](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/Camera): `Assets/_Team/Scripts/Camera`
- [Game UI](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/UI): `Assets/_Team/Scripts/UI`
- [Audio Service](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/Audio): `Assets/_Team/Scripts/Audio`

### Game Services

- [Respawn System](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/Respawn): `Assets/_Team/Scripts/Respawn`
- [Texture Painting](https://github.com/nico400/taleofthelizards/tree/Develop/Assets/_Team/Scripts/Painting): `Assets/_Team/Scripts/Painting`

### Other components

- **Two Players**

## Connections

- Two Players → InputReader: provide input (evidence: `README.md`)
- InputReader → Input Actions: uses actions (evidence: `README.md`)
- InputReader → Player Controllers: exposes events (evidence: `README.md`)
- InputReader → TimedInputBuffer: buffers input (evidence: `README.md`)
- Player Controllers → Player Motors: call movement (evidence: `README.md`)
- Player Controllers → Player Abilities: enter ability states (evidence: `README.md`)
- Player Controllers → Interactions: use interactions (evidence: `README.md`)
- Player Controllers → Player Animation: read animation (evidence: `README.md`)
- Player Abilities → Player Motors: move characters (evidence: `README.md`)
- Co-op Game → Player Cameras: provides split-screen (evidence: `README.md`)
- Co-op Game → Respawn System: supports checkpoints (evidence: `README.md`)
- Co-op Game → Game UI: provides menus (evidence: `README.md`)
- Co-op Game → Audio Service: provides audio (evidence: `README.md`)
- Co-op Game → Texture Painting: includes painting tool (evidence: `README.md`)
