 |
Sprite16 |
Function* (tigcc.a) |
Draws a sprite with a width of 16 pixels or less on the screen.
Sprite16 works exactly like Sprite8, but it takes sprites with a width of 16 pixels.
sprite is now a pointer to the array of unsigned short integers which defines the sprite.
So, to define a sprite (or sprite mask), use something like
static const unsigned short sprite[] = {...};
See Sprite8 for more info about sprites, and
ClipSprite16 for a version that handles out-of-screen sprites gracefully.
See also: ClipSprite16