I am looking into this game engine and I have come across a bug in the Pixel Line Platformer sample. When the player is moving in the direction of the wall but is already next to the wall and then attemps to jump jumping the ceiling collision get’s triggered. This obviously cuts the jump short.
The code used to detect if we collide with the ceiling on line 182 is
if normal.y < -0.7 then
self.velocity.y = 0
end
I’m guessing that the problem is occurring because the player hits the bottom of a tile that constitutes the wall. I imagine this is a common problem but I didn’t really see anyone mentioning it and I apologize if I simply missed it but how would I go about fixing this.