Ce que fait la commande
PlaySkeleton2DAnimation joue 2DAnimation sur un objet Skeleton. Il prend iSkeleton (un entier), anim (une chaîne), starttime (un flottant), loop (un entier) et tweentime (un flottant), et ne rend rien.
Syntaxe
PlaySkeleton2DAnimation(iSkeleton integer, anim string, starttime float, loop integer, tweentime float)Paramètres
| Nom | Type |
|---|---|
| iSkeleton | integer |
| anim | string |
| starttime | float |
| loop | integer |
| tweentime | float |
Chaque forme rend
rien
Exemple · engendré
PlaySkeleton2DAnimation(1, "value", 1.0, 1, 1.0)DO Sync()LOOPPlaySkeleton2DAnimation 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.