Animation Problem

Get help using Construct 2

Post » Fri May 24, 2013 6:28 pm

Hi! When Walk/Run animation stops my character just like jumps. Also i noticed that in platform Walk/Run animation faling so only half of charcter is on platform.

And 1 more problem - i did all like in platform tutorial, but sometimes Walk/Run animation dont stops.
B
4
Posts: 11
Reputation: 222

Post » Fri May 24, 2013 6:53 pm

Make sure the collision polygons (and origin points) are consistent for each of the frames of animation. Otherwise when the collision box changes the animation will appear to pop up and/or down and either float above or cut through the platform.

Or as many of the tutorials suggest, use a single invisible box for collision and movement, and pin it to the player animation sprite. This eliminates most of these kinds of issues.Venivididormi2013-05-24 19:06:25
B
8
S
2
Posts: 63
Reputation: 1,223

Post » Fri May 24, 2013 7:29 pm

oh actually i skipped invisible object thing, now i understands why i need thins.
B
4
Posts: 11
Reputation: 222

Post » Fri May 24, 2013 8:22 pm

It's fixed animation switch jump, but still dropping half body under platfrom while moving animation.
B
4
Posts: 11
Reputation: 222

Post » Fri May 24, 2013 9:22 pm

when walks
when stands
collisions on animation seems to be ok
B
4
Posts: 11
Reputation: 222

Post » Fri May 24, 2013 10:39 pm

Check origin point on the two animations/frames. If they're not the same (usually anchored on the feet) you'll get that. If it's an origin problem, the walk animation probably has the origin point at its knees instead of its feet.

To avoid this I usually set up all the animations, and then go to the first frame of each one, set origin and right click and use the "apply to all frames in animation". This kind of stuff is really annoying at first, but once you get the hang of it it's easy. Venivididormi2013-05-25 01:40:31
B
8
S
2
Posts: 63
Reputation: 1,223

Post » Sat May 25, 2013 6:03 am

Thank you! Now it works.
B
4
Posts: 11
Reputation: 222

Post » Sat May 25, 2013 8:53 pm

No problem.   
B
8
S
2
Posts: 63
Reputation: 1,223


Return to How do I....?

Who is online

Users browsing this forum: mercuryus, mystazsea and 18 guests