-=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- (c) WidthPadding Industries 1987 0|674|0 -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=- -=+=-
SoCoder -> Showcase Home -> Apps and Utilities


 
realtime
Created : 20 September 2009
Edited : 16 April 2014
System : Windows
Language : Blitz

dungeon maker algorithm

a dungeon maker algorithm

https://socoder.net/index.php?download=3506
Screenshots
trying some algorithm for making dungeon
and here's the result

feature:
rooms, doors and paths.
large room, with variation in sizes, shapes and number of doors

2D looks


3d inside looks


3d outside looks


download here
dungeon maker 3d blitz basic

 

Comments


Sunday, 20 September 2009, 21:03
Mog
Pretty good stuff
Sunday, 20 September 2009, 23:57
Afr0
Yeah!
Did you happen to stumble upon raycasting?
Monday, 21 September 2009, 19:58
realtime
just using blitz3d function and light
Wednesday, 23 September 2009, 17:16
realtime
You can get the code from my blog.
If you don't understand the languges, that would be find. just copy the code inside the box.

Linkage
Wednesday, 23 September 2009, 17:40
Jayenkai
I love the idea of randomly generated dungeons, and infact used one WAY way back in my "The Quest" game.
But, that game was pants, and so far I've not really done anything cool with one.

The 3D version looks really neat, though.

Are you planning to use this in a game, at all?
Wednesday, 23 September 2009, 22:20
Afr0



just using blitz3d function and light


Are the walls 3D blocks? Or are they raycasted somehow?
Thursday, 24 September 2009, 02:59
JL235
Looks 3D to me!
Thursday, 24 September 2009, 23:26
blanko1324
It's a thing of beauty. I want to see it develop into something more.
Friday, 25 September 2009, 07:30
realtime
the walls are 3d block of course? other fxs are blitz3d builtin function.

I have several games that use random mazes: pacmaze, battle city 3d and Save the penguin.

for the dungeon, I don't know if I want to create a game from it. There are still several algorithm, but this one I think is the best.

thanks for all the comment and support
Wednesday, 16 April 2014, 02:23
realtime
source code is now available
Wednesday, 16 April 2014, 02:42
Jayenkai
LOL! Five years later