alcoranpaul / DunGen

Procedural Dungeon Generator made for Flax Engine
MIT License
0 stars 0 forks source link

Create a list of hallways, starting with every edge in the tree #6

Closed alcoranpaul closed 6 days ago

alcoranpaul commented 1 week ago

The tree contains every room, so it guarantees that a path to every room exists. Randomly add edges from the triangulation graph to the list. This will add some cycles to hallways. Here, I used a 12.5% chance for each edge to be added.

alcoranpaul commented 6 days ago

Image Image Image Image Image

alcoranpaul commented 6 days ago

Image Image Image