Unity Learn home
View Tutorial Content

Lesson 4.4 - For-Loops For Waves

Tutorial
Beginner
+10 XP
50 Mins
(14130)
Overview
Skills
For Educators
Summary
Overview:
We have all the makings of a great game; A player that rolls around and rotates the camera, a powerup that grants super strength, and an enemy that chases the player until the bitter end. In this lesson we will wrap things up by putting these pieces together!
First we will enhance the enemy spawn manager, allowing it to spawn multiple enemies and increase their number every time a wave is defeated. Lastly we will spawn the powerup with every wave, giving the player a chance to fight back against the ever-increasing horde of enemies.
Project Outcome:
The Spawn Manager will operate in waves, spawning multiple enemies and a new powerup with each iteration. Every time the enemies drop to zero, a new wave is spawned and the enemy count increases.
Select your Unity version
Last updated: January 03, 2024
2022.3
2022.2
2022.1
2021.3
2021.2
2021.1
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
2019.1
2018.4
Language
English
Overview Video
Overview
Lesson 4.4 - For-Loops For Waves
0 Secs
Lesson 4.4 - For-Loops For Waves