Chapter 5. Platformer

When we think about games, Super Mario Brothers, the canonical platformer originally released on the Nintendo Entertainment System in 1985, frequently comes to mind. This game illustrates a classic genre that has maintained relevance for decades, and continues to be innovated upon today, both in big production houses and in the indie games scene. It may be obvious, but games like this are called “platformers” because they usually involve jumping from one platform to another. These games are frequently created for the web as well as the console, so HTML5 is a perfect fit.

Getting Started with melon.js

For building this chapter’s game, we’re going to be using melonJS. This engine has a simple API for developing games that ...

Get The Web Game Developer’s Cookbook: Using JavaScript and HTML5 to Develop Games now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.