Platform is Shaking When Player Moves

Get help using Construct 2

Post » Mon May 06, 2013 11:50 pm

Hi friends, i am new to construct 2. I want to develop a platform game and trying to make a good one. But when i face some little problems at the begining, i get stucked and cant continue developing the game.

Anyway, here is what i just did. I took a walking animation sprite from an open source game content website, then i animated it using a laser sword. But here are the problems appear, when my player walks, the platform it walks on shakes, and even my player uses its sword, platform shakes twice as much as its walking does. I really need your help guys. Thanks.

Here is capx file's download link:

https://www.dropbox.com/s/mnk33ixd1pzcmke/myGame.capxrudyardKipling2013-05-07 13:42:08
B
7
Posts: 17
Reputation: 403

Post » Tue May 07, 2013 12:02 am

It's because the frames of your animations have different collision boxes and different origins. You should use a simple rectangle sprite for platform behavior and pin your animations sprite onto it as mention in this tutorial:
https://www.scirra.com/tutorials/243/building-a-platform-game-a-beginners-guide
B
54
S
28
G
18
Posts: 1,520
Reputation: 24,990

Post » Tue May 07, 2013 6:47 am

@ramones

Thanks. That helped a lot. :)
B
7
Posts: 17
Reputation: 403

Post » Tue May 07, 2013 11:36 am

How do you animate using a laser sword?
HARMLESS SIGNATURE THAT IS VIEWED BY OTHERS AS OFFENSIVE AND CONTROVERSIAL
B
14
S
3
G
3
Posts: 356
Reputation: 4,362

Post » Tue May 07, 2013 1:02 pm

@fassFlash

lol. Sorry for bad English. English is not my native language. So, some of my sentences sound senseless.

I meant, I made my player use a laser sword and i animated it.
B
7
Posts: 17
Reputation: 403


Return to How do I....?

Who is online

Users browsing this forum: Rezzon71, tarek2 and 22 guests