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. ...

Get Foundation Game Design with HTML5 and JavaScript now with O’Reilly online learning.

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