Tuesday, 15 March 2022

Tutorial 07

 In this week's tutorials, we are nearly done with the Ruby 2D game. We just need to add audio to the game to make it more interactive and fun to play. The music in a game makes it enjoyable and the players love whenever there is good music in a game. The audio tutorial was straightforward and easy to follow as there was not much to do. It is just about adding the audio to the game. I learnt that we had to attach the music we downloaded as an mp3 to the camera in the game because we want it to play throughout the game and never stop. Then after adding the audio into the hierarchy and adjusting its settings, including the loop, the volume, and the pitch, I had to add coding into the ruby controller, and the health scripts to get it to play. The last thing I had to do is to set up the game and build it up on unity so as to play it and let others play it. I am so happy that the tutorials are done now and that I can focus on the project 2D game of my own now because I struggled a lot in this 2D Ruby game but I learnt a lot from it that I will implement some of the things I have learnt into my own 2d unity game.




No comments:

Post a Comment