Godot genre roguelike

From thedivergentai/GD-Agentic-Skills · View interactive version

Godot genre roguelike is an AI agent skill from the GitHub repository thedivergentai/GD-Agentic-Skills. Expert blueprint for roguelikes including procedural generation (Walker method, BSP rooms), permadeath with meta-progression (unlock persistence), run state vs meta state separation, seeded RNG (shareable runs), loot/relic systems (hook-based modifiers), and difficulty scaling (floor-based progressi

How to use this skill

Skill file

NEVER Do (Expert Anti-Patterns)

Generation & RNG

Data & State

Grid & Performance

🛠 Expert Components (scripts/)

MANDATORY before implementing generation, seed sharing, or meta unlocks — read these first (do not reinvent from inline samples):

- dungeon_generator_walker.gd — Drunkard's Walk with local RandomNumberGenerator (rng.randi() % n, never Array.pick_random()).

- seeded_rng_resource.gd — seed persistence for shareable / daily runs.

- meta_progression_manager.gd — permanent unlock currency + save boundaries vs run state.

Do NOT Load the full scripts/ folder for a single task. Open only the script that matches the phase below.

Original Expert Patterns

Modular Components

Core Loop

  1. Preparation: Select character, equip meta-upgrades (see meta_progression_resource.gd).
  2. The Run: complete procedural levels (dungeon_generator_walker.gd), acquire temporary power-ups.
  3. The Challenge: Survive increasingly difficult encounters using A* pathfinding (astar_grid_handler.gd).
  4. Death/Victory: Run ends, resources calculated.
  5. Meta-Progression: Spend resources on permanent unlocks (meta_progression_resource.gd).
  6. Repeat: Start a new run with new capabilities.

Skill Chain

| Phase | Skills | Purpose |

|-------|--------|---------|

| 1. Architecture | godot-autoload-architecture, godot-state-machine-advanced | Run State vs Meta State boundaries |

| 2. World Gen | godot-procedural-generation, godot-tilemap-mastery | Unique levels every run (walker/BSP/noise) |

| 3. Combat | godot-combat-system, godot-ai-navigation | High-stakes encounters + FOV/pathing |

| 4. Progression | godot-inventory-system, godot-resource-data-patterns | Run items/relics + typed Resources |

| 5. Persistence | godot-save-load-systems | Meta unlocks + anti-scum mid-run deletes |

| 6. Balance | godot-monte-carlo-balancer | Win% vs meta level; dead-item detection |

Architecture Overview

Roguelikes require a strict separation between Run State (temporary) and Meta State (persistent).

Key Mechanics (route to scripts/)

Procedural Dungeon Generation

Relics, turns, fog, pacing

Common Pitfalls

  1. RNG Dependency: Don't make runs entirely dependent on luck. Good roguelikes allow skill to mitigate bad RNG.
  2. Meta-progression Imbalance: If meta-upgrades are too strong, the game becomes a "grind to win" rather than "learn to win".
  3. Lack of Variety: Procedural generation is only as good as the content it arranges. You need a lot of content (rooms, enemies, items) to keep it fresh.
  4. Save Scumming: Players will try to quit to avoid death. Save the state only on floor transition or quit, and delete the save on load (optional, but standard for strict roguelikes).

Godot-Specific Tips

Advanced Techniques

MANDATORY for depth beyond decision trees and script catalog: roguelike-meta-systems-deep.md. Do NOT Load on first-pass wiring — use bundled scripts/ first.

Reference

Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing to a peer domain — do not preload the whole lattice.

Official Documentation

Related Skills

Prerequisites
Complements
Downstream / consumers
Master
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.