Animations don't play when changing controls on platformer

Get help using Construct 2

Post » Wed Dec 31, 2014 10:09 pm

Everything is in the image.

Image
B
7
Posts: 28
Reputation: 333

Post » Thu Jan 01, 2015 4:07 am

It's because of your use of else. Your setting your animations to idle if A isn't down or D isn't down or W isn't down
B
60
S
20
G
56
Posts: 1,077
Reputation: 35,941

Post » Thu Jan 01, 2015 5:18 am

make something like this:
cb.platform.speed = 0 -> animation "idle"

so if the charakter is not moving he goes to idle mode
Read this:
yeah, i really like to say that you should "Read this:"
B
12
S
5
Posts: 138
Reputation: 1,490

Post » Thu Jan 01, 2015 6:23 am

"sorry for my bad english"

Keyboard = W is down = Animation is jump
not mirrored
Keyboard = D is down = Animation is right
not mirrored
Keyboard = A is down = Animation is right(left)
mirrored
Keyboard = S is down = Animation crouch
not mirroed

without "ELSE"
and then "Platform not moving" (<--means your chara) = set Animation to Idle



that i use for my platformer testgame :D
B
5
Posts: 3
Reputation: 231

Post » Thu Jan 01, 2015 9:35 am

w= up use jump and underneath add animation
set animation to jump
like this demo
You do not have the required permissions to view the files attached to this post.
B
245
S
37
G
15
Posts: 1,940
Reputation: 40,089

Post » Thu Jan 01, 2015 5:49 pm

Woah thank you everyone!
managed to fix this <3
B
7
Posts: 28
Reputation: 333



Return to How do I....?

Who is online

Users browsing this forum: RobertMKD and 7 guests