Chapter 5. Platform Fun

Now that we have a good grounding in the basics of building a game, we are ready to create more complex and more efficient projects. In this chapter we are going to develop a classic platforming game with an epic boss battle. We will focus on building systems and utilizing reusable scripts to simplify our code and save time. This will also reduce the total size of the game, making it faster to download.

The gameplay itself will consist of a player character that can run around the world, jump onto platforms, and shoot in several directions. The player will need to defeat a giant machine Boss that will have three distinct stages. In the first stage the player will need to blow up three powerful Cannons that are exposed for ...

Get HTML5 Game Development with GameMaker now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.