
Do it yourself task:Super Scratch
Here's the completed code block for the finished game.
In Mission 5, we looked at how to code a side-scrolling platformer. Platformers are one of the most influential genres of games, made famous by Nintendo games such as Donkey Kong and Super Mario. In our version of a side-scrolling platformer, a cat character called Scratch will have to run and jump through the game world to complete the level. He will have to jump on to platforms and avoid the pits and enemy tigers.
The game build for this game is complex and over 300 lines long. You’ve learnt lots of the concepts in the previous games though. Download the code and follow the instructions below to set up the file.
How to make your game work