Skeleton2DAnimationFrame

Famille: Skeleton · Une forme

Ce que fait la commande

Skeleton2DAnimationFrame règle 2DAnimationFrame sur un objet Skeleton. Il prend iSkeleton (un entier), anim (une chaîne), time (un flottant) et tweentime (un flottant), et ne rend rien.

Syntaxe

Skeleton2DAnimationFrame(iSkeleton integer, anim string, time float, tweentime float)

Paramètres

NomType
iSkeletoninteger
animstring
timefloat
tweentimefloat

Chaque forme rend

rien

Exemple · engendré

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

Skeleton2DAnimationFrame est appelé avec des valeurs du type que sa signature réclame. La boucle DO … LOOP n'est pas décorative : un programme BASIC classique s'arrête dès qu'il n'a plus de lignes, et c'est Sync() qui dessine l'image.

34 commandes dans Skeleton