This is the last week of unity, It seems like ages ago since I started it. The first tutorial was about adding audio clips to the game, which to me audio and music really describe the genre of the game. I first had to make an object and call it background music. and Make sure that the spatial Blend was changed to 2D, which can be seen in the screenshot. I next had to make an autosource function so I could add it to ruby. After this, I then had to add to my Ruby script, for it to work. And also adding to the Health script. This wasn't working for me and I couldn't understand why however I noticed that I forgot to put in the } at the end. I then had to add an AudioSource to the robot prefab. The last part was also a bit confusing, at first I did not understand what it was describing, however, after reading it again slower I finally got it.
Next was to build the game. I did this by opening the build scene file and dragging and dropping my scenes into the build tab. After I clicked on the build and made a new folder called build. Eventually, after a few attempts and rereading, I got it right.
I found these tutorials not too difficult, I've learned that I need to make sure that my scripts need to contain all of the right elements that even missing the smallest thing, break down all of the game. I also learned that I need to read slower to properly understand what the instructions are saying.
No comments:
Post a Comment