Advertisement

Building the Flak Cannon Game Loop

  • Jeff Fulton
  • Steve Fulton

Abstract

In Chapter 4, we built all the assets and classes we will need to make the Flak Cannon game. In this chapter, we will put everything together into something that we can play and build on. To recap a bit, Flak Cannon is a game much like the classic Atari Missile Command. Your job is to defend your fleet of ships against kamikaze planes that are trying to destroy them. To defend the ships, you use a flak gun. With the flak gun, the player does not shoot directly at the planes, but instead shoots where they will be. The flak explosion is the lethal part of the equation, not the shot itself.

Keywords

Collision Detection Nest Loop Mouse Button Public Function Game Class 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

Copyright information

© Jeff Fulton and Steve Fulton 2010

Authors and Affiliations

  • Jeff Fulton
  • Steve Fulton

There are no affiliations available

Personalised recommendations