The problem
A roguelite needs a different floor every run, but designers still need control over what a floor feels like. On top of that, the game’s rules are really rules about state: relics persist after death, Tendency is a per-run story, floors are made of rooms. Each of those rules turns into a decision about where state lives and how long it lives.
The approach
I came to this as a backend engineer, and most of the toolbox transferred. The real work was learning Unreal’s opinions about where things live and when they exist.
- Generation is a plugin.
CatabasiLevelGenonly knows about graphs. It takes a seed and the designer’s layout, and returns anFLevelGraph. No world positions, no actors. - The game turns the graph into rooms. A Driver reads the graph, a Spawner streams each room’s map, and exit volumes tell the Driver when to move on.
- Layers depend only downward. Data assets, then the plugin, then state subsystems, then per-room state, then level actors.
- State is placed by lifetime. Account, slot, run, floor, room. A design rule tells you which box it goes in.
How I work on it
I lead development for a small mixed team of programmers, designers and artists. I wrote the Git workflow and Unreal conventions so that everyone can open a pull request without fear. I use AI as a reviewer and planning partner, not as an autopilot. Each feature starts with a written prompt that states the agreed architecture, and the assistant stays in plan-only mode unless I ask for code.