Animations.

Get help using Construct 2

Post » Sun Apr 26, 2015 5:11 pm

How do I make an animation keep playing no matter what?
Example: A is to do a punch animation, S is to do a Kick animation, both over rides eachother.

How can I prevent this?
B
15
S
3
Posts: 45
Reputation: 1,040

Post » Sun Apr 26, 2015 5:33 pm

-On 'A' pressed
-Kick animation NOT playing.
--Set animation to 'Punch'

Do that for both attacks and it should work just fine until you start to add more attacks. Then you have to add all of those to all of the other attacks conditions. So I would rather do as shown below if you have for example an 'Idle' animation that activates after an attack..

-On 'A' pressed
-'Idle' animation IS playing
--Set animation to 'Punch'

This way you just add every attack and they wont interrupt eachother.

I hope that made sense.
B
5
Posts: 19
Reputation: 263

Post » Sun Apr 26, 2015 9:26 pm

Eklofakka wrote:-On 'A' pressed
-Kick animation NOT playing.
--Set animation to 'Punch'

Do that for both attacks and it should work just fine until you start to add more attacks. Then you have to add all of those to all of the other attacks conditions. So I would rather do as shown below if you have for example an 'Idle' animation that activates after an attack..

-On 'A' pressed
-'Idle' animation IS playing
--Set animation to 'Punch'

This way you just add every attack and they wont interrupt eachother.

I hope that made sense.


Thank you so much, you don't know how much this helped me, i've been going at it for two days.
B
15
S
3
Posts: 45
Reputation: 1,040

Post » Sun Apr 26, 2015 10:30 pm

Glad to help. :)
B
5
Posts: 19
Reputation: 263


Return to How do I....?

Who is online

Users browsing this forum: blackhornet, evillair, NumberOne, rbailey83, Solomon and 9 guests