Hour 13. Sprite Transform Animation

What You’ll Learn in This Hour:

Transform animations

Position transforms

Rotation and scaling transforms

Combining multiple animations

The preceding hour saw the introduction of a powerful new Animation class that added color animation effect capabilities to Sprite objects. By subclassing Animation, we can create specific animation effects in reusable classes, such as the CycleColor class that demonstrated color cycling over time. There are many more possibilities with the Animation class that have not been explored yet, so we will spend this hour delving into new aspects of animation that are easy to implement and that produce great results for relatively little effort. Specifically, we’ll look at ...

Get Sams Teach Yourself Windows® Phone 7 Game Programming in 24 Hours now with O’Reilly online learning.

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