SOLVED R111 Animation Not Playing

Bugs will be moved here once resolved.

Post » Sat Dec 01, 2012 9:14 pm

Animation Bug Capx

This is kind of weird:

I've assigned an animation to play when the player is moving Up and to the Right in 8-way movement. This is only to occur when the player is also holding in the "A" button to move faster.

The animation appears but doesn't play. Its just frozen on the first frame.

When the 3 buttons down didn't work. I changed the conditions to include holding down the Up and Right for movement and then take into account if the player is moving at a speed faster than the normal (which is triggered by holding the A). The exact same thing happened.

I then tested it by just assigning the animation to the Up and Right keys combined. The same thing happened.

Finally, I assigned the animation to the down button and it worked.

I'm using Windows Vista 64-bit and I tested it on both Chrome and Firefox. Any help is appreciated. I'm a huge fan of Construct 2. The Capx is included above.

Ben
NeedYourDisease
sman1182012-12-01 23:09:02
B
40
S
11
G
6
Posts: 228
Reputation: 6,946

Post » Sat Dec 01, 2012 11:03 pm

When up, right and A are pressed then event 40 will run and set the animation to "Left", event 41 will run and set the animation to "Up" and event 43 will set it to "FastUpRight". So every tick the animation is being changed 3 times and every time it changes it plays from the beginning. So it never gets past the first frame. Basically you need an 'A is not down' condition on events 40 and 41.
B
54
S
28
G
18
Posts: 1,520
Reputation: 24,990

Post » Sat Dec 01, 2012 11:08 pm

Awesome. Thank you for looking into that. It was right in front of my nose and I didn't see it.
B
40
S
11
G
6
Posts: 228
Reputation: 6,946


Return to Closed bugs

Who is online

Users browsing this forum: No registered users and 1 guest