Here is a bin:
http://host-a.net/e_barroga/Release.zipSometimes when the player and enemy collide with each other, the collision will be missed and they will pass right through each other. What makes it weird is that if the scrolling background is not there the collision works perfectly fine (just delete the background image in the image directory).
I test collision with the method: CollisionCheck(Entity* otherEntity)
This is the code that I am using to test for collision:
http://codepad.org/CX6JcIbbFor testing purposes, I tried something simpler that does not use pixel-perfect collision:
http://codepad.org/51vRqAGtBoth ways have the similar problem.