G
Guest
Guest
Archived from groups: rec.games.roguelike.development (More info?)
Hey everyone, I'm having a lot of trouble making a random map
generator.
What I'm doing is slapping a bunch of rooms into the map, making sure
that they have at least one space between them so they don't overlap.
This part looks fine. I have 45% of the map as floor by the end of
this process, so that part is good.
I have no idea where to start on making tunnels go to each room. I
want every place to be accessible, yet not too many tunnels coming
from each room. My first thought was to cycle through the rooms, and
for every room have pathfinding to see if there's a way to every other
room. This would be really inefficient; pathfinding is very slow. So
that idea is out.
How do I make it so all these rooms are connected?
Thanks! All your help is really appreciated.
Hey everyone, I'm having a lot of trouble making a random map
generator.
What I'm doing is slapping a bunch of rooms into the map, making sure
that they have at least one space between them so they don't overlap.
This part looks fine. I have 45% of the map as floor by the end of
this process, so that part is good.
I have no idea where to start on making tunnels go to each room. I
want every place to be accessible, yet not too many tunnels coming
from each room. My first thought was to cycle through the rooms, and
for every room have pathfinding to see if there's a way to every other
room. This would be really inefficient; pathfinding is very slow. So
that idea is out.
How do I make it so all these rooms are connected?
Thanks! All your help is really appreciated.