# araujoiijess/danny-n-me architecture

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

- Interactive diagram: https://gitdiagram.com/araujoiijess/danny-n-me
- Repository: https://github.com/araujoiijess/danny-n-me

## Overview

This repository appears to be a GameMaker project for a 2D game, with a player, slime enemies, multiple rooms, and supporting gameplay objects and scripts. The likely player-to-result workflow is room gameplay in which the player moves and fights enemies. The README only discusses art credits and the project’s noncommercial purpose; no source excerpts document runtime behavior, so the connections below are tentative and marked unverified.

Main entry points: [`objects/obj_player/Step_0.gml`](https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_player/Step_0.gml) (Player), [`objects/par_enemy/Step_0.gml`](https://github.com/araujoiijess/danny-n-me/blob/main/objects/par_enemy/Step_0.gml) (Enemy Behavior), [`rooms/main_room/main_room.yy`](https://github.com/araujoiijess/danny-n-me/blob/main/rooms/main_room/main_room.yy) (Main Room), [`objects/obj_playerHitbox/Collision_par_enemy.gml`](https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_playerHitbox/Collision_par_enemy.gml) (Player Hitbox)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_world["Game World"]
  node_main_room["Main Room<br/>[main_room.yy]"]
  node_second_level["Second Level<br/>[second_level.yy]"]
  node_tiles["Grassland Tiles<br/>[ts_grasslands.yy]"]
end

subgraph group_player["Player Gameplay"]
  node_player_actor["Player<br/>[Step_0.gml]"]
  node_hitbox["Player Hitbox"]
  node_dash["Dash Effect<br/>[Step_0.gml]"]
  node_player_globals["Player Globals<br/>[Create_0.gml]"]
end

subgraph group_enemies["Enemies"]
  node_enemy_parent["Enemy Behavior<br/>[Step_0.gml]"]
  node_big_slime["Big Slime<br/>[Create_0.gml]"]
  node_tiny_slime["Tiny Slime<br/>[Create_0.gml]"]
  node_small_collision["Small Collision<br/>[obj_col_pequeno.yy]"]
end

subgraph group_support["Shared Systems"]
  node_controller["Game Controller<br/>[Create_0.gml]"]
  node_debug["Debug Mode<br/>[Step_0.gml]"]
  node_animation["Animation End<br/>[AnimationEnd.gml]"]
  node_hitbox_script["Hitbox Creation<br/>[HitboxCreate.gml]"]
  node_character_scripts["Character Scripts"]
  node_enemy_scripts["Enemy Scripts"]
end

node_player_input(("Player"))

node_player_input -.->|"controls"| node_player_actor
node_player_actor -.->|"uses"| node_hitbox
node_player_actor -.->|"creates"| node_dash
node_player_actor -.->|"uses state"| node_player_globals
node_hitbox -.->|"collides"| node_enemy_parent
node_enemy_parent -.->|"specializes"| node_big_slime
node_enemy_parent -.->|"specializes"| node_tiny_slime
node_small_collision -.->|"supports"| node_tiny_slime
node_main_room -.->|"contains"| node_player_actor
node_main_room -.->|"contains"| node_enemy_parent
node_second_level -.->|"contains"| node_player_actor
node_main_room -.->|"uses"| node_tiles
node_player_actor -.->|"uses"| node_character_scripts
node_enemy_parent -.->|"uses"| node_enemy_scripts
node_player_actor -.->|"uses"| node_hitbox_script
node_controller -.->|"manages"| node_main_room
node_debug -.->|"inspects"| node_controller
node_animation -.->|"supports"| node_player_actor

click node_player_actor "https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_player/Step_0.gml"
click node_hitbox "https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_playerHitbox/Collision_par_enemy.gml"
click node_dash "https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_player_dashEffect/Step_0.gml"
click node_player_globals "https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_player_Globals/Create_0.gml"
click node_enemy_parent "https://github.com/araujoiijess/danny-n-me/blob/main/objects/par_enemy/Step_0.gml"
click node_big_slime "https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_bigSlime/Create_0.gml"
click node_tiny_slime "https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_tinySlime/Create_0.gml"
click node_small_collision "https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_col_pequeno/obj_col_pequeno.yy"
click node_controller "https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_controller/Create_0.gml"
click node_debug "https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_debugMode/Step_0.gml"
click node_animation "https://github.com/araujoiijess/danny-n-me/blob/main/scripts/AnimationEnd/AnimationEnd.gml"
click node_hitbox_script "https://github.com/araujoiijess/danny-n-me/blob/main/scripts/HitboxCreate/HitboxCreate.gml"
click node_character_scripts "https://github.com/araujoiijess/danny-n-me/blob/main/scripts/Scripts_do_Personagem/Scripts_do_Personagem.gml"
click node_enemy_scripts "https://github.com/araujoiijess/danny-n-me/blob/main/scripts/Scripts_do_inimigo/Scripts_do_inimigo.gml"
click node_main_room "https://github.com/araujoiijess/danny-n-me/blob/main/rooms/main_room/main_room.yy"
click node_second_level "https://github.com/araujoiijess/danny-n-me/blob/main/rooms/second_level/second_level.yy"
click node_tiles "https://github.com/araujoiijess/danny-n-me/blob/main/tilesets/ts_grasslands/ts_grasslands.yy"

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_main_room,node_second_level,node_tiles toneBlue
class node_player_actor,node_hitbox,node_dash,node_player_globals toneAmber
class node_enemy_parent,node_big_slime,node_tiny_slime,node_small_collision toneMint
class node_controller,node_debug,node_animation,node_hitbox_script,node_character_scripts,node_enemy_scripts toneRose
class node_player_input toneIndigo
```

## Components

### Game World

- [Main Room](https://github.com/araujoiijess/danny-n-me/blob/main/rooms/main_room/main_room.yy): `rooms/main_room/main_room.yy`
- [Second Level](https://github.com/araujoiijess/danny-n-me/blob/main/rooms/second_level/second_level.yy): `rooms/second_level/second_level.yy`
- [Grassland Tiles](https://github.com/araujoiijess/danny-n-me/blob/main/tilesets/ts_grasslands/ts_grasslands.yy): `tilesets/ts_grasslands/ts_grasslands.yy`

### Player Gameplay

- [Player](https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_player/Step_0.gml): `objects/obj_player/Step_0.gml`
- [Player Hitbox](https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_playerHitbox/Collision_par_enemy.gml): `objects/obj_playerHitbox/Collision_par_enemy.gml`
- [Dash Effect](https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_player_dashEffect/Step_0.gml): `objects/obj_player_dashEffect/Step_0.gml`
- [Player Globals](https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_player_Globals/Create_0.gml): `objects/obj_player_Globals/Create_0.gml`

### Enemies

- [Enemy Behavior](https://github.com/araujoiijess/danny-n-me/blob/main/objects/par_enemy/Step_0.gml): `objects/par_enemy/Step_0.gml`
- [Big Slime](https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_bigSlime/Create_0.gml): `objects/obj_bigSlime/Create_0.gml`
- [Tiny Slime](https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_tinySlime/Create_0.gml): `objects/obj_tinySlime/Create_0.gml`
- [Small Collision](https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_col_pequeno/obj_col_pequeno.yy): `objects/obj_col_pequeno/obj_col_pequeno.yy`

### Shared Systems

- [Game Controller](https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_controller/Create_0.gml): `objects/obj_controller/Create_0.gml`
- [Debug Mode](https://github.com/araujoiijess/danny-n-me/blob/main/objects/obj_debugMode/Step_0.gml): `objects/obj_debugMode/Step_0.gml`
- [Animation End](https://github.com/araujoiijess/danny-n-me/blob/main/scripts/AnimationEnd/AnimationEnd.gml): `scripts/AnimationEnd/AnimationEnd.gml`
- [Hitbox Creation](https://github.com/araujoiijess/danny-n-me/blob/main/scripts/HitboxCreate/HitboxCreate.gml): `scripts/HitboxCreate/HitboxCreate.gml`
- [Character Scripts](https://github.com/araujoiijess/danny-n-me/blob/main/scripts/Scripts_do_Personagem/Scripts_do_Personagem.gml): `scripts/Scripts_do_Personagem/Scripts_do_Personagem.gml`
- [Enemy Scripts](https://github.com/araujoiijess/danny-n-me/blob/main/scripts/Scripts_do_inimigo/Scripts_do_inimigo.gml): `scripts/Scripts_do_inimigo/Scripts_do_inimigo.gml`

### Other components

- **Player**

## Connections

- Player → Player: controls
- Player → Player Hitbox: uses
- Player → Dash Effect: creates
- Player → Player Globals: uses state
- Player Hitbox → Enemy Behavior: collides
- Enemy Behavior → Big Slime: specializes
- Enemy Behavior → Tiny Slime: specializes
- Small Collision → Tiny Slime: supports
- Main Room → Player: contains
- Main Room → Enemy Behavior: contains
- Second Level → Player: contains
- Main Room → Grassland Tiles: uses
- Player → Character Scripts: uses
- Enemy Behavior → Enemy Scripts: uses
- Player → Hitbox Creation: uses
- Game Controller → Main Room: manages
- Debug Mode → Game Controller: inspects
- Animation End → Player: supports
