I’ve looked at many collision detection technique for a 2D game but I can’t find exactly what I’m looking for. My game is a brickbreaker kind of game.
I’ve looked at pixel to pixel collisions style but it looks complicated for what i’m trying to do.
Is there an easier way?
I’m using XNA.
Thanks in advance.
Have you tried looking into Rectangle collisions ?
You declare a
Rectangleon your sprites and check if theyIntersectto test for a collision. It’s the easiest way I know.Look here for explanations on how to use it.
Hope this helps.