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

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.