Unity Learn home
View Tutorial Content

Challenge 4 - Soccer Scripting

Tutorial
Beginner
+10 XP
1 Hour
(12260)
Overview
Skills
For Educators
Summary
Challenge Overview:
Use the skills you learned in the Sumo Battle prototype in a completely different context: the soccer field. Just like in the prototype, you will control a ball by rotating the camera around it and applying a forward force, but instead of knocking them off the edge, your goal is to knock them into the opposing net while they try to get into your net. Just like in the Sumo Battle, after every round a new wave will spawn with more enemy balls, putting your defense to the test. However, almost nothing in this project is functioning! It’s your job to get it working correctly.
Challenge Outcome:
  • Enemies move towards your net, but you can hit them to deflect them away
  • Powerups apply a temporary strength boost, then disappear after 5 seconds
  • When there are no more enemy balls, a new wave spawns with 1 more enemy
Select your Unity version
Last updated: January 04, 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
Challenge 4 - Soccer Scripting