I want to create a very simple platformer-type game in flash with a small, randomly generated level. To start off, I want it to be as simple as having a few platforms randomly placed on the screen, but with certain rules so as to make the game playable and challenging.
What do I need to learn first before trying to do this? I know how to assign randomly generated x and y values to the platform objects, but how should I control this randomness to create playable patterns? For example,
http://img.photobuck...tar_xe/lvl1.jpg
http://img.photobuck...r_xe/lvl2-1.jpg
http://img.photobuck...tar_xe/lvl3.jpg
lvl 1 and 2 are examples of something that could be playable. The user can jump from platform to platform starting from the bottom to reach the top. These two examples are something I'd like to see when randomly creating a level.
Level 3, though, is what could happen if I simply assigned random numbers to the x and y values of the objects. It can end up with a level where the platforms are placed in such a way that the user has no way of reaching the top.
I would appreciate it if somebody could point me in the right direction as to how to produce randomly generated levels that are playable.
This post has been edited by KBoogle: 14 November 2012 - 09:06 AM

New Topic/Question
Reply



MultiQuote








|