Jump to content

Cillisionboxes seperated by 1px?


expensne
 Share

Recommended Posts

Hey guys,

I'm totally new to Phaser so I just encountered the following problem:

There are 3 boxes, all the same x-position with just different y-positions. When I jump against them, I'll slide down. But if I keep running in their direction, I get stuck like on the picture. When I release the run key I just slide down on the ground. I don't understand why there is like 1px where I can stand on, the boxes are all the same width and x-coordinate.

Any ideas how to fix this?

 

p1.png

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...