Hundreds of features to explore
Games made in Construct
Your questions answered
Trusted by schools and universities worldwide
Free education resources to use in the classroom
Students do not need accounts with us
What we believe
We are in this together
World class complete documentation
Official and community submitted guides
Learn and share with other game developers
Upload and play games from the Construct community
Game development stories & opinions
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)
If you mean instances of an Sprite, Sprite.count tells you that.
Develop games in your browser. Powerful, performant & highly capable.
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.
Good Idea, Thanks.
No problem. Hope it works for you