Changes

Jump to navigation Jump to search
142 bytes added ,  14:38, 21 April 2020
m
Line 261: Line 261:  
|-
 
|-
 
| <tt>animate {{t|actor}} {{t|flip}} {{t|loop}} {{t|frame duration}} {{t|frames...}}</tt>
 
| <tt>animate {{t|actor}} {{t|flip}} {{t|loop}} {{t|frame duration}} {{t|frames...}}</tt>
| Animate a named actor, using one or more {{t|frames}} from their sprite sheet, for {{t|frame duration}} milliseconds per frame. {{t|flip}} indicates whether to flip the sprites along the Y axis; {{t|loop}} indicates whether to repeat the animation until <tt>stopAnimation</tt> is used.
+
| Animate a named actor, using one or more {{t|frames}} from their sprite sheet, for {{t|frame duration}} milliseconds per frame. {{t|frames}} are indexed numerically, based on 16x32 peices of the image. This index increases as you go from left to right, starting from 0. {{t|flip}} indicates whether to flip the sprites along the Y axis; {{t|loop}} indicates whether to repeat the animation until <tt>stopAnimation</tt> is used.
 
|-
 
|-
 
| <tt>attachCharacterToTempSprite {{t|actor}}</tt>
 
| <tt>attachCharacterToTempSprite {{t|actor}}</tt>
1

edit

Navigation menu