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
32
S
6
G
7
Posts: 140
Reputation: 6,018

Post » Sat Feb 09, 2013 1:17 pm

It should work if you just use enemySprite.Angle
B
57
S
15
G
11
Posts: 912
Reputation: 12,596


Return to How do I....?

Who is online

Users browsing this forum: danul777, tikuna and 1 guest