Jumpy Clone
We finished our Jumpy clone this week
We first set up our tile map level, added our main character. We then set its spawn point and set up gravity
The next thing we did was use the space key to jump. We added a fix so we can only jump when our feet are on the ground ( so no double jumping!)
The final thing we did was set up enemies to spawn towards us
We got the computer to pick either 0 or 1
Depending on what number was selected, a different enemy would spawn
Once this was working we set up the scoring system and the the game over mechanics if the enemies hit us
Have a look at the full code below