Hi
I am sure this has been asked thousand times before, but I can't find it anywhere on the forums :C...
If you just could answer it once again, or link to the old discussions, I would be really thankful :3
So, I have a simple script to detect the collision
if (_root.player hitTest(_root.ball)) {
do something
}
But what if I have like 100 balls on the screen? And I want to detect the collision with all of them?
Something like:
if (_root.player hitTest(_root.AnyOfBallsOnTheScreen)) {
do something
}
How am I supposed to do that? Thanks for any help