DeccelerateLayerX
Jump to navigation
Jump to search
Prototype
DeccelerateLayerX,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
DeccelerateLayerX,0,0,0,0,0,0.01