Ali_Akbar
(Ali_Akbar)
July 30, 2017, 2:46pm
1904
The snap builder pieces together modules. As of now, these modules have to be blueprints (with meshes in it). This should be replaced with maps files so each individual pieces are stored in their own map files. It’s a pain to design your level modules in a blueprint editor.
I did support map files in the past but that caused various issues that needs to be addressed
Also, I’ll be supporting multiple layout algorithms in snap builder (where you select the layout type from a drop down box). The default snap algorithm goes from start to finish with some branches on the side along the way.
Some possibilities:
Space Partitioning so you can have keys / doors and a constraint system. I believe this is what the game ziggaurath uses
http://i.imgur.com/U1xh1IN.jpg
NxN tile layout algorithms with opening on any of NWSE like in Spelunky
I’ll have more updates on the Snap builder in 2.8 after i release 2.7 in a few days
Some progress on a new dungeon layout algorithm (like ziggaurath)
I start with a world bounds, and binary split it till a min/room size is reached
The splits don’t have to be in the center
Connect the doors based on the tree connections. This helps us enforce conditions, i.e. two child subtrees of a node are guaranteed to be isolated and connected only through the node’s door. This helps in created a door / lock combo. It can also loop
Purge the tree and tag the doors (notice E, L, K)