This week's book giveaway is in the Mac OS forum. We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line! See this thread for details.
I'm doing collission detection to my game. I already have bounding boxes and the game checks if they intersects. But my problem is how do i get the player stop when the boxes intersect. I have been trying to do it without success. The movement of the player goes like this.
I still have the same problem i always had when the players collide they get stuck and can't move. The problem is that they can move from 0-8 pixels in one direction because i have 360� movement. It would be easier if it always was 1 pixel. Any suggestions about how i should change my code?