this is simpler an I think 100% working example: on collision check if angle(Player,Box) is less than zero and image point at players top most pixel is greater than boxY+box.height/2trycapx
edit: update files. now is perfect - added one more condition: Player Y velocity is less than zero or is not falling.
: updated files (again). You dont need to calculate angle with "is not falling condition" added...now is perfect podpathos2012-04-07 17:51:24