I've tried several things but I can't really figure out how to get it to work. I understand it's got to do something with picking? But how.
Basically 10 tanks (is a bullet) attack in sequential order. From the screen left to right.
Now I have a total of 6 types of tanks, but in the screenshot of the first wave below there are 2.
As you can see, I've no clue what I'm doing to get it to work.
What I'd like is: when all tanks of the wave have either been destroyed or have travelled outside the screen to the right I'd like the game to wait 30 seconds before the next wave starts, to give the player some time to check out the upgrade menu.
If possible, I'd like to combine it with a button function that can be clicked to start the next wave if you don't want to wait?
Hopefully this is enough information.
If you could help me out it'd be much appreciated.
Develop games in your browser. Powerful, performant & highly capable.
Look in to the 'Timer' behaviour...
Give it a shot, if you can't figure it out, let us know!