Mammoth Templates logomammoth templates

Home / Godot / Roguelike game systems

Video preview

Roguelike Dungeon is a finished, playable top-down roguelike packaged as a Godot 4 project. A seeded BSP generator builds three floors of rooms and corridors (start, enemy, treasure, shop, stairs and boss rooms), every floor is validated for connectivity, and the same seed always gives the same dungeon. You explore through fog of war with a live minimap, fight in real time with a melee arc, ranged shots and an invulnerable dash, and shape your build with choose-3 screens for upgrades and relics.

Four enemy types (hopping slimes, swooping bats, kiting archers, charging brutes) plus elites lead up to The Warden, a boss with three phases, telegraphed charges, ring and spiral bullet patterns and minion summons. Dying is permanent, but every run pays souls that unlock permanent upgrades, new characters and new relics, all saved to disk. Play a random seed, type your own seed, or take on the daily seed (derived from the UTC date) with its own best score.

Everything is data driven and documented: items, enemies, characters and meta upgrades are Resource files generated from one Python table, and the developer guide shows how to add an enemy, item, relic, room type or boss attack. The art and audio are original CC0 (generated by scripts in tools/), the GDScript is typed and commented, and a 195-assertion smoke test plus a scripted bot proves it works.

Highlights

  • Seeded BSP dungeon generator with validated connectivity, 3 floors, treasure / shop / stairs / boss rooms
  • Real-time combat: melee arc, ranged shots, dash with i-frames, hit-stop, particles and screenshake
  • 4 enemy types + elites and a 3-phase boss (The Warden)
  • 30 data-driven items in 4 rarities with stacking; choose-3 on level-up, treasure, elite rooms and boss
  • Fog of war with explored / visible tiles and a minimap
  • Permadeath with meta-progression: souls buy permanent upgrades, characters and relics (saved)
  • Daily seed (UTC date) with separate best score, plus custom seed entry
  • Title, run setup, upgrades, settings (volume, key rebinding, screenshake), pause, HUD, summary; keyboard, mouse and gamepad