How do I Call Animations

Get help using Construct 2

Post » Wed Aug 06, 2014 11:02 pm

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.
B
3
Posts: 4
Reputation: 183

Post » Wed Aug 06, 2014 11:31 pm

Can you upload the capx?
B
24
S
9
G
4
Posts: 1,646
Reputation: 6,596

Post » Thu Aug 07, 2014 12:00 am

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.
B
3
Posts: 4
Reputation: 183


Return to How do I....?

Who is online

Users browsing this forum: plinkie, SERG 04, Yahoo [Bot] and 2 guests