Your second challenge of white hat is to create a platformer using the simple gravity code from the previous lesson, you will need to first create a level made up of various platforms of a certain colour.
- Make various platforms (one colour)
- Have at least 3 levels, you could use either a portal to go to the next backdrop or when you reach the other edge of the screen it goes to the next level
- Have some kind of obstacle such as lava or a spike which if you touch you go back to the start or lose a life
- Have a bad character you need to avoid, similar to that in the maze challenge
Here is an example of a simple platformer: