Chapter 15. Ready. Aim. Fire!

If you want some tanks to battle in a level, it only makes sense that you are going to need some way for the tanks to battle each other. In this case, you allow the tanks to move and rotate the gun turrets (and barrels) and then fire at the enemy. You finished the implementation of the tank moving and controlling the turret and barrel; now you can start adding some of the game play elements and allowing that player to fire.

In this chapter, you'll learn

  • How to implement bullets

  • How to finish up the player

  • How to add sounds

Get Beginning 3D Game Programming 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.