What You Just Did
Good times are here to stay, because you now know how to animate in 2D XNA at will! Let's take a minute and review what you accomplished this chapter:
You investigated what happens behind the scenes in an XNA game, including the XNA program flow and the XNA game loop.
You drew your first sprite on the screen.
You learned a little bit about the content pipeline and its purpose.
You moved a sprite around the screen.
You played with sprite transparency, horizontal flipping, and other options.
You drew sprites in different Z orders based on the layer depth property.
You drew an animated sprite using a sprite sheet.
You adjusted the framerate of an XNA game.
You adjusted the individual animation speed of a sprite.
Get Learning XNA 3.0 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.