Game Development Reference
In-Depth Information
Understanding Animations
There are two key components to creating an event-driven game. The first is creating animations,
and the second is managing the game state. There are several ways to create animations in an iOS
application. In the preceding chapter, we implemented animations to transition from view to view.
In this section, we will review how that was done and show a similar example to flesh out your
understanding. At the end of this chapter, you will take a look at yet a third technique that explores
the backing classes used by the first two examples.
The Static Animation Tasks of UIView
UIView has static tasks designed to simplify the creation of basic animations. These same
4-4 shows the canned animation that occurs when the user switches from
Figure 4-4. Flip animation
 
Search WWH ::




Custom Search