[Fixed] Animation changes but doesn't play.

0 favourites
  • 5 posts
From the Asset Store
Customize the animation of character when item changed
  • Hi Guys!

    So I am having an issue with animations playing properly. For some reason the animation state will change but the animation won't play past the first frame. I'm having this issue when you press up to look up though I also had this problem with the jumping animation as well (I removed the full animation for the time being so just check out the look up animation). You can also see this if you climb all the way up the ladder to the left and jump down, it should play a landing animation but it only plays the first frame of it.

    It seems odd because the running animation works fine, I don't see why the other animations wouldn't work. Does anyone know what the issue might be?

    Here is a link to my .capx file:

    mediafire.com

  • Hi,

    this is happen because you use keyboard is down event,

    which mean as long as the up keyboard is pressed down, it keeps telling the animation to play from beginning, so it freeze on the first frame

    you can either add once true condition, or use keyboard is pressed instead

  • Thanks, I didn't know about 'Once true' condition so this helped immensely! I managed to fix all of my issues.

    Thanks a lot!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Button pressed doesn't work for me. Please could you be more specific about once true condition. I added that too, but I guess I did something wrong.

    I am trying to mirror the animation. When I go right everything is fine, but when I go left I have the same problem with freezing on first frame.

  • Button pressed doesn't work for me. Please could you be more specific about once true condition. I added that too, but I guess I did something wrong.

    I am trying to mirror the animation. When I go right everything is fine, but when I go left I have the same problem with freezing on first frame. You should post a capx, as it might be your order of events or other logic.

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