Hundreds of features to explore
Games made in Construct
Your questions answered
Popular & trusted by schools and Universities world-wide
Construct 3 runs in the browser & works offline
Students do not need accounts with us
Our educational partners
Free education resources to use in the classroom
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.
[attachment=0:3svegws7][/attachment:3svegws7]
(Click enemies to destroy them)
Develop games in your browser. Powerful, performant & highly capable.
Perfect, many thanks