# gamer3001/vitadasher-android architecture

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

- Interactive diagram: https://gitdiagram.com/gamer3001/vitadasher-android
- Repository: https://github.com/gamer3001/vitadasher-android

## Overview

This repository appears to be a Godot platform game with menu, infinite and survival modes, player and world logic, and supporting UI and gameplay systems. The README contains only an image, and no source excerpts were provided, so the links below are inferred from filenames and scene names; dashed edges mark those unverified relationships.

Main entry points: [`MainMenu.gd`](https://github.com/gamer3001/vitadasher-android/blob/main/MainMenu.gd) (Main menu), [`Player.tscn`](https://github.com/gamer3001/vitadasher-android/blob/main/Player.tscn) (Player scene), [`InfiniteMode.gd`](https://github.com/gamer3001/vitadasher-android/blob/main/InfiniteMode.gd) (Infinite mode), [`InfiniteMode.tscn`](https://github.com/gamer3001/vitadasher-android/blob/main/InfiniteMode.tscn) (Infinite scene)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_ui["Menus and HUD"]
  node_main_menu["Main menu<br/>[MainMenu.gd]"]
  node_main_scene["Main menu scene<br/>[MainMenu.tscn]"]
  node_pause["Pause menu<br/>[PauseMenu.gd]"]
  node_pause_scene["Pause scene<br/>[PauseMenu.tscn]"]
  node_inventory["Inventory menu<br/>[InventoryMenu.gd]"]
  node_inventory_scene["Inventory scene<br/>[InventoryMenu.tscn]"]
end

subgraph group_modes["Game modes"]
  node_infinite["Infinite mode<br/>[InfiniteMode.gd]"]
  node_infinite_scene["Infinite scene<br/>[InfiniteMode.tscn]"]
  node_survival["Survival mode<br/>[SurvivalMode.gd]"]
  node_survival_scene["Survival scene<br/>[SurvivalMode.tscn]"]
end

subgraph group_gameplay["Gameplay systems"]
  node_player["Player<br/>[Player.gd]"]
  node_player_scene["Player scene<br/>[Player.tscn]"]
  node_score["Score manager<br/>[ScoreManager.gd]"]
  node_obstacles["Obstacles<br/>[Obstacles.gd]"]
  node_juice["Juice effects<br/>[Juice.gd]"]
end

subgraph group_world["World and environment"]
  node_world["World<br/>[World.gd]"]
  node_world_scene["World scene<br/>[World.tscn]"]
  node_biome["Biome<br/>[Biome.gd]"]
  node_sky["Sky gradient<br/>[SkyGradient.gd]"]
end

node_user(("Player"))

node_user -.->|"opens game"| node_main_menu
node_main_menu -.->|"starts mode"| node_infinite_scene
node_main_menu -.->|"starts mode"| node_survival_scene
node_infinite_scene -.->|"runs logic"| node_infinite
node_survival_scene -.->|"runs logic"| node_survival
node_infinite -.->|"uses player"| node_player_scene
node_survival -.->|"uses player"| node_player_scene
node_world_scene -.->|"runs logic"| node_world
node_player_scene -.->|"runs logic"| node_player

click node_player "https://github.com/gamer3001/vitadasher-android/blob/main/Player.gd"
click node_player_scene "https://github.com/gamer3001/vitadasher-android/blob/main/Player.tscn"
click node_score "https://github.com/gamer3001/vitadasher-android/blob/main/ScoreManager.gd"
click node_obstacles "https://github.com/gamer3001/vitadasher-android/blob/main/Obstacles.gd"
click node_juice "https://github.com/gamer3001/vitadasher-android/blob/main/Juice.gd"
click node_main_menu "https://github.com/gamer3001/vitadasher-android/blob/main/MainMenu.gd"
click node_main_scene "https://github.com/gamer3001/vitadasher-android/blob/main/MainMenu.tscn"
click node_pause "https://github.com/gamer3001/vitadasher-android/blob/main/PauseMenu.gd"
click node_pause_scene "https://github.com/gamer3001/vitadasher-android/blob/main/PauseMenu.tscn"
click node_inventory "https://github.com/gamer3001/vitadasher-android/blob/main/InventoryMenu.gd"
click node_inventory_scene "https://github.com/gamer3001/vitadasher-android/blob/main/InventoryMenu.tscn"
click node_infinite "https://github.com/gamer3001/vitadasher-android/blob/main/InfiniteMode.gd"
click node_infinite_scene "https://github.com/gamer3001/vitadasher-android/blob/main/InfiniteMode.tscn"
click node_survival "https://github.com/gamer3001/vitadasher-android/blob/main/SurvivalMode.gd"
click node_survival_scene "https://github.com/gamer3001/vitadasher-android/blob/main/SurvivalMode.tscn"
click node_world "https://github.com/gamer3001/vitadasher-android/blob/main/World.gd"
click node_world_scene "https://github.com/gamer3001/vitadasher-android/blob/main/World.tscn"
click node_biome "https://github.com/gamer3001/vitadasher-android/blob/main/Biome.gd"
click node_sky "https://github.com/gamer3001/vitadasher-android/blob/main/SkyGradient.gd"

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_menu,node_main_scene,node_pause,node_pause_scene,node_inventory,node_inventory_scene toneBlue
class node_infinite,node_infinite_scene,node_survival,node_survival_scene toneAmber
class node_player,node_player_scene,node_score,node_obstacles,node_juice toneMint
class node_world,node_world_scene,node_biome,node_sky toneRose
class node_user toneIndigo
```

## Components

### Menus and HUD

- [Main menu](https://github.com/gamer3001/vitadasher-android/blob/main/MainMenu.gd): `MainMenu.gd`
- [Main menu scene](https://github.com/gamer3001/vitadasher-android/blob/main/MainMenu.tscn): `MainMenu.tscn`
- [Pause menu](https://github.com/gamer3001/vitadasher-android/blob/main/PauseMenu.gd): `PauseMenu.gd`
- [Pause scene](https://github.com/gamer3001/vitadasher-android/blob/main/PauseMenu.tscn): `PauseMenu.tscn`
- [Inventory menu](https://github.com/gamer3001/vitadasher-android/blob/main/InventoryMenu.gd): `InventoryMenu.gd`
- [Inventory scene](https://github.com/gamer3001/vitadasher-android/blob/main/InventoryMenu.tscn): `InventoryMenu.tscn`

### Game modes

- [Infinite mode](https://github.com/gamer3001/vitadasher-android/blob/main/InfiniteMode.gd): `InfiniteMode.gd`
- [Infinite scene](https://github.com/gamer3001/vitadasher-android/blob/main/InfiniteMode.tscn): `InfiniteMode.tscn`
- [Survival mode](https://github.com/gamer3001/vitadasher-android/blob/main/SurvivalMode.gd): `SurvivalMode.gd`
- [Survival scene](https://github.com/gamer3001/vitadasher-android/blob/main/SurvivalMode.tscn): `SurvivalMode.tscn`

### Gameplay systems

- [Player](https://github.com/gamer3001/vitadasher-android/blob/main/Player.gd): `Player.gd`
- [Player scene](https://github.com/gamer3001/vitadasher-android/blob/main/Player.tscn): `Player.tscn`
- [Score manager](https://github.com/gamer3001/vitadasher-android/blob/main/ScoreManager.gd): `ScoreManager.gd`
- [Obstacles](https://github.com/gamer3001/vitadasher-android/blob/main/Obstacles.gd): `Obstacles.gd`
- [Juice effects](https://github.com/gamer3001/vitadasher-android/blob/main/Juice.gd): `Juice.gd`

### World and environment

- [World](https://github.com/gamer3001/vitadasher-android/blob/main/World.gd): `World.gd`
- [World scene](https://github.com/gamer3001/vitadasher-android/blob/main/World.tscn): `World.tscn`
- [Biome](https://github.com/gamer3001/vitadasher-android/blob/main/Biome.gd): `Biome.gd`
- [Sky gradient](https://github.com/gamer3001/vitadasher-android/blob/main/SkyGradient.gd): `SkyGradient.gd`

### Other components

- **Player**

## Connections

- Player → Main menu: opens game
- Main menu → Infinite scene: starts mode
- Main menu → Survival scene: starts mode
- Infinite scene → Infinite mode: runs logic
- Survival scene → Survival mode: runs logic
- Infinite mode → Player scene: uses player
- Survival mode → Player scene: uses player
- World scene → World: runs logic
- Player scene → Player: runs logic
