Why my character is falling when i run to the left /right ?

airman4

  • Posts: 875
hello all!

i was wondering ,why my character is falling when i run with it ,left and right
i mean, when he stops and then go to the opposite side , he falls for some seconds(weird)

It's normal?

i use the jump and run kit.

also
sometimes ,whenmy character isblocked by a wall or on the edge of a platform , there is several animationsplayed at the same times
It's weird too.

Greg

  • *
  • Posts: 1259
Without seeing the game, my first guess would be inconsistencies with the collision shapes for the different animation.  Best practice is to make each animation frame the size of your largest animation.  Then when you create the collision boxes, they should be in the same relative location and the same size.

For instance if you have a walk left and a walk right animation, and the collision bounds for one of them is up higher -- when you switch directions - this will teleport the Actor up and will result in the fall that you mention.

airman4

  • Posts: 875
I see



Thanks greg a lot

here is the files if  you still want

http://uploading.com/files/a33mde31/platformer%2B03.rar/

I think i get what you mean , but not sure if i canget rid of this
This is trange because the walk animation left and right arethe same mirrored and i edited the colloision box after that .


i'm downloading the upgrade right now.