1
Graphics / Overlapping Array not working?
« on: March 08, 2012, 05:00:26 pm »
I don't know whats wrong with your code ( I'm not good in reading someone elses code btw) but a an easy method to check if sprites are overlapping is using their intersect method.. i.e.
which returns true if they are overlapping
Code: [Select]
sprite1.GetGlobalBounds().Intersects( sprite2.GetGlobalBounds() )
which returns true if they are overlapping