Unity Learn home
View Tutorial Content

Challenge 4 - Soccer Scripting

Tutorial
Beginner
+10 XP
1 Hour
(20863)
Overview
Skills
Live
Groups
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: August 30, 2021
2020.3
2020.2
2020.1
2019.4
2019.3
2019.2
2019.1
2018.4
Language
English
Challenge 4 - Soccer Scripting