Another definition for "sprite"

The term "sprite" predates XNA itself, and it can be used to refer to any method of displaying a bitmap over an existing background. In Asteroid Belt Assault, we will expand our use of the term "sprite" to include a class that stores both the bitmap image associated with the sprite, information about its current location on the screen, animation frames, and the code necessary to update and draw the object.

Building the Sprite class

The Sprite class will be used as the basis for all of the objects drawn in Asteroid Belt Assault. It will support collision detection and frame-based animation.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.217.4.206