Society of Robots - Robot Forum

Software => Software => Topic started by: voyager2 on June 26, 2011, 07:50:11 PM

Title: Know any good maze generators??
Post by: voyager2 on June 26, 2011, 07:50:11 PM
*Yes I know this is a bit off-topic, but I figured maze generating is probably similar to maze solving*
Please do not flag as spam

_______________________________________________________________________________

Anyway I need a simple maze generator, in Pseudo code, or in flow chart form...
I'm not a fan of converting C++ or Java to the most horrible language ever: GML.
(Yes GML, Game Maker Language for the SoR Game!)

Oh and if your maze generating code helps lots I might put you in the credits...


 Voyager2
Title: Re: Know any good maze generators??
Post by: adanvasco on June 28, 2011, 09:33:00 AM
Does this help at all? http://en.wikipedia.org/wiki/Maze_generation_algorithm (http://en.wikipedia.org/wiki/Maze_generation_algorithm) Check the Prim's Algorithms.
Title: Re: Know any good maze generators??
Post by: voyager2 on June 28, 2011, 06:36:45 PM
Does this help at all? http://en.wikipedia.org/wiki/Maze_generation_algorithm (http://en.wikipedia.org/wiki/Maze_generation_algorithm) Check the Prim's Algorithms.
It seems simple enough...
I might give it a try!
Looks like a random number generator or two, a while statement, an array, and an IF, else IF.
Defiantly doable in GML (I hope)
Thanks


 Voyager
Title: Re: Know any good maze generators??
Post by: adanvasco on June 28, 2011, 08:07:50 PM
BTW, have you ever tried the Dark GDK from http://www.thegamecreators.com/?m=view_product&id=2128 (http://www.thegamecreators.com/?m=view_product&id=2128)? I tried it a while ago and I remember it's pretty easy if you are familiar with C++. I remember creating 3D maps and cameras was piece of cake. I even managed to complete one of their tutorials to create a simple FPS.

Anyway, good luck on your endeavours!