How do I get the player's moving angle

Get help using Construct 2

Post » Wed May 28, 2014 7:48 pm

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?
B
2
Posts: 3
Reputation: 156

Post » Wed May 28, 2014 8:03 pm

Actually i ended up finding it, however, it is a little unpredictable when going in diagonal directions.
B
2
Posts: 3
Reputation: 156


Return to How do I....?

Who is online

Users browsing this forum: khelaghor, R0J0hound and 6 guests