# spizeweee/gunslime architecture

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

- Interactive diagram: https://gitdiagram.com/spizeweee/gunslime
- Repository: https://github.com/spizeweee/gunslime

## Overview

This repository appears to be a Godot game with a map, a player, a slime enemy, combat scripts, and a HUD. The likely play experience involves controlling the player in the game world, but no README or source excerpts were provided, so the runtime entry point and interactions between these components cannot be verified. The graph therefore shows the identifiable game components without speculative connections.

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_world["Game World"]
  node_map["Map Scene<br/>[map.tscn]"]
  node_map_assets["Map Assets"]
end

subgraph group_characters["Characters"]
  node_player["Player<br/>[player_1.gd]"]
  node_player_scene["Player Scene<br/>[player_1.tscn]"]
  node_slime["Slime Enemy<br/>[slime.gd]"]
  node_slime_scene["Slime Scene<br/>[slime.tscn]"]
end

subgraph group_combat["Combat"]
  node_attack["Attack Logic<br/>[atacar.gd]"]
  node_bullet["Bullet Logic<br/>[bullet.gd]"]
  node_bullet_scene["Bullet Scene<br/>[bullet.tscn]"]
end

subgraph group_interface["Interface"]
  node_hud["HUD Logic<br/>[hud.gd]"]
  node_hud_scene["HUD Scene<br/>[hud.tscn]"]
end

click node_map "https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/map.tscn"
click node_map_assets "https://github.com/spizeweee/gunslime/tree/main/ramdomslime/mapa"
click node_player "https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/player_1.gd"
click node_player_scene "https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/player_1.tscn"
click node_slime "https://github.com/spizeweee/gunslime/blob/main/ramdomslime/enemigos/slime.gd"
click node_slime_scene "https://github.com/spizeweee/gunslime/blob/main/ramdomslime/enemigos/slime.tscn"
click node_attack "https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/atacar.gd"
click node_bullet "https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/bullet.gd"
click node_bullet_scene "https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/bullet.tscn"
click node_hud "https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/ui/hud.gd"
click node_hud_scene "https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/ui/hud.tscn"

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_map,node_map_assets toneBlue
class node_player,node_player_scene,node_slime,node_slime_scene toneAmber
class node_attack,node_bullet,node_bullet_scene toneMint
class node_hud,node_hud_scene toneRose
```

## Components

### Game World

- [Map Scene](https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/map.tscn): `ramdomslime/scenes/map.tscn`
- [Map Assets](https://github.com/spizeweee/gunslime/tree/main/ramdomslime/mapa): `ramdomslime/mapa`

### Characters

- [Player](https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/player_1.gd): `ramdomslime/scenes/player_1.gd`
- [Player Scene](https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/player_1.tscn): `ramdomslime/scenes/player_1.tscn`
- [Slime Enemy](https://github.com/spizeweee/gunslime/blob/main/ramdomslime/enemigos/slime.gd): `ramdomslime/enemigos/slime.gd`
- [Slime Scene](https://github.com/spizeweee/gunslime/blob/main/ramdomslime/enemigos/slime.tscn): `ramdomslime/enemigos/slime.tscn`

### Combat

- [Attack Logic](https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/atacar.gd): `ramdomslime/scenes/atacar.gd`
- [Bullet Logic](https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/bullet.gd): `ramdomslime/scenes/bullet.gd`
- [Bullet Scene](https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/bullet.tscn): `ramdomslime/scenes/bullet.tscn`

### Interface

- [HUD Logic](https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/ui/hud.gd): `ramdomslime/scenes/ui/hud.gd`
- [HUD Scene](https://github.com/spizeweee/gunslime/blob/main/ramdomslime/scenes/ui/hud.tscn): `ramdomslime/scenes/ui/hud.tscn`
