Animations.

0 favourites
  • 4 posts
From the Asset Store
4 Block Soldiers with different animations, 400x400
  • 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?

  • -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.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • -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.

  • Glad to help.

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