AccelerateLayerX

From Moondust Wiki
Revision as of 00:36, 9 May 2015 by Horikawa otane (talk | contribs) (Created page with "Category: LunaDLL Category: Autocode Commands ==Prototype== AccelerateLayerX,LAYER NUMBER,MAX SPEED,-,-,Active time,SPEED ==Description== Increases the X speed of a l...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Prototype

AccelerateLayerX,LAYER NUMBER,MAX SPEED,-,-,Active time,SPEED

Description

Increases the X speed of a layer, up to MAX SPEED. Adds by SPEED every frame.

Notes

Accelerate by a small amount or you won't notice any acceleration.

Examples

// Slowly accelerate default layer to the right, until it hits max speed of 4
AccelerateLayerX,0,4,0,0,0,0.01