# pak720/project-vextule-point-and-click-2d-pixel architecture

> Architecture diagram of the GitHub repository pak720/project-vextule-point-and-click-2d-pixel, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-10-15). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/pak720/project-vextule-point-and-click-2d-pixel
- Repository: https://github.com/pak720/project-vextule-point-and-click-2d-pixel

## Overview

Vexatule is a Godot C# point-and-click game. The demonstrated interaction is that players drag documents and stamps; a stamp animates, checks for an overlapping passport, and creates an ink mark attached to the target. The README describes Gameplay as the scene that assembles components, but the sampled source does not show scene wiring or gameplay rules. GameManager and DayManager are currently empty, so their intended day-cycle responsibilities are documented but not implemented in the excerpts.

Main entry points: [`Scenes/Gameplay.tscn`](https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scenes/Gameplay.tscn) (Gameplay Scene), [`Scripts/Entities/Stamper.cs`](https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scripts/Entities/Stamper.cs) (Stamp Interaction), [`Scripts/Entities/Document2D.cs`](https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scripts/Entities/Document2D.cs) (Draggable Document), [`Scripts/Entities/StampStation.cs`](https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scripts/Entities/StampStation.cs) (Stamp Tray)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_core["Game Core"]
  node_game_manager["Game Manager<br/>[GameManager.cs]"]
  node_day_manager["Day Manager<br/>[DayManager.cs]"]
end

subgraph group_entities["Gameplay Entities"]
  node_document["Draggable Document<br/>[Document2D.cs]"]
  node_stamper["Stamp Interaction<br/>[Stamper.cs]"]
  node_ink_mark["Ink Mark<br/>[Stamper.cs]"]
  node_stamp_station["Stamp Tray<br/>[StampStation.cs]"]
end

subgraph group_scenes["Scenes and Assets"]
  node_gameplay_scene["Gameplay Scene<br/>[Gameplay.tscn]"]
  node_document_scene["Document Scene<br/>[Document.tscn]"]
  node_station_scene["Stamp Station Scene<br/>[StampStation.tscn]"]
  node_game_assets["Game Artwork"]
end

node_player(("Player"))

node_player -->|"drags"| node_document
node_player -->|"drags and drops"| node_stamper
node_player -->|"toggles tray"| node_stamp_station
node_stamper -->|"creates on hit"| node_ink_mark
node_stamper -.->|"attaches mark to passport"| node_document
node_gameplay_scene -->|"assembles"| node_document_scene
node_gameplay_scene -->|"assembles"| node_station_scene
node_gameplay_scene -.->|"uses artwork"| node_game_assets

click node_game_manager "https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scripts/Core/GameManager.cs"
click node_day_manager "https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scripts/Core/DayManager.cs"
click node_document "https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scripts/Entities/Document2D.cs"
click node_stamper "https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scripts/Entities/Stamper.cs"
click node_ink_mark "https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scripts/Entities/Stamper.cs"
click node_stamp_station "https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scripts/Entities/StampStation.cs"
click node_gameplay_scene "https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scenes/Gameplay.tscn"
click node_document_scene "https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scenes/Components/Document.tscn"
click node_station_scene "https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scenes/Components/StampStation.tscn"
click node_game_assets "https://github.com/pak720/project-vextule-point-and-click-2d-pixel/tree/main/Assets/Sprites"

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_manager,node_day_manager toneBlue
class node_document,node_stamper,node_ink_mark,node_stamp_station toneAmber
class node_gameplay_scene,node_document_scene,node_station_scene,node_game_assets toneMint
class node_player toneIndigo
```

## Components

### Game Core

- [Game Manager](https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scripts/Core/GameManager.cs): `Scripts/Core/GameManager.cs`
- [Day Manager](https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scripts/Core/DayManager.cs): `Scripts/Core/DayManager.cs`

### Gameplay Entities

- [Draggable Document](https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scripts/Entities/Document2D.cs): `Scripts/Entities/Document2D.cs`
- [Stamp Interaction](https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scripts/Entities/Stamper.cs): `Scripts/Entities/Stamper.cs`
- [Ink Mark](https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scripts/Entities/Stamper.cs): `Scripts/Entities/Stamper.cs`
- [Stamp Tray](https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scripts/Entities/StampStation.cs): `Scripts/Entities/StampStation.cs`

### Scenes and Assets

- [Gameplay Scene](https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scenes/Gameplay.tscn): `Scenes/Gameplay.tscn`
- [Document Scene](https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scenes/Components/Document.tscn): `Scenes/Components/Document.tscn`
- [Stamp Station Scene](https://github.com/pak720/project-vextule-point-and-click-2d-pixel/blob/main/Scenes/Components/StampStation.tscn): `Scenes/Components/StampStation.tscn`
- [Game Artwork](https://github.com/pak720/project-vextule-point-and-click-2d-pixel/tree/main/Assets/Sprites): `Assets/Sprites`

### Other components

- **Player**

## Connections

- Player → Draggable Document: drags (evidence: `Scripts/Entities/Document2D.cs`)
- Player → Stamp Interaction: drags and drops (evidence: `Scripts/Entities/Stamper.cs`)
- Player → Stamp Tray: toggles tray (evidence: `Scripts/Entities/StampStation.cs`)
- Stamp Interaction → Ink Mark: creates on hit (evidence: `Scripts/Entities/Stamper.cs`)
- Stamp Interaction → Draggable Document: attaches mark to passport
- Gameplay Scene → Document Scene: assembles (evidence: `README.md`)
- Gameplay Scene → Stamp Station Scene: assembles (evidence: `README.md`)
- Gameplay Scene → Game Artwork: uses artwork
