O'Reilly logo

3D Game Programming for Teens, Second Edition by Eric Grebler, Maneesh Sethi

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

Planning the Game—“3D Gallery”

Here is the breakdown of the game that we will now create called “3D Gallery.” The game will be a 3D version of a shooting gallery at a local fair. The player will shoot at different objects moving around the game environment. The goal of the game is to find and shoot all of the moving objects. Here are the key points of the game:

  • The game will be a first-person shooter, meaning that the player won’t actually be seen.

  • The player will have a gun that will be seen at the bottom of the screen wherever the player is moved.

  • When the player fires the gun (by pressing the space bar), a missile will fly out of the gun, moving forward and slightly upward.

  • There will be five different types of items in the gallery.

  • The targets ...

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