# angelgab006/juego-genetic-dash architecture

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

- Interactive diagram: https://gitdiagram.com/angelgab006/juego-genetic-dash
- Repository: https://github.com/angelgab006/juego-genetic-dash

## Overview

Genetic Dash is a Geometry Dash-style platform game: the player runs through three levels, avoiding lethal hazards and using jump aids and portals that switch movement modes. The tree shows game, player, level, UI, audio, and AI-related resources, but no source excerpts were provided, so implementation ownership and most runtime connections cannot be verified. The edges below reflect only relationships explicitly stated in the README.

Main entry points: [`objects/obj_player/Step_0.gml`](https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_player/Step_0.gml) (Player), [`rooms/rm_level_1/rm_level_1.yy`](https://github.com/angelgab006/juego-genetic-dash/blob/main/rooms/rm_level_1/rm_level_1.yy) (Three Levels), [`objects/obj_spike/obj_spike.yy`](https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_spike/obj_spike.yy) (Spike Hazards), [`objects/obj_block/obj_block.yy`](https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_block/obj_block.yy) (Solid Blocks)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_gameplay["Gameplay"]
  node_game["Game Runtime<br/>[Step_0.gml]"]
  node_spikes["Spike Hazards<br/>[obj_spike.yy]"]
  node_solid["Solid Blocks<br/>[obj_block.yy]"]
  node_ai["AI Model<br/>[scr_ai.gml]"]
end

subgraph group_movement["Movement"]
  node_player["Player<br/>[Step_0.gml]"]
  node_spring["Jump Pad<br/>[obj_pad.yy]"]
  node_orb["Double-Jump Orb<br/>[obj_orb.yy]"]
  node_shipportal["Ship Portal<br/>[obj_portal_ship.yy]"]
  node_normalportal["Normal Portal"]
  node_cubephysics["Cube Movement"]
  node_shipphysics["Ship Movement"]
end

subgraph group_content["Level Content"]
  node_levels["Three Levels<br/>[rm_level_1.yy]"]
  node_leveldata["Level Data<br/>[level_1.txt]"]
end

subgraph group_presentation["Presentation"]
  node_ui["Game UI<br/>[src_ui.gml]"]
  node_audio["Game Audio<br/>[scr_audio.gml]"]
end

node_spikes -->|"kills on collision"| node_player
node_solid -->|"kills on collision"| node_player
node_spring -->|"boosts vertically"| node_player
node_orb -->|"grants double jump"| node_player
node_shipportal -->|"activates ship mode"| node_player
node_normalportal -->|"restores normal mode"| node_player
node_levels -->|"demonstrates hazards"| node_spikes
node_levels -->|"demonstrates blocks"| node_solid
node_levels -->|"demonstrates jump pad"| node_spring
node_levels -->|"demonstrates orb"| node_orb
node_levels -->|"demonstrates ship mode"| node_shipportal
node_ai -.->|"planned addition"| node_game

click node_player "https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_player/Step_0.gml"
click node_game "https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_game/Step_0.gml"
click node_spikes "https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_spike/obj_spike.yy"
click node_solid "https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_block/obj_block.yy"
click node_spring "https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_pad/obj_pad.yy"
click node_orb "https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_orb/obj_orb.yy"
click node_shipportal "https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_portal_ship/obj_portal_ship.yy"
click node_normalportal "https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_portal_normal/obj_portal_normal.yy"
click node_cubephysics "https://github.com/angelgab006/juego-genetic-dash/blob/main/scripts/scr_player_cube/scr_player_cube.gml"
click node_shipphysics "https://github.com/angelgab006/juego-genetic-dash/blob/main/scripts/scr_player_ship/scr_player_ship.gml"
click node_levels "https://github.com/angelgab006/juego-genetic-dash/blob/main/rooms/rm_level_1/rm_level_1.yy"
click node_leveldata "https://github.com/angelgab006/juego-genetic-dash/blob/main/datafiles/levels/level_1.txt"
click node_ai "https://github.com/angelgab006/juego-genetic-dash/blob/main/scripts/scr_ai/scr_ai.gml"
click node_ui "https://github.com/angelgab006/juego-genetic-dash/blob/main/scripts/src_ui/src_ui.gml"
click node_audio "https://github.com/angelgab006/juego-genetic-dash/blob/main/scripts/scr_audio/scr_audio.gml"

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_spikes,node_solid,node_ai toneBlue
class node_player,node_spring,node_orb,node_shipportal,node_normalportal,node_cubephysics,node_shipphysics toneAmber
class node_levels,node_leveldata toneMint
class node_ui,node_audio toneRose
```

## Components

### Gameplay

- [Game Runtime](https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_game/Step_0.gml): `objects/obj_game/Step_0.gml`
- [Spike Hazards](https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_spike/obj_spike.yy): `objects/obj_spike/obj_spike.yy`
- [Solid Blocks](https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_block/obj_block.yy): `objects/obj_block/obj_block.yy`
- [AI Model](https://github.com/angelgab006/juego-genetic-dash/blob/main/scripts/scr_ai/scr_ai.gml): `scripts/scr_ai/scr_ai.gml`

### Movement

- [Player](https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_player/Step_0.gml): `objects/obj_player/Step_0.gml`
- [Jump Pad](https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_pad/obj_pad.yy): `objects/obj_pad/obj_pad.yy`
- [Double-Jump Orb](https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_orb/obj_orb.yy): `objects/obj_orb/obj_orb.yy`
- [Ship Portal](https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_portal_ship/obj_portal_ship.yy): `objects/obj_portal_ship/obj_portal_ship.yy`
- [Normal Portal](https://github.com/angelgab006/juego-genetic-dash/blob/main/objects/obj_portal_normal/obj_portal_normal.yy): `objects/obj_portal_normal/obj_portal_normal.yy`
- [Cube Movement](https://github.com/angelgab006/juego-genetic-dash/blob/main/scripts/scr_player_cube/scr_player_cube.gml): `scripts/scr_player_cube/scr_player_cube.gml`
- [Ship Movement](https://github.com/angelgab006/juego-genetic-dash/blob/main/scripts/scr_player_ship/scr_player_ship.gml): `scripts/scr_player_ship/scr_player_ship.gml`

### Level Content

- [Three Levels](https://github.com/angelgab006/juego-genetic-dash/blob/main/rooms/rm_level_1/rm_level_1.yy): `rooms/rm_level_1/rm_level_1.yy`
- [Level Data](https://github.com/angelgab006/juego-genetic-dash/blob/main/datafiles/levels/level_1.txt): `datafiles/levels/level_1.txt`

### Presentation

- [Game UI](https://github.com/angelgab006/juego-genetic-dash/blob/main/scripts/src_ui/src_ui.gml): `scripts/src_ui/src_ui.gml`
- [Game Audio](https://github.com/angelgab006/juego-genetic-dash/blob/main/scripts/scr_audio/scr_audio.gml): `scripts/scr_audio/scr_audio.gml`

## Connections

- Spike Hazards → Player: kills on collision (evidence: `README.md`)
- Solid Blocks → Player: kills on collision (evidence: `README.md`)
- Jump Pad → Player: boosts vertically (evidence: `README.md`)
- Double-Jump Orb → Player: grants double jump (evidence: `README.md`)
- Ship Portal → Player: activates ship mode (evidence: `README.md`)
- Normal Portal → Player: restores normal mode (evidence: `README.md`)
- Three Levels → Spike Hazards: demonstrates hazards (evidence: `README.md`)
- Three Levels → Solid Blocks: demonstrates blocks (evidence: `README.md`)
- Three Levels → Jump Pad: demonstrates jump pad (evidence: `README.md`)
- Three Levels → Double-Jump Orb: demonstrates orb (evidence: `README.md`)
- Three Levels → Ship Portal: demonstrates ship mode (evidence: `README.md`)
- AI Model → Game Runtime: planned addition (evidence: `README.md`)
