Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

DarkBASIC Discussion / maze building

Author
Message
Northern Lights
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Minnesota, USA
Posted: 25th Oct 2003 02:17
I need to know how to build a randomly generated 3d maze. Any Ideas?
Reaperman
21
Years of Service
User Offline
Joined: 9th Sep 2003
Location: Kent, England
Posted: 25th Oct 2003 04:57
What kind of maze?

2D, 3D, Iso, Sprite, 3d Model, etc.

Tell us and I am sure people could help you.
ReD_eYe
22
Years of Service
User Offline
Joined: 9th Mar 2003
Location: United Kingdom
Posted: 25th Oct 2003 11:19
use cubes and just place them randomly. although that would make a rubbish maze, theres a 2d one in code snippets that makes good mazes


Go on, click on my signature image, you know you want to
Favourite smiley>>>
Northern Lights
21
Years of Service
User Offline
Joined: 12th Oct 2003
Location: Minnesota, USA
Posted: 25th Oct 2003 18:16
3D
Jess T
Retired Moderator
21
Years of Service
User Offline
Joined: 20th Sep 2003
Location: Over There... Kablam!
Posted: 25th Oct 2003 18:27
There's all sorts of ways you cuold do it, BUT...

You need to be able to specify a start and end to the maze (assuming you want a way in and a way out) so that may take a bit of programing to make sure objects don't block your entry/exit point...

Also, when you make the maze, make it with Plains, it'll load faster, and takes up less space on the matrix (considering it has almost no depth)

When you generate the maze, you need to make sure that there is a clear path to the exit, so i suggest generating this path first, then generating all the plains around that in random order (but with some logic to it, as to not just cut off area's completely etc.).

Hope That Helped...


Team EOD :: Programmer/Logical Engineer/All-Round Nice Guy
Mussi
22
Years of Service
User Offline
Joined: 27th Jan 2003
Location: Netherlands
Posted: 27th Oct 2003 23:10
ummm... don't know what you're gonna use it for, but a big mistake gamedevelopers make is putting mazes in their game, you're interest decreases each second cuz the goal is so easy( to get to the end of level ) but it takes so long before you get there which will be very frustating when you're always taking the wrong turn

Specs: AMD Athlon 1800, 256 DDRRam 266mhz, 80GB HD 7200rmp U133, Geforce 4 Ti4400 128mb ddr sdram
highschool gamedude
21
Years of Service
User Offline
Joined: 23rd Sep 2003
Location:
Posted: 28th Oct 2003 04:45
i happen to like mazes! oh yeah and..... penguins rock.....

any tips (i just started with this program)

Login to post a reply

Server time is: 2025-05-21 09:40:11
Your offset time is: 2025-05-21 09:40:11