I really enjoy games like Slay The Spire, Monster Train, Faster Than Light, Spelunky and more. They’re all quite different roguelike games (deckbuilder card games, spaceship combat simulator, adventure platformer) but they all share something similar: randomly generated “meta-level” maps: The spire of Slay The Spire. The sectors and beacons in FTL. The railway in Monster Train.
I’m working on something similar for my platformer (maybe). No details yet besides this quick WIP demo to show a few friends.
[Space] to generated a new dungeon layout. Click on levels to “select” them (does nothing right now except for dimming out unreachable levels).
Click on “DungeonTester”, then “DungeonTester component” to change some of the generation paremeters. Not seen here are the settings for “level event” placement logic (marked as colours in this build) and the visual representation options like position-jitter and path movement.
It’s also not performance optimised yet. In particular, I am not yet converting the Directed Acyclic Graph’s I’m generating into a simple integer representation and then using a lookup table to convert into the actual Dungeon Level object types once a valid generation is created. Note to self: do that.
Console log has some interesting info, like how many unique journeys there are through the generated dungeon.