Wave Spawner
Sprite | Images |
---|---|
sprEnemy |
Object | Sprite | Properties |
---|---|---|
objEnemy | sprEnemy | Visible |
objSpawner | no sprite | Visible |
room layout:
objSpawner | Create event |
---|---|
objSpawner | Alarm → Alarm 0 event |
---|---|
objEnemy | Create event |
---|---|
objEnemy | Step → Step event |
---|---|
extension activities:
- Add different alarms that go every 2, 5 and 10 seconds, using the same objSpawner object
- Experiment with random numbers and arithmetic to create other patterns in the spawn waves, other than the
i * 50
down the y-axis pattern shown in the example.