# anatomy08/fly-magpie architecture

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

- Interactive diagram: https://gitdiagram.com/anatomy08/fly-magpie
- Repository: https://github.com/anatomy08/fly-magpie

## Overview

Fly Magpie is a Unity 3D flying game: the player applies thrust and rotation to navigate obstacle courses, collision and trigger events govern interactions and outcomes, and reaching a destination advances the level. The README also documents skip-level and God Mode developer controls. No gameplay source excerpts or game-specific scene paths were provided, so implementation paths are left null; relationships below reflect README statements only.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_flight["Flight Controls"]
  node_input["Input Controls"]
  node_movement["Physics Movement"]
end

subgraph group_gameplay["Course Gameplay"]
  node_obstacles["Obstacle Course"]
  node_collision["Collision Outcomes"]
  node_triggers["Trigger Zones"]
end

subgraph group_progression["Progression and Debug"]
  node_destination["Level Destination"]
  node_progression_logic["Level Progression"]
  node_skip["Skip Level"]
  node_godmode["God Mode"]
end

node_player(("Player"))
node_unity_physics["Unity Physics"]

node_player -->|"provides controls"| node_input
node_input -->|"sets thrust and rotation"| node_movement
node_movement -->|"uses Rigidbody"| node_unity_physics
node_movement -->|"navigates"| node_obstacles
node_obstacles -->|"produces contacts"| node_collision
node_collision -->|"handles interactions"| node_triggers
node_triggers -->|"detects arrival"| node_destination
node_destination -->|"completes level"| node_progression_logic
node_player -->|"uses developer control"| node_skip
node_player -->|"uses developer control"| node_godmode

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_input,node_movement toneBlue
class node_obstacles,node_collision,node_triggers toneAmber
class node_destination,node_progression_logic,node_skip,node_godmode toneMint
class node_player,node_unity_physics toneIndigo
```

## Components

### Flight Controls

- **Input Controls**
- **Physics Movement**

### Course Gameplay

- **Obstacle Course**
- **Collision Outcomes**
- **Trigger Zones**

### Progression and Debug

- **Level Destination**
- **Level Progression**
- **Skip Level**
- **God Mode**

### Other components

- **Player**
- **Unity Physics**

## Connections

- Player → Input Controls: provides controls (evidence: `README.md`)
- Input Controls → Physics Movement: sets thrust and rotation (evidence: `README.md`)
- Physics Movement → Unity Physics: uses Rigidbody (evidence: `README.md`)
- Physics Movement → Obstacle Course: navigates (evidence: `README.md`)
- Obstacle Course → Collision Outcomes: produces contacts (evidence: `README.md`)
- Collision Outcomes → Trigger Zones: handles interactions (evidence: `README.md`)
- Trigger Zones → Level Destination: detects arrival (evidence: `README.md`)
- Level Destination → Level Progression: completes level (evidence: `README.md`)
- Player → Skip Level: uses developer control (evidence: `README.md`)
- Player → God Mode: uses developer control (evidence: `README.md`)
