DeccelerateLayerY
Revision as of 00:39, 9 May 2015 by Horikawa otane (talk | contribs) (Created page with "Category: LunaDLL Category: Autocode Commands ==Prototype== DeccelerateLayerY,LAYER NUMBER,DECCEL TO,-,-,Active time,SPEED ==Description== Puts a friction or air resi...")
Prototype
DeccelerateLayerY,LAYER NUMBER,DECCEL TO,-,-,Active time,SPEED
Description
Puts a friction or air resistance-like decceleration on a layer. The layer's speed will decrease by SPEED every frame, to a minimum of DECCEL TO.
Notes
Deccelerate by a small amount or you won't notice any Decceleration.
Examples
// Default layer will eventually deccelerate down to 0 speed
DeccelerateLayerY,0,0,0,0,0,0.01