PlaySkeleton2DAnimation

Family: Skeleton · One form

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

NameType
iSkeletoninteger
animstring
starttimefloat
loopinteger
tweentimefloat

Every form returns

nothing

Example · generated

PlaySkeleton2DAnimation(1, "value", 1.0, 1, 1.0)DO  Sync()LOOP

PlaySkeleton2DAnimation 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.

34 commands in Skeleton