Coding the game
We now have all the tools we need to start our game. For this game, we will use the wonderful artworks by Kenney Vleugels (http://www.kenney.nl). It will be a classical platformer where the player can move around and jump.
There will be two kinds of enemies, a sort of blob and a flying insect. For the sake of simplicity, the player is immortal and kills the enemies as soon as it touches them. We will describe here each part of the game in the following order:
Basic setup of the game screen
Object-oriented code for the player
Player control
Parallax scrolling
Enemies