Week 3: Sound and Effects - April 25 - April 29, 2022
Exercise
·
Beginner
·
+60XP
·
60 mins
·
Unity Technologies

Join us Mondays and Thursdays at 10:00am PT by registering here.
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.
1. Before you begin
This week, you will complete Unit 3, and the first Mission, in the Jr. Programmer Pathway. To participate in this session and follow along, you need:
- Unity 2020 LTS installed through the Unity Hub
If this is your first Create with Code live learning session, you can catch up by:
- Completing the required content from previous weeks
*Note - it is not necessary for you to catch up, but it is recommended for an ideal learning experience.
2. Week 3 Content
This week you will learn the fundamentals of implementing Sound and Effects as you create an endless runner style game.
After the live session on Tuesday when we kick off the project together, use the links below to continue working through the Unit independently.
Click on the links below to access the course content, but come back to this page to join in on our live sessions!
Essential content
- 3.1 - Jump Force
- The character, background, and obstacle of your choice will be set up. The player will be able to press spacebar and make the character jump, as obstacles spawn at the edge of the screen and block the player’s path.
- 3.2 - Make the World Whiz By
- The background moves flawlessly at the same time as the obstacles, and the obstacles will despawn when they exit game boundaries. With the power of script communication, the background and spawn manager will halt when the player collides with an obstacle. Colliding with an obstacle will also trigger a game over message in the console log, halting the background and the spawn manager.
- 3.3 - Don't Just Stand There
- With the animations from the animator controller, the character will have 3 new animations that occur in 3 different game states. These states include running, jumping, and death, all of which transition smoothly and are timed to suit the game.
- 3.4 - Particles and Sound Effects
- Music will play as the player runs through the scene, kicking up dirt particles in a spray behind their feet. A springy sound will play as they jump and a boom will play as they crash, bursting in a cloud of smoke particles as they fall over.
Additional Jr. Programmer content:
- Challenge 3 - Balloons, Bombs, and Booleans
- Apply your knowledge of physics, scrolling backgrounds, and special effects to a balloon floating through town, picking up tokens while avoiding explosives. You will have to do a lot of troubleshooting in this project because it is riddled with errors.
- Lab 3: Player Control
- Program the player’s basic movement, including the code that limits that movement
- Unit 3 Quiz
- Assess your knowledge of the skills and concepts learned in Unit 3.
Create with Code Bonus Content
- Unit 3 Bonus Features
- Easy: Randomize obstacles
- Medium: Double jump
- Hard: Dash ability and score
- Expert: Game start animation
3. Live Sessions - Monday, April 25 - Friday, April 29
Register now for the live sessions starting Monday, April 11th.
4. Share your Modified Challenge or Prototype
If you went above and beyond and modified the challenge or prototype from this week, take a screenshot or screen-recording and post it here to share what you made! To upload your project online as a WebGL build so others can play it, you can:
- Follow the instructions to build your project for WebGL
- Go to Unity Connect and click the Post Project button in the top-right corner
- Follow the instructions to upload your WebGL project
- Share a link in your submission description below so other people know where to find it
Please also share any "behind-the-scenes" info about how you made your project!
Please login to submit
Submission Gallery
Prototype 3
Prototype 3
Personal Project
In this project we can control the player and run to get the bonus (green object). Every time you catch it, you earn points. Each time enemies reach you, you will lose energy. We have a "game over" screen and the game can be restarted with a button . For future implementations, I would add some sound effects and music and also more enemies, with they own movements.
Prototype 3
https://play.unity.com/mg/other/webgl-builds-188479
You Go Girl
Press space to jump Press space twince to jump higher. To try it: https://play.unity.com/mg/other/build-and-run-5
ConstructionCollapse
https://play.unity.com/mg/other/prototype-3-build-3 The contruction site is collapsing you have to run! Dodge Obstacles and gain Score by jumping with space. You can also run faster/slower by pressing right/left which will increase/decrease your score as well.
Week 3: Sound and effects
https://play.unity.com/mg/other/unit-3-sounds-and-effects Unit 3 - Sounds and effects with bonus features Easy: Randomize obstacles Medium: Double jump Hard: Dash ability and score Expert: Game start animation Controls: Space bar: Jump D key: super speed
Prototype III
Prototype III - Endless Runner - Unity Play Randomize obstacles Double jump Super speed and score - only console (debug.log) Game start animation
Side Scroll Platformer
https://play.unity.com/mg/other/side-platformer