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.