How do I fix animation from sticking

Get help using Construct 2

Post » Wed Oct 29, 2014 1:12 am

Everything seems fine while walking and jumping until the player goes to push the rock. After the "push" the animations never switch to the correct one (walk, jump, land). I've been stuck on this for days! Thanks for the help. You guys are awesome! ---file uploaded below---
Last edited by mmcew on Thu Oct 30, 2014 1:06 pm, edited 1 time in total.
B
4
Posts: 5
Reputation: 210

Post » Wed Oct 29, 2014 11:27 am

I get an error when I try to open the .capoj file into Construct2 saying a layer is missing or deleted.

Use save as single file and upload the .capx instead.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
66
S
17
G
8
Posts: 637
Reputation: 9,370

Post » Wed Oct 29, 2014 3:03 pm

-new file below-
Last edited by mmcew on Fri Oct 31, 2014 1:26 pm, edited 3 times in total.
B
4
Posts: 5
Reputation: 210

Post » Wed Oct 29, 2014 6:24 pm

Your going to kick yourself...

You accidentally put the is-not-overlapping rock set to false event inside a sub-event of the on-animation finish...
Just move it out of there and it works great. :)
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
66
S
17
G
8
Posts: 637
Reputation: 9,370

Post » Thu Oct 30, 2014 1:03 pm

Thanks chrisinfinger. While it seems to happen less often it is still sticking on that push animation. I've tried to add in a "when right (and left) is down" to the overlap but that didn't help.
B
4
Posts: 5
Reputation: 210

Post » Thu Oct 30, 2014 1:48 pm

....
You do not have the required permissions to view the files attached to this post.
Image
B
65
S
23
G
7
Posts: 1,505
Reputation: 10,896

Post » Fri Oct 31, 2014 4:40 am

Hmm, I tried and tried to get it to stick after I fixed the event nesting issue and it never would.
Check out my completed games on the Arcade! Capt. Doe Save the Universe! & Clicker Wizard!
B
66
S
17
G
8
Posts: 637
Reputation: 9,370

Post » Fri Oct 31, 2014 12:47 pm

chrisinfinger it seems to happen more often when the player is not moving while still pressing right or left, say up against a wall or up a hill.
B
4
Posts: 5
Reputation: 210

Post » Fri Oct 31, 2014 1:18 pm

korbaach your file worked but when I copied your events to my original file and got the other animations to work the push froze again????

https://drive.google.com/file/d/0BxNgoosEyfvpZkstUUt5X2VrOHM/view?usp=sharing
B
4
Posts: 5
Reputation: 210


Return to How do I....?

Who is online

Users browsing this forum: David181, evillair and 62 guests