Re: Need help with random map/city generator
Posted: Fri Aug 21, 2015 3:33 am
Random cave.
Rectangles & 90-angle lines will make random dungeon.
Rectangles & 90-angle lines will make random dungeon.
Code: Select all
........................Ladder.....................................
...........................|.......................................
.......................... V.......................................
Start..............CCCCCCCCL...................River..........Exit.
| ............... C ........................... | ............ |..
V ............... C ........................... V ............ V..
SMMMMMMMMMMMMMMMMMMOMMMMMMMMMMMMMMMMMHHHMMMMMMMMMRMMMMMMMMMMMMMME..
..................^...................^...........................
...................|...................|...........................
......... Origin of the chain.....Hallway..........................
Thanks. Done!Jasoco wrote:Use the CODE tags if you want to try and make ASCII maps like that. It'll keep it looking right on all browsers.
Do you have any code uploaded anywhere of your method of using that kind of generation? It seems really interesting, but he talks about "sliding" the new room around until it fits, and doing that for every single new room. Is there some kind of algorithm or something for that, or a way of doing it intelligently? Because it seems like it'd be pretty inefficient and slow to do that dozens of times for a full level.Jasoco wrote:Yeah, the way I am currently experimenting is I'd have the start room, then keep adding chains and place the exit in one dead end and a key in another. The key would open the exit. The exit may be a boss so I guess it'd be a boss key. I don't even know what my generator is going to be used for yet actually. I don't have a plan. I'm just experimenting.
Actually the current generator I'm playing with doesn't use a grid for room placement rather uses a grid as a canvas and rooms are carved into it. I am using a method described here.
So it's not really the same as the Hunt and Kill method I explained above but it works for making maps with odd shaped rooms.
I did, it shows up fine for me. I tried uploading it to a different site, maybe it shows up now.Jasoco wrote:Your images aren't showing. You need to link to the image, not the page the image is on.