Submerged Map Generator (Better view)
This is a 100x100x10 map being generated, each floor having between 1-15 rooms and 1-50 hallways. To fully generate it takes less than a minute (I started generating it after the video starts playing).
I had view set really high to view as much of the map as possible, which is why it was sluggish when I was moving around the screen.
It still has some issues I need to handle, but the general generation of it works really well and pretty quickly.
Posted by Nadrew on Monday, October 12, 2009 11:42PM
- 6 comments
(link)
/
Keywords:
generator,
submerged,
map


Login to post a comment.
#6 Nadrew:
The game is round-based and each round must be unique. The way this system works makes it pretty close to impossible for the same exact map to come up twice.
Even if the same general shape of the map comes up twice locations of key rooms will be different.
Wednesday, October 14, 2009 10:32PM
#5 Tsfreaks:
Nadrew wrote:
> It generates 10 z-levels, all 100x100. It's not a matter of the room itself, it's a matter of location. The main purpose of the generator is to make sure no round of the game will ever have the same map twice.
OK. How does a random map generator of that "size" ever come close to generating the same map twice (with 10 variations)? Why is that so critical? Is this a standard dungeon crawl or is this something different?
>
> And with this system it is simply impossible.
How so... out of curiosity?
ts
- sifting through dungeon generation videos online now.
Wednesday, October 14, 2009 10:02PM
#4 Nadrew:
It generates 10 z-levels, all 100x100. It's not a matter of the room itself, it's a matter of location. The main purpose of the generator is to make sure no round of the game will ever have the same map twice.
And with this system it is simply impossible.
Wednesday, October 14, 2009 09:58PM
#3 Tsfreaks:
heh... it just took me a minute to find it. So, can you explain the "10" part. Your generating 10 "floors" on a single map? That's not easy to see.
What makes these rooms so "random"? They look like every other generator?
Just dug out my old generator. :) Started looking at adding sub-levels. :) No time of course, but it gives me something to think about on the commute when I run out of other things...
ts
Wednesday, October 14, 2009 09:43PM
#2 Nadrew:
Submerged is the name of the game. It actually takes about 25 seconds to generate a 100x100x10 map, which isn't exactly small. The reason it isn't as speedy as other types of generators is the need for truly random room placement.
As for the comment box location. I didn't care 2 years ago, I still don't care =)
Wednesday, October 14, 2009 09:28PM
#1 Tsfreaks:
Oh boy... it is. Your comment placement is a little off kilter.. kinda like your generator. I like the offset of rooms. Why do you call it "Submerged"? Why does it take a minute? A standard generator should only take a second. What am I missing?
ts
Wednesday, October 14, 2009 09:07PM