How come the animation doesn't stop?

Get help using Construct 2

Post » Sat Mar 23, 2013 7:51 pm

http://www.mediafire.com/?1dkv8fbv9ms1132 (can't post hyperlinks, sorry.)

I couldn't do the tutorial with the Jungle sprites because I don't have those sprites, but I followed the top-down shooter and building a platformer tutorials. But how come, even though I set the animation to "standing" on stopped, the running animation continues for a couple of seconds while I'm not moving?

And if you were kind enough to check the file, the reason why I didn't just mirror the animation when a wall is to the left, is because I didn't want everything mirrored, e.g. the standing animation (because it is facing you, so it just looks a bit weird when mirrored). Also that's not the problem.

Thanks for your time.Murad962013-03-23 19:53:15
B
4
Posts: 38
Reputation: 451

Post » Sat Mar 23, 2013 9:50 pm

The animation doesn't change because you made deceleration very low. The player still slightly moves till full stop for a second. You should increase it by a lot.

Also, it doesn't help that you assigned platform behavior to both "Player" and "Player_image". You mixed "Player" and "Player_image" conditions. "Player" is irrelevant according to your events.

Compare to thisKastas2013-03-23 21:51:10
B
79
S
32
G
23
Posts: 119
Reputation: 14,937

Post » Sat Mar 23, 2013 11:32 pm

[QUOTE=Kastas] The animation doesn't change because you made deceleration very low. The player still slightly moves till full stop for a second. You should increase it by a lot.

Also, it doesn't help that you assigned platform behavior to both "Player" and "Player_image". You mixed "Player" and "Player_image" conditions. "Player" is irrelevant according to your events.

Compare to http://dl.dropbox.com/u/3232744/pltfrmr.capx[/QUOTE]

Thanks for that. Finally someone who actually takes time to help.

Btw how do I add anti-aliasing to when the player is doing an animation? If the player was not doing one, then the edges would be smooth. But if an animation is being played the edges aren't really smooth.Murad962013-03-24 15:28:40
B
4
Posts: 38
Reputation: 451


Return to How do I....?

Who is online

Users browsing this forum: No registered users and 22 guests