Help with machine gun animation.

Get help using Construct 2

Post » Tue Sep 24, 2013 2:49 am

So, I'm trying to animate my character using a machine gun a la Metal Slug. I've got the animation and I've got it set so that when I press the fire button the animation plays, but if I try and rapid fire the button the animation will start over each time, repeating the first two frames.

How do I set it up so that the firing animation can finish and then repeat while I'm continuously pressing the fire button?
B
3
Posts: 7
Reputation: 339

Post » Tue Sep 24, 2013 3:13 am

Maybe this?

Condition:
-"AnimationName" on finish
--Touch is touching / Keyboard key is down
Action
-Start "AnimationName" from beginning


Condition:
-On touch start / On keyboard key down
Action
-Start "AnimationName" from beginningc4sp3r892013-09-24 03:14:49
B
17
S
8
G
4
Posts: 93
Reputation: 3,190


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 23 guests