• Content Count

  • Joined

  • Last visited

  1. trandel

    Blocks collision

    I'm using game.physics.arcade, the same thing happens.
  2. Hello, I'm new here so I would like to greet everyone! I have a problem that is connected to collision detection. I'm trying to build my map out of squares and I have a problem with top/bottom collision. When I have two boxes placed one on another and the player can only jump as high as one box, it's still possible to jump of the edge of the bottom box. You can observe this behavior on this example: When you move the player left and you keep holding left key you can get "stuck" between those boxes. Do you have any solution for that? I know it's a collision thing, because the player is overlapping the box for a small per cent of 1 pixel and this percentage also triggers top/bottom collision with other blocks. Can you change the collision bottom and top line to be for example 99% of the width? Regards