O'Reilly logo

HTML5 Game Development HOTSHOT by Makzan

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Mission accomplished

Throughout the eight tasks, we have created a running game where a player needs to avoid the obstacles while running, as shown in the following screenshot:

Mission accomplished

We learned several key concepts in this project, including the Game loop, requestAnimationFrame, the concept of parallax scrolling, keyboard input, and spritesheet animation.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required