ActionScript: Move object with smooth acceleration and deceleration with inertia

Posted on 10:54 AM

Today a simple sample of code to create an inertia effect in ActionScript 3.0.

The character will start to move with smooth acceleration if you press an arrow key.

You can download the source code here :