# lukemelling08/shapes architecture

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

- Interactive diagram: https://gitdiagram.com/lukemelling08/shapes
- Repository: https://github.com/lukemelling08/shapes

## Overview

This is a Defold game project: its tree includes project configuration, a main collection and game script, gameplay modules, input bindings, rendering code, and character assets. The principal runtime entry appears to be `main/scripts/game.script`, with modules for entity, projectile, collision, input, camera, debris, and rendering. No README content or source excerpts were provided, so actual calls, data flow, and integration behavior cannot be verified; the graph therefore maps the visible runtime components without asserting connections.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_runtime["Game Runtime"]
  node_project["Project Config<br/>[game.project]"]
  node_collection["Main Collection<br/>[main.collection]"]
  node_game_script["Game Script<br/>[game.script]"]
end

subgraph group_gameplay["Gameplay Systems"]
  node_input_binding["Input Bindings<br/>[game.input_binding]"]
  node_input_handler["Input Handler<br/>[input_handler.lua]"]
  node_entity["Entity<br/>[entity.lua]"]
  node_entity_class["Entity Class<br/>[entity_class.lua]"]
  node_entity_type["Entity Types<br/>[entity_type.lua]"]
  node_projectile["Projectile<br/>[projectile.lua]"]
  node_projectile_type["Projectile Types"]
  node_collision["Collision<br/>[collision.lua]"]
  node_debris["Debris<br/>[debris.lua]"]
end

subgraph group_presentation["Presentation"]
  node_camera["Camera<br/>[camera.lua]"]
  node_render["Render Module<br/>[render.lua]"]
  node_render_script["Custom Render"]
  node_render_config["Render Config<br/>[custom.render]"]
  node_character_assets["Character Assets"]
end

click node_project "https://github.com/lukemelling08/shapes/blob/main/game.project"
click node_collection "https://github.com/lukemelling08/shapes/blob/main/main/main.collection"
click node_game_script "https://github.com/lukemelling08/shapes/blob/main/main/scripts/game.script"
click node_input_binding "https://github.com/lukemelling08/shapes/blob/main/input/game.input_binding"
click node_input_handler "https://github.com/lukemelling08/shapes/blob/main/main/modules/input_handler.lua"
click node_entity "https://github.com/lukemelling08/shapes/blob/main/main/modules/entity.lua"
click node_entity_class "https://github.com/lukemelling08/shapes/blob/main/main/modules/entity_class.lua"
click node_entity_type "https://github.com/lukemelling08/shapes/blob/main/main/modules/entity_type.lua"
click node_projectile "https://github.com/lukemelling08/shapes/blob/main/main/modules/projectile.lua"
click node_projectile_type "https://github.com/lukemelling08/shapes/blob/main/main/modules/projectile_type.lua"
click node_collision "https://github.com/lukemelling08/shapes/blob/main/main/modules/collision.lua"
click node_debris "https://github.com/lukemelling08/shapes/blob/main/main/modules/debris.lua"
click node_camera "https://github.com/lukemelling08/shapes/blob/main/main/modules/camera.lua"
click node_render "https://github.com/lukemelling08/shapes/blob/main/main/modules/render.lua"
click node_render_script "https://github.com/lukemelling08/shapes/blob/main/main/render/custom.render_script"
click node_render_config "https://github.com/lukemelling08/shapes/blob/main/main/render/custom.render"
click node_character_assets "https://github.com/lukemelling08/shapes/tree/main/assets/character"

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_project,node_collection,node_game_script toneBlue
class node_input_binding,node_input_handler,node_entity,node_entity_class,node_entity_type,node_projectile,node_projectile_type,node_collision,node_debris toneAmber
class node_camera,node_render,node_render_script,node_render_config,node_character_assets toneMint
```

## Components

### Game Runtime

- [Project Config](https://github.com/lukemelling08/shapes/blob/main/game.project): `game.project`
- [Main Collection](https://github.com/lukemelling08/shapes/blob/main/main/main.collection): `main/main.collection`
- [Game Script](https://github.com/lukemelling08/shapes/blob/main/main/scripts/game.script): `main/scripts/game.script`

### Gameplay Systems

- [Input Bindings](https://github.com/lukemelling08/shapes/blob/main/input/game.input_binding): `input/game.input_binding`
- [Input Handler](https://github.com/lukemelling08/shapes/blob/main/main/modules/input_handler.lua): `main/modules/input_handler.lua`
- [Entity](https://github.com/lukemelling08/shapes/blob/main/main/modules/entity.lua): `main/modules/entity.lua`
- [Entity Class](https://github.com/lukemelling08/shapes/blob/main/main/modules/entity_class.lua): `main/modules/entity_class.lua`
- [Entity Types](https://github.com/lukemelling08/shapes/blob/main/main/modules/entity_type.lua): `main/modules/entity_type.lua`
- [Projectile](https://github.com/lukemelling08/shapes/blob/main/main/modules/projectile.lua): `main/modules/projectile.lua`
- [Projectile Types](https://github.com/lukemelling08/shapes/blob/main/main/modules/projectile_type.lua): `main/modules/projectile_type.lua`
- [Collision](https://github.com/lukemelling08/shapes/blob/main/main/modules/collision.lua): `main/modules/collision.lua`
- [Debris](https://github.com/lukemelling08/shapes/blob/main/main/modules/debris.lua): `main/modules/debris.lua`

### Presentation

- [Camera](https://github.com/lukemelling08/shapes/blob/main/main/modules/camera.lua): `main/modules/camera.lua`
- [Render Module](https://github.com/lukemelling08/shapes/blob/main/main/modules/render.lua): `main/modules/render.lua`
- [Custom Render](https://github.com/lukemelling08/shapes/blob/main/main/render/custom.render_script): `main/render/custom.render_script`
- [Render Config](https://github.com/lukemelling08/shapes/blob/main/main/render/custom.render): `main/render/custom.render`
- [Character Assets](https://github.com/lukemelling08/shapes/tree/main/assets/character): `assets/character`
