Unity Learn home
View Project Content

Create with Code - Unit 4: Gameplay Mechanics

6 Hours40 Mins
In this Unit, 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 unit, 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: June 01, 2020