Unity Learn home
View Project Content

Week 5: Gameplay Mechanics | Apr 20 - 24

+300 XP
5 Hours
This week, you will program an arcade-style Sumo battle with the objective of knocking increasingly difficult waves of enemies off of a floating island, using power ups to help defeat them. In creating this prototype, you will learn how to implement new gameplay mechanics into your projects, which are new rules or systems that make the game more interesting to play. On one hand, you will learn to program a powerup, which give the player a temporary advantage. On the other hand, you will learn to program increasingly difficult enemy waves, which make survival more challenging for the player. A good balance of powerups and increasing difficulty make for a much more interesting gameplay experience.
Project Objective
By the end of this week, you will be able to:
  • Apply Physics Materials to make game objects more or less bouncy
  • Calculate new vectors to steer objects in custom directions
  • Write more advanced custom functions and variables to make your code clean and professional
  • Write informative debug messages with Concatenation
  • Use IEnumerator and Coroutines to repeat and delay functions
  • Use for loops to efficiently and dynamically run code multiple times
  • Use SetActive to make game objects appear and disappear from the scene
  • Use FindObjectsOfType to track the current number of objects in the scene
Select your Unity version
Last updated: April 23, 2020