Hello all,
In my recent tech demos I have been employing a rather simplistic method of level generation. I would simply make an array and loop through it and if the current element of the array is equivalent to a certain number then I would draw a certain part of the level. Thanks to this method I have been able to make some cool tech demos and it was shown to me from a friend.
Like so:
BYTE Level[25] = {0, 0, 1, 0, 0,
0, 0, 1, 0, 0,
0, 0, 1, 0, 0,
0, 0, 1, 0, 0,
0, 0, 1, 0, 0};
Let's say 1 means I draw a portion of the floor. Well I would end up with a nice pathway in the backbuffer with the current array and a associated texture.
Some of you or maybe all of will probably be familiar with this simple method of level generation. However, what other non-random (or random I guess) methods of level generation should I aim to tackle that will be more dynamic? Any answer would be appreciated.
-Marcus Hansen