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 14. Sprite Frame Animation

What You’ll Learn in This Hour:

Drawing animation frames

Preparing the animation

Calculating frame position

Animation over time

We have finally arrived at the sprite frame animation hour, after talking about it for so long. This is an important subject that is really not at all related to color or transform animations that have been developed over the past two hours, but we’re going to make them work together anyway! To reiterate, a sprite is a 2D representation of a game entity that usually must interact with the player in some way. A car or house might be rendered in 2D and interact with the player by simply getting in the way, stopping the player by way of collision physics, which we studied back in ...

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