Skip to content

anim-format (runtime format) / FlatSprite

Interface: FlatSprite ​

Properties ​

PropertyTypeDescription
alphanumber-
c?[number, number, number, number, number, number, number, number]combined colour transform of the instances it sits in (SymbolItem.c)
masks?FlatSprite[][]mask layers clipping this sprite: it shows only inside EVERY group, a group being the union of its sprites (symbol-root space)
matrixMatrixsprite-local → symbol-root matrix
spritestringthe sprite ("" for a text)
text?stringa text item: its key in AnimFile.texts

HereSplash — 2D animation for the web