O'Reilly logo

Sams Teach Yourself Windows® Phone 7 Game Programming in 24 Hours by Jonathan S. Harbour

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required