Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Sprite Library Data

Data TypeBuildsDescription
8-bit unsigned byteAnyA = Sprite is transparent boolean
8-bit unsigned byteAnySprite is anti-alias boolean
32-bit float big-endianAnySprite default origin X
32-bit float big-endianAnySprite default origin Y
32-bit float big-endianAnySprite internal scale X
32-bit float big-endianAnySprite internal scale Y
8-bit unsigned byte>=9Sprite has raw rgb data boolean
32-bit signed int big-endianAnySprite image width
32-bit signed int big-endianAnySprite image height
32-bit signed int big-endianAnyB = Number of sprite pixels
sequence with size of B of
if A == true:
RGBA8888 bytes
else if A == false:
RGB888 bytes
AnySee RGBA8888 bytes or RGB888 bytes for more information.