I've just started exploring CocosSharp library for mobile games, and can't figure out if there is some easier way for detecting collision between sprites on screen.
I've watched some tutorials about collisions but can't find something about collision of multiple sprites.
I'm creating simple three to four balls bouncing on the screen and if they collide I want to bounce them. In tutorials they use BoundingBox.IntersectRect method for detection of collision but this is Ok for two elements on the screen:
bool doesBallOverlap = ball1.BoundingBoxTransformedToParent.IntersectsRect(ball2.BoundingBoxTransformedToParent);
but I think that this is an overkill if I have multiple elements on screen, in my case 3-4 balls. How can I effectively check for collision between them?