When I implemented collision from jnrdev #1, I was having some collision errors. Basically, there was a padding of 1px surrounding the character, and as a result, the character couldn't go between two tiles with a one tile gap.
I spent a lot of time figuring out what the problem was with my code. I found there is a +/- 1 added to the x or y position of the player after collision has been detected. This should be removed. Second, the while loop of the vertical and horizontal collision methods should be "<" not <="
I don't know why the jnrdev #1 Windows binary works fine... Did anyone else run into this issue?
Here's my code with the corrections if anyone wishes to see: (in character.cpp)http://github.com/slythfox/platformer/tree/master