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 ...

Get Practical Android 4 Games Development 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.