Skip to main content

Posts

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.  
Recent posts

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 5

   Unity Tutorial 5 For this tutorial I had to use cinemachine and to create a particle system for the robot. Unfortunately cinemachine would not work for me and I couldn't find the 2D camera it provided for me to give my design the full 2D game experience and I am still wondering why it would not work. The particle system was very fun to create and was a very creative idea to use for the robot as it fits him perfectly as a character. Along with the objective of throwing cogs at him so that would stop the steaming. I am having difficulty with the steam not going away but plan to find a solution. My game worked tremendously no bugs or no errors during this phase it was really uplifting and I think a clear sign that the tutorials are a great help. 

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.

Tutorial 3

   Unity Tutorial 3 I really had a lot of difficulty with the Unity Tasks in tutorial 3. The collectibles was a cool edition to work with but I constantly started having trouble with interacting with Health collectibles but as much with the damageable's. Along the way I had lost a lot of time whilst trying to figure out the ChangeHealth function as my code was correct and similar to the one on the tutorials but the instantiate would still not work and this made me restart my code from the beginning. I had to skip due to not being able to fix it or find a solution but continuing on with the tutorials, I then realized that the code had indeed worked and my character was able to collect and get health from the collectible. I created the first enemy for the game : a robot and the script came out very well, I was able to get the enemy to damage my character and to also move along a spot on the map as an NPC.   

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 1

    Unity Tutorial 1 We were given the plan of designing our very first 2D video game called "Ruby's Adventure" where the main character a fox travels through the land, fixing up the evil robots surrounding the map.  Above is the image of the world I laid out and created using the sprites given through the Unity Assets Store. I first started off setting up the 2D workspace and using a PNG for the first time towards something as technical as Unity. I then created my C# script "RubyController" for the main character but before they could move I needed to first create the game world. I added the sprites along with Box Colliders 2D components so that Ruby would not run through them so I added a Box Collider on her too.  My favorite part was actually getting the character to move, I had a bit of trouble towards the script as I had a lot f errors most of the time. It was a tough time trying to get familiar with how creating a 2D game would be and I am looking forward