For keyframe conversions
Methods
-
Convert serialized array into keyframes
"0x100y100 1x150"
to:{ "0": {"x":100, "y": 100}, "1": {"x": 150} }
Name Type Description keyframes
String Resulting
Object keyframes
-
Convert serialized shapes into draw commands for PIXI.Graphics.
Name Type Description str
String Resulting
Array shapes map
-
Fill frames with booleans of true (showing) and false (hidden).
Name Type Description timeline
startFrame
int The start frame when the timeline shows up
duration
int The length of showing
-
Convert the Hexidecimal string (e.g., "#fff") to uint
-
Upload all the textures and graphics to the GPU.
Name Type Description renderer
PIXI.WebGLRenderer Render to upload to
clip
PIXI.DisplayObject MovieClip to upload
done
function When complete