Character bobs while walking

Get help using Construct 2

Post » Thu Dec 29, 2011 6:48 pm

Hello, new user here so advanced thanks for any help.
I'm using the Platform controls for my main character but it bobs up and down as it walks left/right. Is that just a feature of the Platform controls or can I turn that off?
Thanks!
B
3
G
2
Posts: 3
Reputation: 1,156

Post » Thu Dec 29, 2011 6:50 pm

It would be easier to answer your question if you would post your CAPX...

...but this sounds like the ORIGIN-Point of you sprite "jumps" during the animation.
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Thu Dec 29, 2011 7:03 pm

Ah, thanks. Here's the file (obviously rather rough right now):
http://sincomics.com/Games/VonFroya1_0_0.capx

As he walks left to right, he moves into the ground and then pops back up. SinComics2011-12-29 19:04:20
B
3
G
2
Posts: 3
Reputation: 1,156

Post » Thu Dec 29, 2011 7:11 pm

Ok....found it!

Check your "collision polygones" on both, your Avatar and your Platform Sprites!
B
42
S
19
G
12
Posts: 723
Reputation: 13,911

Post » Thu Dec 29, 2011 7:31 pm

Awesome, have it fixed now. Thanks a ton!
B
3
G
2
Posts: 3
Reputation: 1,156

Post » Thu Dec 29, 2011 7:47 pm

Just a quick tip: it's usually best to have an invisible square sprite with the platform movement, and position your animated player on top of that. The square sprite with the movement will ensure the movement is always smooth and never gets stuck.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600


Return to How do I....?

Who is online

Users browsing this forum: Mohicano and 21 guests