I would like to know the best or most efficient way to test for 2D collision.
I am currently using AABBs. But the problem with this, is that your objects will be hitting things when they shouldn't. On top of this, AABBs cannot be rotated.
I was considering using per pixel collision, but I feel that that might cause lag if you have an entity that uses a large bitmap, since there would be a lot of pixels to iterate through. I also think this map complicate things if I had an animated sprite.
Would I would like to know, is how I can allow my bounding boxes to be rotated, and how I can give them a multi-point shape that is not a perfect rectangle? And is there a way of creating circular bounding boxes without creating a bunch of points to make an approximation of a circle?