I was wondering where I could find some nice resource material on how I could write some clean collision detection coding.
I'm pretty new to XNA programming, and have a general understanding on how I would want to write my game, but I am having serious trouble with the idea of collision detection. It boggles my mind.
I know you can use the 2d boundingbox class. But after that, I'm stuck. I don't want to have to check if an object is colliding with EVERY single object in the game, so I was wondering if someone could point me in the right direction for either some literature on the matter or something.