It looks like you're new here. If you want to get involved, click one of these buttons!
After following the tower defense tutorial, i want increase the enemy health after a certain amount of waves passed, for example after 10 waves, the enemy health will increase by 50.
Check if waves passed >= 10 then enemy.health += 50
//set a variable to set after how many waves you have to change the health
//Set a variable to count how much health to add
//Every wave you add 1 to a wave counter
//Check if you passed enough waves, add some health to the enemy's max health and set the wave count to 0 again
If (local_wave >= wavesBeforeIncrease)
local_wave = 0;
We are really grateful for your blog post. You will find a lot of approaches after visiting your post. Great work Local Dentist