Changes

Jump to navigation Jump to search
Documenting temporaryanimatedsprite command.
Line 7,280: Line 7,280:  
* <samp>color {{t|color}}</samp>: apply a [[#Color fields|standard color]] to the sprite.
 
* <samp>color {{t|color}}</samp>: apply a [[#Color fields|standard color]] to the sprite.
 
* <samp>hold_last_frame</samp>: after playing the animation once, freeze the last frame as long as the sprite is shown.
 
* <samp>hold_last_frame</samp>: after playing the animation once, freeze the last frame as long as the sprite is shown.
* <samp>ping_pong</samp>: '''[TODO: document what this does]'''
+
* <samp>ping_pong</samp>: Causes the animation frames to play forwards and backwards alternatingly. Example: An animation with the frames 0, 1, 2 will play "0 1 2 0 1 2" without the ping_pong flag and play "0 1 2 1 0" with the ping_pong flag.
 
* <samp>motion {{t|x}} {{t|y}}</samp>: Sprite moves based on the values set. Numbers can be decimals or negative.
 
* <samp>motion {{t|x}} {{t|y}}</samp>: Sprite moves based on the values set. Numbers can be decimals or negative.
 
* <samp>acceleration {{t|x}} {{t|y}}</samp>: '''[TODO: document what this does]'''
 
* <samp>acceleration {{t|x}} {{t|y}}</samp>: '''[TODO: document what this does]'''
19

edits

Navigation menu