# pakubk/cyber_flight architecture

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

- Interactive diagram: https://gitdiagram.com/pakubk/cyber_flight
- Repository: https://github.com/pakubk/cyber_flight

## Overview

Cyber Flight is a Unity 2D top-down spaceship action game. Its documented player workflow is piloting a ship, using weapons and special abilities, and fighting enemies that use varied attack patterns; graphics and sound provide presentation. The tree contains content assets but no gameplay source or scene files, so the graph identifies documented capability areas and asset locations without inferring code-level calls or asset wiring.

Main entry points: [`Assets`](https://github.com/pakubk/cyber_flight/tree/main/Assets) (Cyber Flight), [`Assets/Resources/PlayerAttacks`](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/PlayerAttacks) (Player Weapons), [`Assets/Resources/PlayerSpecials`](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/PlayerSpecials) (Special Abilities), [`Assets/Resources/PlayerShields`](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/PlayerShields) (Player Shields)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_gameplay["Gameplay"]
  node_game["Cyber Flight"]
  node_weapons["Player Weapons"]
  node_specials["Special Abilities"]
  node_shields["Player Shields"]
  node_enemies["Enemy Content"]
  node_enemy_attacks["Enemy Attack Patterns"]
end

subgraph group_content["Game Content"]
  node_ships["Ship Content"]
  node_ship_tables["Ship Tables"]
  node_weapon_tables["Weapon Tables"]
  node_special_tables["Special Tables"]
  node_shield_tables["Shield Tables"]
end

subgraph group_presentation["Presentation"]
  node_animations["Shield Animations"]
  node_textures["Game Textures"]
  node_audio["Weapon Audio"]
  node_mixer["Audio Mixer<br/>[MasterMixer.mixer]"]
  node_rendering["Render Configuration"]
end

node_player(("Player"))

node_player -->|"controls"| node_game
node_game -->|"pilots"| node_ships
node_game -->|"attacks with"| node_weapons
node_game -->|"uses"| node_specials
node_game -->|"defends with"| node_shields
node_game -->|"fights"| node_enemies
node_enemies -->|"attack patterns"| node_enemy_attacks
node_ships -.->|"catalogued by"| node_ship_tables
node_weapons -.->|"catalogued by"| node_weapon_tables
node_specials -.->|"catalogued by"| node_special_tables
node_shields -.->|"catalogued by"| node_shield_tables
node_game -->|"presents"| node_animations
node_game -->|"renders with"| node_textures
node_game -->|"plays"| node_audio
node_game -->|"audio output"| node_mixer
node_game -->|"renders through"| node_rendering

click node_game "https://github.com/pakubk/cyber_flight/tree/main/Assets"
click node_ships "https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/PlayerShips"
click node_ship_tables "https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Data_CSV/PlayerShips"
click node_weapons "https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/PlayerAttacks"
click node_weapon_tables "https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Data_CSV/PlayerWeapons"
click node_specials "https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/PlayerSpecials"
click node_special_tables "https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Data_CSV/PlayerSpecials"
click node_shields "https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/PlayerShields"
click node_shield_tables "https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Data_CSV/PlayerShields"
click node_enemies "https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Enemys"
click node_enemy_attacks "https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/EnemyAttacks"
click node_animations "https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Animations/Player/Shields"
click node_textures "https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Textures"
click node_audio "https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Sci-Fi%20Gun%20Sounds"
click node_mixer "https://github.com/pakubk/cyber_flight/blob/main/Assets/MasterMixer.mixer"
click node_rendering "https://github.com/pakubk/cyber_flight/tree/main/Assets/URP"

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_game,node_weapons,node_specials,node_shields,node_enemies,node_enemy_attacks toneBlue
class node_ships,node_ship_tables,node_weapon_tables,node_special_tables,node_shield_tables toneAmber
class node_animations,node_textures,node_audio,node_mixer,node_rendering toneMint
class node_player toneIndigo
```

## Components

### Gameplay

- [Cyber Flight](https://github.com/pakubk/cyber_flight/tree/main/Assets): `Assets`
- [Player Weapons](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/PlayerAttacks): `Assets/Resources/PlayerAttacks`
- [Special Abilities](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/PlayerSpecials): `Assets/Resources/PlayerSpecials`
- [Player Shields](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/PlayerShields): `Assets/Resources/PlayerShields`
- [Enemy Content](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Enemys): `Assets/Resources/Enemys`
- [Enemy Attack Patterns](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/EnemyAttacks): `Assets/Resources/EnemyAttacks`

### Game Content

- [Ship Content](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/PlayerShips): `Assets/Resources/PlayerShips`
- [Ship Tables](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Data_CSV/PlayerShips): `Assets/Resources/Data_CSV/PlayerShips`
- [Weapon Tables](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Data_CSV/PlayerWeapons): `Assets/Resources/Data_CSV/PlayerWeapons`
- [Special Tables](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Data_CSV/PlayerSpecials): `Assets/Resources/Data_CSV/PlayerSpecials`
- [Shield Tables](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Data_CSV/PlayerShields): `Assets/Resources/Data_CSV/PlayerShields`

### Presentation

- [Shield Animations](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Animations/Player/Shields): `Assets/Resources/Animations/Player/Shields`
- [Game Textures](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Textures): `Assets/Resources/Textures`
- [Weapon Audio](https://github.com/pakubk/cyber_flight/tree/main/Assets/Resources/Sci-Fi%20Gun%20Sounds): `Assets/Resources/Sci-Fi Gun Sounds`
- [Audio Mixer](https://github.com/pakubk/cyber_flight/blob/main/Assets/MasterMixer.mixer): `Assets/MasterMixer.mixer`
- [Render Configuration](https://github.com/pakubk/cyber_flight/tree/main/Assets/URP): `Assets/URP`

### Other components

- **Player**

## Connections

- Player → Cyber Flight: controls
- Cyber Flight → Ship Content: pilots
- Cyber Flight → Player Weapons: attacks with
- Cyber Flight → Special Abilities: uses
- Cyber Flight → Player Shields: defends with
- Cyber Flight → Enemy Content: fights
- Enemy Content → Enemy Attack Patterns: attack patterns
- Ship Content → Ship Tables: catalogued by
- Player Weapons → Weapon Tables: catalogued by
- Special Abilities → Special Tables: catalogued by
- Player Shields → Shield Tables: catalogued by
- Cyber Flight → Shield Animations: presents
- Cyber Flight → Game Textures: renders with
- Cyber Flight → Weapon Audio: plays
- Cyber Flight → Audio Mixer: audio output
- Cyber Flight → Render Configuration: renders through
