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
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
Hi guys, I'm making a tower defense game, I set a local variable where it counts every enemy in the layout and every time I killed an enemy it will subtract in the local variable, but when two or more enemies are killed it only counts as one how would I fix this
Develop games in your browser. Powerful, performant & highly capable.
Make sure you're using 'for each' on your killing event.
Also you can get the object count simply with an expression, enemies.count, this works for objects and families.