How do I change animation direction while Jumping/Falling?

Get help using Construct 2

Post » Fri Oct 21, 2016 12:04 am

I'm sorry, this is a pretty basic question but it seems I completely forgot how to do it.

I'm working on a small side project and the character is not symmetric. so basically when he goes left or right animations aren't the same. So I can change the animations no problem.

Now, the problem is when I change direction mid-air while jumping or falling, the animation stays the same as it was when jumping.

So I would like if possible to have some suggestion since I just dont seem to be able to find a solution.

Thanks in advance and again, sorry for such a basic question.
B
43
S
12
G
14
Posts: 488
Reputation: 10,570

Post » Fri Oct 21, 2016 2:25 am

Have you tried: player is on floor (inverted)
"Condition" left key is down > set player not mirrored.

Do the same for right except > set mirrored.
B
38
S
18
G
19
Posts: 664
Reputation: 14,112

Post » Fri Oct 21, 2016 12:08 pm

Hey @jeffige thanks!
But on floor it works. Animations are mirrored. The problem happens when Player sprite is Jumping/falling.
Lets suppose I jumped facing right, if mid-air I change direction to face left direction, animation that was playing is inverted. But what I need is for it to play the actual facing left animation.
Player sprite is not symmetric so I cant just mirror the animation, I had to add a jump_right and a jump_left animation.
B
43
S
12
G
14
Posts: 488
Reputation: 10,570

Post » Fri Oct 21, 2016 1:40 pm

I'm a big noob, I managed to fix it. Thanks :)
B
43
S
12
G
14
Posts: 488
Reputation: 10,570


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 8 guests