Data Fields | |
int | x |
int | y |
int | w |
int | h |
uint32_t | flags |
TLN_Palette | palette |
TLN_Spriteset | spriteset |
int | index |
bool | enabled |
bool | collision |
Sprite state
int TLN_SpriteState::x |
Screen position x
int TLN_SpriteState::y |
Screen position y
int TLN_SpriteState::w |
Actual width in screen (after scaling)
int TLN_SpriteState::h |
Actual height in screen (after scaling)
uint32_t TLN_SpriteState::flags |
flags
TLN_Palette TLN_SpriteState::palette |
assigned palette
TLN_Spriteset TLN_SpriteState::spriteset |
assigned spriteset
int TLN_SpriteState::index |
graphic index inside spriteset
bool TLN_SpriteState::enabled |
enabled or not
bool TLN_SpriteState::collision |
per-pixel collision detection enabled or not
Last update on Tue Aug 29 2023 for Tilengine 2.15.1