HOME | DD

psykopath — Random Dungeon Generator v2 by-nc

Published: 2008-07-22 05:27:49 +0000 UTC; Views: 4323; Favourites: 16; Downloads: 74
Redirect to original
Description [edit]
New update includes Mode switcher.

Mode 1 - This is the original code. It doesn't check if a point is available before adding it to the 'possibility list', so it makes thick clumps.

Mode 2 - Runs slightly faster than Mode 1, but tens to make lots of paths with a low possibility count. Increase the maximum possibilities to get better clumping.

Mode 3 - A mixture of Mode 1 and 2. Swaps between modes every 'x' steps. Probably best for actually making levels in something.

Also added the option to generate the map in one go, instead of drawing pixel by pixel.
[/edit]

I haven't submitted anything in ages so here's something I did in my lunch hour.

Settings:
seed - used for random numbers. Same seed means same map will be generated. Can be words or numbers
Start x,y - where the first dot begins
Max. possibilities - the maximum number of points the path can branch onto. Above 50 makes it spread fairly slow.
Show possibilities - Draw blue dots where branches can happen

Buttons should be self-explanatory.


Random numbers generated from [link] by
Related content
Comments: 20

Zireael07 [2014-03-21 19:50:23 +0000 UTC]

This is brilliant!

👍: 0 ⏩: 0

Arknok2 [2009-02-25 13:19:39 +0000 UTC]

make it so you can go through the dungeon and i'll be fine

👍: 0 ⏩: 0

winds-of-chaos [2009-02-11 18:13:46 +0000 UTC]

Awesome, it would be very useful.

👍: 0 ⏩: 0

machinemalfunction [2008-07-23 09:49:35 +0000 UTC]

Awesome man.
This would be hella useful ;D

👍: 0 ⏩: 0

In-RedBlueGreen [2008-07-23 02:58:45 +0000 UTC]

I hope you brought your Pokemon repellent, I fucking hate Geodudes

👍: 0 ⏩: 1

psykopath In reply to In-RedBlueGreen [2008-07-23 03:13:53 +0000 UTC]

I can beat them with electricity I'm so fucking buff.

👍: 0 ⏩: 0

arszt [2008-07-22 15:01:48 +0000 UTC]

Who's the final boss?

👍: 0 ⏩: 1

psykopath In reply to arszt [2008-07-22 22:51:20 +0000 UTC]

👍: 0 ⏩: 1

arszt In reply to psykopath [2008-07-22 23:28:15 +0000 UTC]


👍: 0 ⏩: 1

psykopath In reply to arszt [2008-07-22 23:42:30 +0000 UTC]




👍: 0 ⏩: 1

arszt In reply to psykopath [2008-07-22 23:50:26 +0000 UTC]























Make them bigger with each reply

👍: 0 ⏩: 1

psykopath In reply to arszt [2008-07-23 00:39:29 +0000 UTC]

I concede

👍: 0 ⏩: 1

arszt In reply to psykopath [2008-07-23 01:01:32 +0000 UTC]

👍: 0 ⏩: 0

awesty [2008-07-22 08:12:39 +0000 UTC]

Now make a rouge-like

👍: 0 ⏩: 1

psykopath In reply to awesty [2008-07-22 22:50:51 +0000 UTC]

Half done, never finished, lol

👍: 0 ⏩: 0

wonderwhy-ER [2008-07-22 06:27:10 +0000 UTC]

Looks cool Mmm. It seems that it is slow no? I mean can it generate it instantly and you did it this way for it to look interesting

👍: 0 ⏩: 2

psykopath In reply to wonderwhy-ER [2008-07-23 02:59:03 +0000 UTC]

Updated with direct generating and different modes.

👍: 0 ⏩: 1

wonderwhy-ER In reply to psykopath [2008-07-23 06:40:49 +0000 UTC]

Hehe Work's good. Only it may not use all space it has efficiently. But seems to be working fine Actually very simple thing to make and may be used in really a bunch of games eh?

👍: 0 ⏩: 0

psykopath In reply to wonderwhy-ER [2008-07-22 22:50:41 +0000 UTC]

It can be fixed to go a lot faster. Like at the moment I don't check if a point is already added to the list of possibilities or not, so you can have the same point be checked a few times. I might do that and see how much better it goes.

But that would also actually change the way maps are generated slightly because there'd be less points to choose from when removing. Hmm, I'll do it and see if it makes a difference.

👍: 0 ⏩: 0

ElectricRain [2008-07-22 06:13:07 +0000 UTC]

Huh. That's actually pretty interesting.

👍: 0 ⏩: 0