Hey there…
I can’t seem to figure this out, I’m trying to make easing movement using the arrow keys…!?
Here’s what I’m working with:
[AS]
speed = 20;
MC.onEnterFrame = function() {
if (Key.isDown(Key.UP)) {
rotrad = MC._rotation/57;
ymove = speedMath.sin(rotrad);
xmove = speedMath.cos(rotrad);
_x += xmove;
_y += ymove;
}[/AS]
Any help would be awesome