Problem with animations playing when walking and jumping

Get help using Construct 2

Post » Thu Sep 29, 2016 4:59 pm

Basically everytime I jump, it still plays walking animation mid air.
B
7
Posts: 26
Reputation: 332

Post » Thu Sep 29, 2016 5:05 pm

Follow the how to do a platformer turorial made by Ashley. I had the same problem.
It had to do with some of the conditions of Events
B
9
S
2
G
2
Posts: 32
Reputation: 1,595

Post » Fri Sep 30, 2016 12:02 am

If we don't know what you are doing then we don't know what you are doing wrong...
ImageImageImage
B
39
S
22
G
11
Posts: 486
Reputation: 9,913

Post » Sat Oct 01, 2016 5:22 pm

Image
B
7
Posts: 26
Reputation: 332

Post » Sat Oct 01, 2016 6:04 pm

Because the walk keys can be pressed when in mid air you need an inverted 'is jumping' condition on the walk events to block out the animation change. If you do want to move left and right when in mid air though you'll have to split out the walk animation and simulate press left/right actions.
B
45
S
15
G
73
Posts: 2,008
Reputation: 43,398

Post » Mon Oct 03, 2016 12:32 am

Yeah, what @plinkie said. That is why they have a category under platform events called 'animation triggers', to make it easier to separate out.

To reiterate, the way you have your events if the left or right arrow is down at anytime it will begin playing the walking animation. So your jump animation does start but is immediately changed back to the walking one.
ImageImageImage
B
39
S
22
G
11
Posts: 486
Reputation: 9,913


Return to How do I....?

Who is online

Users browsing this forum: HenryPK and 6 guests