O'Reilly logo

Practical Android 4 Games Development by J. F. DiMarzio

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

Chapter 6

Adding the Enemies

Your skill set as an Android game developer is getting much broader. In the previous chapter alone, you added your first playable character, worked with sprite animation, and created a basic listener to allow the player to control the character; for a basic 2-D shooter, your game is really shaping up.

In this chapter, you will be creating a class to help you manage your textures. You will also be creating an enemy class that will be used to create the three different types of enemies in Star Fighter. In the next chapter, you will create a basic AI system for these enemies.

Midgame Housekeeping

Remember, the point of this book is to help you through the process of creating a game, from beginning to end. Game creation ...

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