Chapter     8

Drone Grid Case Study: Creating the Enemies

This chapter will cover the creation of the enemies for the Drone Grid case study. Covered first are arena objects, which have a relatively simple behavior. Next, I cover the tank enemy, which has much more complex behavior. In order to understand this behavior, I cover the basics of a finite state machine. Next, I cover the finite state machine and the related classes specific to our computer controlled tank. I then cover other classes needed to implement the tank in our game. Finally, I discuss a hands-on example that uses the classes I have previously covered in a working example.

Creating Arena Objects

Arena objects are simple enemy objects that move through the gravity grid area. ...

Get Beginning Android 3D Game Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.