I am trying to program a Dungeon Crawler in C++ but I am having trouble coding a Random Dungeon Generator.
To create a dungeon, I figured that I would randomly place Rooms, then connect the rooms together with passages.
However, I am having trouble figuring out how to connect the rooms together
I posted some outputs of the generator I got up to this point... I told it to create 64x64 dungeon and mark the traversable paths with 'O'
The dungeon information is stored in a 2D array of 0s and 1s where 1 is the traversable paths and 0 is dead end
To create a dungeon, I figured that I would randomly place Rooms, then connect the rooms together with passages.
However, I am having trouble figuring out how to connect the rooms together
I posted some outputs of the generator I got up to this point... I told it to create 64x64 dungeon and mark the traversable paths with 'O'
The dungeon information is stored in a 2D array of 0s and 1s where 1 is the traversable paths and 0 is dead end
-
output1.txt (2.61K)
: 5 -
output2.txt (3.01K)
: 6 -
output3.txt (2.68K)
: 5