HOME | DD

Published: 2009-05-03 11:01:01 +0000 UTC; Views: 1291; Favourites: 4; Downloads: 20
Redirect to original
Description
Finally turned my random dungeon generator into a useable class, and started playing around with a bitmap display system. Next update, moving/travelling floors.Click for random maps, they all 'start' at the center.
Average time to generate map (floor, walls): 32ms
Average time to render map: 30ms
Related content
Comments: 14
erut9 [2011-12-03 11:03:04 +0000 UTC]
it generated these funny shapes for me 1. Europe (somehow found that funny) 2. A peni(s) 3. :3 and 4. it spelled ASS
👍: 0 ⏩: 0
psykopath In reply to JohnJensen [2009-11-18 21:41:42 +0000 UTC]
Also, if you imagine it vertically, good for side-scrolling games
👍: 0 ⏩: 0
sgtcrispy1651 [2009-10-23 08:52:41 +0000 UTC]
lol...i made one that looks like a rude finger...kekekeke
👍: 0 ⏩: 0
Kekskiller [2009-07-30 00:37:53 +0000 UTC]
dude, his is interesting. not because it's just another cave generator, no. sometimes I can see weird animals and figures in it! inspiring, I guess.
👍: 0 ⏩: 0
Kalisme [2009-07-28 21:39:39 +0000 UTC]
Really interesting. I programmed something like this once but for rooms and corridors by adapting some old A* pathfinding code I made. Yours has a nicer organic feel though.
Great stuff.
👍: 0 ⏩: 0
adampantha [2009-05-04 11:58:04 +0000 UTC]
Would be totally sweet to see this turn from being 2d top-view, into 3d fps view... I may get shunned, but I used to work a little with Game Maker two years ago. I was a master at it.
I dealt with this sort of stuff before.
One would build the scenery and EVERYTHING from birds-eye view, and when you play it, it's a nice little fps...
I look forward to seeing what this becomes.
👍: 0 ⏩: 1
psykopath In reply to adampantha [2009-05-04 12:36:11 +0000 UTC]
I'm not sure what kind of view you mean exactly, but this view is one of the main things IMO that makes a game rogue-like. The DungeonGenerator class I've made for this just returns a Vector of Booleans, that can be used for building any kind of grid based map.
👍: 0 ⏩: 1
adampantha In reply to psykopath [2009-05-04 13:20:35 +0000 UTC]
I see. very clever nevertheless. above my capabilities...
👍: 0 ⏩: 0
HiddenSpartan [2009-05-03 19:03:14 +0000 UTC]
I've been trying to do the same thing with continents in Python
👍: 0 ⏩: 1
psykopath In reply to HiddenSpartan [2009-05-03 22:48:27 +0000 UTC]
Heh, well this doesn't actually have any 'blocks' or 'islands', it just randomly spans into the empty space until it dies (hitting an occupied square, or something like 12% chance). I'm working on another algorithm that actually does do rooms, but it's not as simple as this
👍: 0 ⏩: 2
HiddenSpartan In reply to psykopath [2009-05-03 23:13:27 +0000 UTC]
Perhaps similar might have been a better word.
👍: 0 ⏩: 0
HiddenSpartan In reply to psykopath [2009-05-03 23:09:46 +0000 UTC]
My algorithm (not amazing) managed to generate landmasses with random edges. I'm still working on rivers, islands etc. It still needs work, but it does generate continents, to an extent
👍: 0 ⏩: 0