RE: Depth-First Search Maze Generation resource
by James Girard · in Torque Game Engine · 07/24/2009 (10:28 am) · 4 replies
www.garagegames.com/community/resources/view/6575
Anyone know a way to load the difs and dts's from this?
Anyone know a way to load the difs and dts's from this?
About the author
#2
# function mazeGenerate(%fileName,%cellMaxX,%cellMaxY){
#
# //Pararmeters: %filename Name of maze file. The *.maz and *.maz.2 are added.
# // %cellMaxX Maximum number of horizontal cells.
# // %cellMaxY Maximum number or vertical cells.
#
# //Return: nothing
#
# //Description: Generates maze data in two formats. Data used to assemble random
# // maze from independent DIF Interiors, DTS Shapes, and Images.
#
# %filename = "starter.fps/data/missions/" @ %filename @ ".maz"; //change directory path as needed.
07/25/2009 (3:52 pm)
read the instructions pal:# function mazeGenerate(%fileName,%cellMaxX,%cellMaxY){
#
# //Pararmeters: %filename Name of maze file. The *.maz and *.maz.2 are added.
# // %cellMaxX Maximum number of horizontal cells.
# // %cellMaxY Maximum number or vertical cells.
#
# //Return: nothing
#
# //Description: Generates maze data in two formats. Data used to assemble random
# // maze from independent DIF Interiors, DTS Shapes, and Images.
#
# %filename = "starter.fps/data/missions/" @ %filename @ ".maz"; //change directory path as needed.
#3
07/26/2009 (5:17 am)
I did, I'm wanting to know how to load the difs with the file, all it does is create a file with the extension .maz I know how to use it I'm just wanting to know how to load the difs with it.
#4
@Greg, I can't figure out from the original resource how the others got this to work either.
07/28/2009 (7:44 pm)
@Javier, So would you like to share with us how you loaded your .dif's and the .maz file together for use?@Greg, I can't figure out from the original resource how the others got this to work either.
James Girard