Skip to main content

Tutorial 7

 

Unity Tutorial 7


For the last tutorial I had to add in the sound effects and the background music to the game to give it its finally few touches and complete all the tutorials. The audioSource and audioClip component was very helpful here. I was really happy with the end result that the audio helps the game stand out even more.

Overall with 2D games, I found it very challenging at times it set me back once or twice especially with the coding but the long wait was worth it. My favorite part about the making of this 2D game was perhaps the designing tasks that you had to go through and creating your own terrain for Ruby along with obstacles such as the enemy and the danger zone.
 

Comments

Popular posts from this blog

Tutorial 6

  Unity Tutorial 6 In this tutorial, I had to create a health-bar for Ruby, this was really a interesting way to learn how health-bars are made on Unity and creating one that came out really well was even better as it was in-sync with the c# script "RubyController" and "UIHealthBar" from the beginning. The use of a UI or User Interface was another experience, very difficult but helps the game stand out. Next what I had to do was create an NPC, a frog who ruby would talk to by coming up to them and pressing "X" and then a dialog box which was created using UI~ Canvas~ Text to display a message warning Ruby about the robot.  It was cool to learn how to interact with NPC's and allow them to speak to you or send a message. The method known as raycasting which is basically a collider lets this happen.

Tutorial 2

   Unity Tutorial 2: World Design For the second tutorial of the Unity tasks, after creating the tilemaps by splicing them and laying down the ground and the pavements in the games world, it was now time to decorate it. Using all the sprites provided, I laid the land out with trees, grass, metal boxes etc.  The physics system as it was suggested in the tutorials was the force of the movements from the characters within the game and controlling the gravity which pulls it down, the force applied from pushing and friction when moving on the ground. In this part, I mainly fixed the way in how Ruby moved throughout the world and what boundaries she couldn't move through. My favorite part was adding the tilemap collision, by selecting the tilemaps with water on them I was able to create a box collider without selecting them all individually and preventing Ruby from walking on water. I didn't struggle as much throughout these tasks I rather enjoyed them.

Tutorial 4

   Unity Tutorial 4 All the sprites and characters have now been added, all that was needed now is the aesthetic touch that will make this a proper well designed game. For the Tutorials 4 I started on the sprite animations towards the enemy/ the robot and this was a tough and long task. Creating a whole animation from scratch just for one of the sprites was very challenging but the outcome came out really great and the movement is perfect no lags. Getting the Ruby animation through the materials provided by the asset store was very helpful. Splicing the sprites has become a very common thing within building a 2D game, I was able to use each sprite that had the robots movement and join them together in the animator window so that the animation would get him walking up, down, left and right. Although the blend tree which would allow the robot to move in any kind of direction made this possible instead of being frozen in the one spot.