O'Reilly logo

Foundation Game Design with HTML5 and JavaScript by Rex van der Spuy

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

9781430247166_CO-01.jpg

Chapter 9

Making Video Games

How can you take what you know about canvas, sprites, and collision detection and put them together to make a real game? This chapter will show you how. You’re going to learn how to make a game called Alien Armada, shown in Figure 9-1. In this game, you will try to shoot down the invading aliens before they reach the bottom of the screen. It’s just about the simplest video game you can make that contains all the elements for making most kinds of action arcade games. I’ll walk you through each step of the development process, and at the end of the chapter you’ll have a solid model for building video games of all kinds. ...

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