Hour 8. More Sprite Transforms: Rotation and Scaling

What You’ll Learn in This Hour:

Rotating a sprite

Scaling a sprite

This hour continues the discussion of sprite transforms started in the preceding hour. We learned that a transform involves changing the properties of a game object so that it is altered in some way. In the context of graphics programming, a transform can be translation (movement), rotation, scaling, or any combination of the three. We also learned the difference between image rotation and position rotation, to prepare for this hour. Now we go beyond basic translation into the more complex transforms of rotation and scaling. The basic tenets of this hour (rotation and scaling) lead to very interesting, useful concepts, such ...

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

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