Unity Learn home
View Project Content

Week 4: Sound & Effects | Apr 13 - Apr 17

Project
Beginner
+300 XP
5 Hours
(23)
Overview
Summary
During this week, you will program a fast-paced endless side-scrolling runner game where the player needs to time jumps over oncoming obstacles to avoid crashing. In creating this prototype, you will learn how to add music and sound effects, completely transforming the experience of your projects. You will also learn how to create dynamic endless repeating backgrounds, which are critical for any side-scrolling games. Finally, you will learn to incorporate particle effects like splatters and explosions, which make your games so much more satisfying to play.
Project Objective
By the end of this week, you will be able to:
  • Use GameObject.Find and GetComponent to manipulate the components of the current or other game objects
  • Tweak the gravity of your project with Physics.gravity and use ForceModes to apply forces in different ways
  • Utilize new operators like “&&” and bool variables to better control game logic
  • Freeze or constrain the RigidBody component to halt movement on certain axes
  • Use tags to label game objects and call them in the code
  • Use script communication to access the methods and variables of other scripts
  • Manage animation states in the Animator Controller, including adjusting the states’ parameters and default state
  • Use SetTrigger, SetBool, and SetInt methods to trigger transitions between animation states
  • Stop and play particle effects to correspond with character animation states
  • Work with Audio Sources and Listeners to play background music
  • Add sound effects to add polish to your project
Select your Unity version
Last updated: April 22, 2020
2018.4
Language
English