Event that can check movement direction

Get help using Construct 2

Post » Mon Nov 04, 2013 4:36 am

I am trying to find an event that if put into words would say this, "If player is moving right", or, "if player is moving left." Same for up and down. I want it to play the animation if he is moving that direction to fix a bug I had in a previous post. PS Im not looking for answers that say use keyboard controls, I already have that I'm trying to fix a bug with it because he walks the opposites way of the animation if you do a certain key pattern. Here is the capx so you can check out. http://www.mediafire.com/download/jbz9d32daly73zt/Zelda.capx
B
9
S
1
Posts: 42
Reputation: 622

Post » Mon Nov 04, 2013 4:54 am

@taborgreat

You already have your animation tags set up so you can probably use those in conjunction with the changes I posted for you in the other thread. For example, If animation "walkLeft" is playing and Right arrow is down, then set animation to "walkRight".Burvey2013-11-04 04:55:21
B
60
S
20
G
56
Posts: 1,077
Reputation: 35,941

Post » Mon Nov 04, 2013 5:06 am

@taborgreat

Try this, if it doesn't do exactly what you want, it should be a good start at getting you there.

http://www.dennisburch.info/zelda.capx
B
60
S
20
G
56
Posts: 1,077
Reputation: 35,941


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 1 guest