How do I Call Animations

0 favourites
  • 3 posts
From the Asset Store
3 pixel charaters with over 8 animations each + animations with a gun
  • Hello All,

    I'm at wits end here.

    I have a platform character with several animations I would like to call with both a xbox controller and keyboard

    Either they don't play or I can only get the first frame of the animation to play.

    What I've tried:

    1) setting the animation to a Boolean and trigger when true

    2) Creating function to call the animations.

    Character is pinned to a dummy sprite.

    Any advice would be great, I can't figure this out on why they wont load fully.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Can you upload the capx?

  • I just figured it out.

    So here's the deal: for every action there need to be not Xaction for every animation.

    The one that knocked out all of my animations out was a jump attack.

    For the keyboard: P_ is jumping, X moving, X on floor, X playing jump attack, is falling and Space pressed = function(jump attack)

    For Xbox controller: P_ is jumping, X moving, X on floor, X playing jump attack, is falling, X pressed Y, and "X" is pressed = function(jump attack)

    I'm almost done with this If you still want I'll post the capx so other can follow a platform with attack sprits and multiple controls.

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