What it does
PlaySkeleton2DAnimation plays 2DAnimation on a Skeleton object. It takes iSkeleton (an integer), anim (a string), starttime (a float), loop (an integer) and tweentime (a float), and returns nothing.
Syntax
PlaySkeleton2DAnimation(iSkeleton integer, anim string, starttime float, loop integer, tweentime float)Parameters
| Name | Type |
|---|---|
| iSkeleton | integer |
| anim | string |
| starttime | float |
| loop | integer |
| tweentime | float |
Every form returns
nothing
Example · generated
PlaySkeleton2DAnimation(1, "value", 1.0, 1, 1.0)DO Sync()LOOPPlaySkeleton2DAnimation is called with values of the types its signature asks for. The DO … LOOP is not decoration: a classic BASIC program ends the moment it runs out of lines, and Sync() is what draws the frame.