AccelerateLayerY

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

Prototype

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

Description

Increases the Y 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 upwards, until it hits max speed of 4
AccelerateLayerY,0,4,0,0,0,0.01