top of page
Search
Emilia Baunach

Week 8 (part 2)

With the deadline having been extended to next week was helpful for me in particular, because it meant having the time to polish the game before submitting it. After our group meeting earlier in the week, we talked about using sound and on the spot, Genevieve gave me a simple 'click' sound effect to be used in the game and Aoife made a quick vaporwave-esque track to can be used as a placeholder of the background music at the time being. With those two in hand, like before, I looked online for a tutorial. While most tutorials dealt with creating scripts/programming the component, it then dawned on me that I could have simply added an audio source component into the buttons (which referenced the button click sound effect as a separate gameObject). I would then add an onClick function in the button component that would play the sound effect once. I then did the same thing on the game's canvas (that held the games 'scenes'), but now only adding the background music as an audio component that looped. I was delighted with the results and even suggested to the group to keep the background music, and it fits with the aesthetic of Aoife's paintings and even sounds well alongside the simple button click effect.



I was just a little annoyed a few hours later in the evening when I got an email notification about an update on the Modern UI pack. Besides a few bug fixes, a new feature was added to the buttons where sound could be added by simply dragging and dropping to the button gameObject without any references. I was annoyed because I did spend some time figuring out this small task on my own when I could have done other things to polish the game, but in the end, it was another valuable lesson learned about the fundamentals of Unity.

2 views0 comments

Recent Posts

See All

Comments


bottom of page