Chapter  10

Game Development: Animation

There are really two types of animations in any application—one that can be described during the development of the application and another that is dynamically defined at runtime. Depending on the type of game you are creating, you may find that all of your animations can be defined beforehand, or you may realize that the location of each game element must be calculated frame by frame. There are no hard and fast rules that tell us which type of animations will be required for a given game. In fact, any game of any complexity will have both types.

In this chapter we are going to look at two strategies for creating animations in Android. The first will be to use the existing View framework to describe the ...

Get Practical Android Projects 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.