Chapter 19. Example Game: Meteor Defense

This hour guides you through the design and development of another complete game. You’ve spent the past couple of hours learning how to animate the appearance of sprites and spruce up the background of games, and it’s now time to put this knowledge to work in an entirely new game. The game is called Meteor Defense, and it is loosely based on the classic Missile Command arcade game. Seeing as how there have been several news reports in the past few years about the potential of a significant meteor collision with the Earth, I thought it might make a neat premise for a game. It wouldn’t necessarily be a bad idea to have a missile-based system for stopping incoming meteors, which is the premise behind the game ...

Get Sams Teach Yourself Game Programming in 24 Hours 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.