Skip to content

anim-format (runtime format) / AnimWarp

Interface: AnimWarp ​

a warp on a sprite item: the mesh (key of AnimFile.meshes) and how far each point moved (absent = not moved)

Properties ​

PropertyTypeDescription
d?number[]-
gstring-
s?numbersoftness 1..3 (softMesh), absent = 0
sk?AnimSkinthe mesh follows bones (rig.ts): d is then only its own pulls, the player works the drawn ones out from the rig's pose each frame. Additive in v1: an older player draws it unbent.

HereSplash — 2D animation for the web