11
« on: January 19, 2013, 04:03:21 AM »
I am trying to work on a room generator (maze). The idea is that I have interchangeable pieces that are randomized and loaded together to form a maze.
Now, I know how to spawn individual bricks a la new fxDtsBrick, but it would be tedious to manually code each 'piece' this way. How should I approach this? Potential options:
- Use Blockland's save loading to somehow load each piece
- Use my own save format/loading to handle each piece
Obviously, using Blockland's built in system makes a lot of sense - I am just unsure how to do it... If anyone could either provide a code sample, or point me towards an add-on that does this sort of thing so I can look at the source, it would be much appreciated.
Thanks.