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 the level to end when all enemies are destroyed. At present I count them down as they are destroyed but this is a less than ideal approach.
What would you recommend?
It's fine that way, You can also use the system expression, Enemy.Count, this will return the number of enemy instances.
If count = 0 end level.
Check this capx.
(Click enemies to destroy them)
Develop games in your browser. Powerful, performant & highly capable.
Perfect, many thanks