Roll through Candyland and avoid the obstacles! Press space to jump and avoid obstacles.
1) Choose a character and background.
2) Create a counter that will increase over time. Use this as the player's score.
3) Have your character rotate continuously.
4) Make your character fall to the bottom of the screen.
5) Create an invisible "floor" for your character that it can't fall past.
6) Have your character jump when the space key is pressed.Play this demo in full screen.
7) Create an obstacle.
8) Have the obstacle appear at a random height on the screen.
9) Have the obstacle move towards your character and continue to reappear each time it passes the edge of the screen.
10) Have the obstacle speed up as the score increases.
11) Have your game end if an obstacle touches your character.