Animation not playing in Construct 99.62

For questions about using Classic.

Post » Sat Jan 16, 2010 2:28 pm

Hi, I need some help here.

In my game, the Warrior has two animations related to swinging his sword; one for the Warrior's arm (which isn't playing for reasons unknown) and one for the sword. The problem is that the Warrior doesn't swing his arm even when I define it like so:

MouseKeyboard: 117 On Left mouse button Clicked
> SwordSet animation to "Basic Slash"
> HeroSet animation to "BasicSlash"

Sword: 176 Sword: Animation "Basic Slash" finished
> SwordSet animation to "Default"

The Hero has the "BasicSlash" animation while the Sword has the "Basic Slash" animation. The Hero doesn't play his animation.

Here's the .cap if you need it to define the problem, because I'm stumped why it doesn't work. ... erGame.cap
Posts: 50
Reputation: 1,690

Post » Sat Jan 16, 2010 8:30 pm

It's your tagged animations. Basically you're interrupting the order of events, without even using events!

The animation is being set to "Basic Slash," but immediately after that it's being set back to one of the tagged animations. You're going to have to get rid of the tags and make your own animation events with a single-state machine.

I've only ever run into issues like this with tagged animations. They're nice in theory, and they work okay if you want just simple run and jump with no frills. For anything more complex though they're pretty much useless. Unless David can figure out a way to make tags play nicely with evented animations.
Posts: 4,348
Reputation: 10,971

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 2 guests