I've seen some things on the construct website about MovingAngle, but i can't seem to find it when i'm trying to add an action. What i'm trying to do is set the player to get knocked back once it is hit by an enemy. I figured the easiest way to do it was to get the current moving angle of the player then subtract it by 180 and move it a certain amount of pixels. Any help?
Develop games in your browser. Powerful, performant & highly capable.
Actually i ended up finding it, however, it is a little unpredictable when going in diagonal directions.