Supporting our Community:
We’re making Learn Premium available to all users in perpetuity.
Start Learning.

Challenge 4 - Scripting Soccer

1 Hour
Tutorial Materials
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: June 10, 2020
Topics we'll cover
Challenge 4 - Scripting Soccer
Challenge 4 - Scripting Soccer