Hour 13. Sprite Transform Animation
What You’ll Learn in This Hour:
• 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 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.