Random level generation

Since our project is an infinite runner type of game, it needs to have an infinitely running level generator. We only build some parts to be used in our levels. Those parts can be put in our level generator. This will put them together in a random order. A new part of the level will be generated everytime you advance to the next piece.

The path can also split at certain points. Once you choose a path from a split the other path is destroyed.

randomLevel1.gif

  • Gilles Steyt
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s