So I made a object spawn every random seconds. Then I made a global varible and every time the object gets created it adds on to the varible. Can I stop spawning the object after the varible hits a certain number say 5?
Simple, on the event 'every tick', add another condition to the event that checks against the global variable.
Should look a little like this
Every Tick - Create Sprite
Global variable < 10
Develop games in your browser. Powerful, performant & highly capable.
Thanks I got it!