How do I Make my character Duck with animation

0 favourites
  • 2 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • So i have a Animation through Spriter. I made one called "duck"

    My Playerbox that my animation is set to, has a size of 32x90

    I really want to make my character be able to duck under oncoming bullets.

    This is kind of how i have gone about it so far. I can get the playerbox to avoid bullets fine. but my animation is not playing correctly. I think it has something to do with maybe while the Arrow is being held down it is playing over and over?

    Any suggestions?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • You have to adjust your animation corresponding to how you want to code it.

    if you set looping to yes, make sure the animation is loopable so it won't look weird when looping.

    or you can separate the duck into 3 animations (1 for going to duck, 1 for ducking (loopable) and last for going back to Idle)

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