Temple of The Roguelike Forums

Development => Programming => Topic started by: JayPC on January 13, 2011, 03:51:22 AM

Title: Map Generator
Post by: JayPC on January 13, 2011, 03:51:22 AM
A while ago, I made a Noise World map generator, and it was great. but now I'm interested in making the Dungeons for my game. but It stumps me to no end. I keep trying, but its not connected and Broken levels is all I get.

So I came to the place where Dungeon generating is a must! and Im asking anyone with some Experience in Dungeon Generating, if they can help. Full credit and everything in my game(currently getting assistance with path finding over at TIGForums)

Im working in java, and My Dungeons layout is going to be a 2d byte array which supports up to 255 different tile types.

If someone Could help me out Id really appreciate it!
Title: Re: Map Generator
Post by: Fenrir on January 13, 2011, 04:01:53 AM
http://doryen.eptalys.net/articles/bsp-dungeon-generation/

This is a good article on generating dungeon levels that I've used in the past. I hope this is the kind of thing that you need.

Also, see http://doryen.eptalys.net/articles/dungeon-morphing/ for making more natural cave structures.
Title: Re: Map Generator
Post by: JayPC on January 13, 2011, 04:27:16 AM
WOAH!!!  :o

That not only looks Good, but its also Efficient!! This looks mad easy! Thanks!!!
Title: Re: Map Generator
Post by: corremn on January 13, 2011, 11:39:57 PM
It does look like an elegant solution. But there is just something about it I don't like... To me I just like the chaos I get from purely random designs.

Like this. http://www.roguetemple.com/forums/index.php?topic=474.0
Title: Re: Map Generator
Post by: stu on January 17, 2011, 11:32:05 PM
better;
http://roguebasin.roguelikedevelopment.org/index.php?title=Articles#Map