How do I make an animation to run 'till the end?

Get help using Construct 2

Post » Wed Nov 25, 2015 2:03 am

Hi guys!
I have some problem with a Street Fighter-like game.
Image
This is how the player attacks, I prevented the animation to start while it has already started, but when I release the button the animation stop. As you can see in the screen I'm using "On *button* pressed" and not "on release".
So how I can get it work?
Thanks in advance,
Antonio
B
3
Posts: 9
Reputation: 197

Post » Wed Nov 25, 2015 2:52 am

Your sub event says Player2 needs to be mirrored for the move to happen. Switch it to Player1
Eat ALL THE BACON!
B
44
S
17
G
3
Posts: 289
Reputation: 4,966

Post » Wed Nov 25, 2015 10:29 am

in player 2 place player1
B
28
S
9
G
3
Posts: 280
Reputation: 4,162

Post » Wed Nov 25, 2015 11:38 am

No way guys.
This is a capx from a tutorial on how to do fighting game in construct: https://drive.google.com/file/d/0B8jqWM ... 9ZbVE/view

Even in this demo there is the same problem with the animation.
I'm getting mad guys ahahah

Thanks in advance @antares330 @sielxm3d
B
3
Posts: 9
Reputation: 197

Post » Wed Nov 25, 2015 11:49 am

Do you have any conflicting events?

Something like "on any key released" or "key is not down" or anything else that stops animation?

Like for example event 39 and event 56 in the capx you shared?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: chrisinfinger, dzert14, JaisonAntoniazzi and 1 guest