Hi, i have a Global number named "points", how can i do, that every time you get 20 points, spawn a enemy?
I know one solution can be compare variables with 20,40,60 points, but there is no better solution?
Thanks
Develop games in your browser. Powerful, performant & highly capable.
Your on the right path. Use the compare Globalvariable = 20
--> spawn enemy
--> set GlobalVariable to 0 (so it resets)