LayerXSpeed

From Moondust Wiki
Revision as of 00:35, 9 May 2015 by Horikawa otane (talk | contribs) (Created page with "Category: LunaDLL Category: Autocode Commands ==Prototype== LayerXSpeed,LAYER NUMBER,STOP?,-,-,Active time,SPEED ==Description== Sets the X (left and right) speed of...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Prototype

LayerXSpeed,LAYER NUMBER,STOP?,-,-,Active time,SPEED

Description

Sets the X (left and right) speed of LAYER NUMBER to SPEED. If STOP? is 1, the layer stops when this command ends.

Examples

// Move layer 0 ("default" layer) to the right at speed 2.5. Stop after 10 seconds
LayerXSpeed,0,1,0,0,600,2.5

// Move layer 0 ("default" layer) to the left at speed 2.5. Stop after 10 seconds
LayerXSpeed,0,1,0,0,600,-2.5