#45

Accleration, decelration and going the other way AS2

Acceleration:

Speed= Speed + acc
this._x = this._x + Speed

or

Speed = Speed * 1.1

Deceleration 

Speed = Speed * .75

Reverse Direction

Speed = Speed * -1 or acc = acc * -1

Leave a comment