I want to make a event which makes the games perform and an action once a certain number of objects are on screen. (E.g After a 5 cards are dealt out/on screen move to dealing the next persons hand)
Thanks
If you mean instances of an Sprite, Sprite.count tells you that.
Develop games in your browser. Powerful, performant & highly capable.
99Instances2Go
I do not mean instances of the same sprite but just the total number of sprites on screen.
I think to figure out what's simply on screen is to add all sprites into a single family and check for family.count is on-screen conditions. You could also just add up each sprite.count of each sprite instance - whichever is easier.
~Sol
SoldjahBoy
Good Idea, Thanks.
No problem. Hope it works for you