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