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.
Develop games in your browser. Powerful, performant & highly capable.
If count = 0 end level.
Check this capx.
[attachment=0:3svegws7][/attachment:3svegws7]
(Click enemies to destroy them)
Perfect, many thanks