Different Punches Help

0 favourites
  • 5 posts
From the Asset Store
This music pack covers differents situations for visual novels, anime games and many more!
  • I'm new to the editor and I'm having problems with a simple animation wait... I don't know why the animation cancels itself and sometimes the 3rd animation doesn't work...

    Is there a better way to wait for the animation to fully finish before doing anything else? I'm making a beat'em up style game and I want different animations per hit, so they do something different.

    Also, if I hold the key it loops the animation, is there a way to code so if I hold a key it won't do that?

    <img src="http://i.imgur.com/EFCmW.png" border="0" />

  • It resets because you use the Key is down event, that means every cpu tick(while the key is down), you set the animation to "punch", you should use On key pressed.

  • I've changed it to that, and yet I get no progress, and the animations are canceling and some of the counts are getting registered.

    <img src="http://i.imgur.com/07ss8.png" border="0" />

  • Try adding one of the animation events. On Finished, Is Playing or Compare Frame. I think that will solve your problem

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • for each event : Add a sub-event " on any animation finished " and then move all your actions from the main event to the sub-event and that should work ...

    Cheers !

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)