I don't want to post duplicate threads and even though some of this content was covered here, this is somewhat of a different problem regarding the same issue.
Here I have a player object that moves up/down using deltaPerFrame and then moves back using transition. when they collide with another object. I decided to use deltaPerFrame in the up/down movement because I want that movement to be constant (no acceleration) however for the backward (left) directional movement, I was to use easing to create a "burst" motion and then slowing down at the end.
The problem I am running into is players cannot move up/down while they are moving backwards and it looks like lag or a glitch when it really isn't. I just found out recently that transition. and enterFrame don't play nice together. Does anyone have any ideas for some alternatives that can get this same behaviour? I thought I'd ask for some bright ideas before I deep dive into any code changes. Thanks.
playerMovement.png 74.51KB 0 downloads