I'm making a simple Shoot 'em Up game, started to use functions and ran into some troubles
So the enemy shark is supposed to spawn 15 times before wave 2 happens, but what ends up happening is only one shark spawns and the inimigosSpawnados is stuck with the value "1"
I believe the problem is on the "every 2 seconds" not being implemented correctly, but I don't know how to implement it correctly
please if you know how to fix this, or even a better way to implement waves (I'm still kind of a beginner), do please tell i would apreciate it very much :DDD