Hello everyone, I've got a problem with a kind of puzzle game I'm trying to make. On each screen there are some balls that the player has to destroy (think of something a bit like puzzle bobble). I'm trying to make a counter to see how many balls are on the screen at each time, but I can't find the right funciont to do it. Until now, I was using something like this:
System / Every tick
System / Pick all "ObjectA"
System / Pick all "ObjectB" -> Variable Set var to objectA.Count + objectB.Count
I then dump that var into a text object on screen each tick.
The problem is that when there are no instances of ObjectA, for example, the counter just stops working. Is there any other way to count how many instances of more than one object type are there?