Hiya,
Say I have multiple say "ball" objects and I have a "Goal" object, the balls are physics'd sprites that you must get all of them into the goal, OR a certain minimum count of them. The goal just being a square sprite that acts as a goal 'zone'.
How Can I keep a count of how many of the ball objects are overlapping the goal? Would it work if I had multiple goal objects in a level and it kept a total across all the goals.
Also say if a ball fell out of the goal then it would subtract 1 from the goal'd balls count.
I've managed to google and search up every question I've had before now but I'm stuck at this point
Thank you muchly <3