In this chapter, you learned how to effectively create animations from your sprite sheet as well as create an abstract class to create a foundation for your future game objects. In the next chapter, we will learn how to create our game even more interesting by controlling our animation based on touch inputs. We will learn about collision detection along with creating a missile AI that will spawn from the extreme right of the screen, and our objective will be to dodge the missile.

We will learn about different collision techniques as well as create interactive objects, where we will also add a score on collecting them instead of just incrementing the score with time.

Get Learning Android Game Development now with the O’Reilly learning platform.

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