What stays the same from one frame of a metasprite to the next. More...
#include <sprite.h>
Public Attributes | |
| u8 | basePalette |
| u16 | baseTile |
| u8 | height |
| u8 | pieceSize |
| u8 | size |
| u8 | width |
What stays the same from one frame of a metasprite to the next.
Declare one per character, usually static const; the frame, the position and the flip are given at each call.
| u8 MetaspriteStyle::basePalette |
Palette (0-7) for the items that name none
| u16 MetaspriteStyle::baseTile |
Tile number added to each item's tile offset
| u8 MetaspriteStyle::height |
Height of the whole metasprite in pixels. Read only when flipping
| u8 MetaspriteStyle::pieceSize |
Pixels of one piece (8, 16, 32 or 64): the size size selects in your OBJSEL mode. Read only when flipping
| u8 MetaspriteStyle::size |
OBJ_SMALL or OBJ_LARGE, for every piece
| u8 MetaspriteStyle::width |
Width of the whole metasprite in pixels. Read only when flipping