Detecting Sprite Direction

Get help using Construct 2

Post » Sat Feb 09, 2013 1:14 pm

I have a sprite with platform behavior following a pathfinding object in the X axis and I am trying to find a way to switch the sprite frames to match the direction it's moving. I have the jumping and falling working I just can't find a way to get left and right. Using "Platform.MovingAngle" isn't working. Thanks for taking a look guys.

http://dl.dropbox.com/u/9299424/html5/index.html

B
31
S
6
G
7
Posts: 140
Reputation: 5,983

Post » Sat Feb 09, 2013 1:17 pm

It should work if you just use enemySprite.Angle
B
56
S
15
G
10
Posts: 910
Reputation: 11,972


Return to How do I....?

Who is online

Users browsing this forum: PixelatedTrip and 0 guests