How to Spawn Enemies in Progressive Waves in Scratch
📌 What you will learn
Watch enemies-remaining and start the next wave when it hits 0.
Minimal Working Block Recipe
Watch enemies-remaining and start the next wave when it hits 0.
Test this minimal version first, then tune numbers like speed, gravity, or timing to match your game feel.
Spawn Enemies in Progressive Waves script
- set [wave] to 1
- forever -> if (enemies left) = (0) then change [wave] by 1, broadcast [next wave]
Try it: Escalating wave-based defense and shooter gameplay.
Debugging Checklist & Next Steps
If it behaves unexpectedly, verify initial variable resets on the green flag and check that continuous checks sit inside a forever loop.
This guide is provided for educational purposes. Scratch screens and terms may change over time, so please check the official Scratch website as well.