Animating physics behavior

Get help using Construct 2

Post » Fri Mar 22, 2013 12:08 am

Hi guys

Is it possible to animate a sprite that has a physics behavior?
I want to animate the sprite when the force is applied (jump)
And when the character is Falling.

I have tried adding the platform behavior but I dont think they would work together.

Is there a way to do it?

Thank you.

K
B
13
S
4
G
2
Posts: 20
Reputation: 2,517

Post » Fri Mar 22, 2013 12:24 am

Have you done the platformer tutorial yet?
https://www.scirra.com/tutorials/253/how-to-make-a-platform-game

It is possible, just follow the tutorial TheNormalGeek2013-03-22 00:25:07
(\__/)
(='.'=)
(")_(")
B
20
S
9
G
1
Posts: 68
Reputation: 3,057

Post » Fri Mar 22, 2013 12:37 am

Yes but I am using the physics behavior to control the character.

Just wondering if it was possible to control the animation when using this behavior (like the platform behavior has the Is falling condition)

Or if I have to change all my code to use the platform behavior)
B
13
S
4
G
2
Posts: 20
Reputation: 2,517

Post » Fri Mar 22, 2013 12:38 am

Nope , it's possible , Just check out the Physics tutorial ...
B
35
S
16
G
16
Posts: 2,222
Reputation: 16,589

Post » Fri Mar 22, 2013 7:03 pm

Hi whiteclaws.

I have been checking physics tutorials and haven't come across any that mention animations. Could you tell me which one you are referring to?
B
13
S
4
G
2
Posts: 20
Reputation: 2,517


Return to How do I....?

Who is online

Users browsing this forum: Colludium and 29 guests