Animation not playing correctly.

0 favourites
  • 3 posts
From the Asset Store
2D fighting template based in the game that defined the fighting games genre.
  • So, I'm currently working on a boss. I have created a few animations for it, such as Attack and Death. However, on attack, no animation plays even though I have set it to play one. And for my Death animation, the boss does in-fact set the animation, however no animation plays and the boss just stands there, completely static. Any help?

    Screenshot imgur.com/J70hwEZ

  • Hey Steveanderly

    As far as I'm concerned, your animation events start every tick anew. That's why nothing happens.

    Create an extra trigger to change the animation and take as a condition e.g. > Is NOT playing "AttackF" <

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Ups, the changeover seems to have deleted a few posts.

    So here again. Cant see your link anymore, but i will try without:

    Your first event on the screenshot is triggered when Sprite19s health is <=200.

    If this is true, the event runs every tick (~60 time per second) and the animation

    starts every tick from the beginning.

    You have to add another condition, to trigger this event only once. Easiest way would

    be 'Sprite19 is NOT playing animation "Demon"' (leftclick on the condition and invert).

    If you want some actions from this event to run every tick, you can create a sub-event

    and place the mentioned condition and all actions you want to run only once in there.

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