How can I improve this collision detection logic?
- by Dan
I’m trying to make an android game and I’m having a bit of trouble getting the collision detection to work. It works sometimes but my conditions aren’t specific enough and my program gets it wrong. How could I improve the following if conditions?
public boolean checkColisionWithPlayer( Player player )
{
// Top Left …