How do I make my sprite crouch?

Get help using Construct 2

Post » Thu Jul 21, 2016 1:36 pm

So, I have three animation states: CrouchDown (For when the down button is first pressed), Crouch (A looped Animation that takes over while the down button is held once CrouchDown is complete), and CrouchUp (For when the Down Button is released)

I tried the following Event Sequence:
If On Floor->Hold Down Arrow->Play Animation:CrouchDown.

Problem: If I press the down button. The "Idle" animation simply freezes in place. "CrouchDown" never plays. However, if I JUMP while the down Key is held, then the "CrouchDown" will play during ascent. While it might be a bit amusing to see my sprite do a bunny hop, I'd like the sequence to work properly. What should I do?
B
3
Posts: 5
Reputation: 185

Post » Thu Jul 21, 2016 1:48 pm

We'd need to see exactly what you are doing. Post a CAPX or at least images of events.
ImageImageImage
B
71
S
22
G
258
Posts: 3,791
Reputation: 143,198

Post » Thu Jul 21, 2016 4:24 pm

Image
B
3
Posts: 5
Reputation: 185

Post » Thu Jul 21, 2016 4:38 pm

Event 5 is conflicting. Maybe move condition 7 into event 6, so both are checked together, then add an Else and then do the NOT Platform is moving check.
ImageImageImage
B
71
S
22
G
258
Posts: 3,791
Reputation: 143,198


Return to How do I....?

Who is online

Users browsing this forum: Yahoo [Bot] and 9 guests