Quantcast
Channel: Programming Forums
Viewing all articles
Browse latest Browse all 51036

Dungeon Crawler

$
0
0
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


Viewing all articles
Browse latest Browse all 51036

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>