When I use:
Player collision with object -> Destroy
It all works fine and the object is destroyed and only the object in collision with player.
But I want to use Distance(x1, y1, x2, y2) instead of collission with round objects to use the CPU less.
My problem is that Distance(Player.x, Player.y, object.x, object.y) -> Destroy, destroys all similar objects when true, and not just the one in "colission".
So my question is - how do I do so it's only the one in "colission" that is destroyed and not all similar objects on the layout?
And also - does the distance expression use less CPU power than "colission with" polygons?. I have many collisions in my game, so even a few % optimization is deffinately worth the effort.