Sunday, March 21, 2021

Tutorial 07

 

Screenshot of my Unity tutorial

This was our last week working on our Unity tutorials. It’s surprising to have come this far as it felt it was such a short amount of time. To finish up with our little game we needed to add audio to bring some life in Ruby’s world.  I was somewhat familiar with this as we worked with audio in our game from last semester’s 3D tutorial but this was a nice refresher. An empty game object was made for the background noise where an audio clip component was added so we can place the music clip in. I learned about the spatial blender feature in the properties which lets you adjust how the sound will be heard. Moving the slider to the left side will have the audio played in the same level regardless of the audio listener’s position – which for our background music is ideal for our 2D game.  Moving the slider to the right the audio level will be higher in the right or left speaker. We used the PlayOneShot function on Ruby to trigger sounds based on the player’s actions in the game. With it, there were sound effects when Ruby picked up a health fruit or when she threw a cog.

The last tutorial was interesting as it covered how to make an application from our game so others can play it without using Unity. The tutorial was very informative as it explained the properties in the project settings such as the setting the company’s or the products name as well as the resolution and the default option of how the game begins. I also enjoyed looking at the build settings. I was able to choose the scene and platform for the game to be run. Playing the game outside of the Unity editor was a different experience.

No comments:

Post a Comment

Doing

  We are nearing the end of this semester and the book we’ve been working throughout the semester is in its final editing stages. This week,...