Hi. Im working on a enemy that dashes towards the player. it work perfectly fine exept when the player is left of the enemy twice in a row. then instead of dashing left again it dashes right while playing the dashing left animation. I have been struggling with this for hours and i cant figure out what is wrong. any help would be apreciated
dash left animation
Dash right animation
Develop games in your browser. Powerful, performant & highly capable.
Why is the animation upside down?