Roguelike Level Design Addendum: Procedural Layouts
New blog post! This is an extension of the previous article, examining level design details specific to underlying layout planning for procgen maps.
I've embedded it in image form below, but Patreon is actually terrible with images and formatting (which is why I also didn't just paste it here...) so it's probably easier if you check out the text version here.
The password for access is "procgen" :D
Comments (4)
Hey, that's an interesting read. I'm curious to see what kind of layouts mapgen code rejects and why. Also might be cool to add an animated gif of how the map is generated iteratively. Like, how the tunneling algorithm works, how a couple of them are rejected, how you fill the result with objects and enemies, etc.
Hey Suslik :). Yeah I was planning to do another post in the future about the content process, which goes far beyond layout considerations. As for rejection reasons, the parameters are of course map-dependent, but the reasons can fall into a few categories. - random important prefabs are unavoidably overlapping (this is a problem with the design and it needs to be redone) - too few/many open cells (a given map needs to fall within a certain percent range) - too many rooms - too many rooms of a certain size - too many large open spaces - too single large open space that exceeds the desired limit - tunnelers got caught on something before they could even get started working - any number of pathfinding failures, including inaccessible areas and prefabs
Wow nice blogpost! I sure learned a lot about mapgen.
Thanks Amphouse! Was glad to have the right opportunity to cover some elements I've never touched on in procgen articles before.