Skip to main content

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.



Comments

Popular posts from this blog

Introduction

My name is Aaron Mulholland, I am 19 years old and I'm in my second year of college in TU Dublin doing Creative Digital Media. The module in which I'm doing this blog is for Multimedia Development 1 and I hope to pass this.... hopefully XD.  Before heading into TU Dublin I first went to a PLC in Dunboyne and did the exact same course I'm doing now; after completing my year there I decided I wanted to take a career in the art of designing on computers as I heard many positives about this chosen career especially in the money ! Technological University Dublin (TUD) logo   The hardest part of my first year occurred during the Lockdown during the early stages of Covid-19 when I was in my second semester. It was a tough time for work and trying to work at home and online with limited resources such as cameras, adobe software and the Mac's that the college provided which was where I did most of my work for the modules and to move from that to my Windows laptop was very diffi...

Prototype: First Playable

  Source: Myself For my project this week, I worked on getting my character moving around the terrain and testing that out with the "on ground" feature that was discussed in our Unity tutorial 3 and put into our C# script . We had the player, jump and move that is what I wanted to mainly focus on and this was a difficult task and I had to go over the tutorials again just to be sure but I got it working in the end!  My character's view will be first person in my game so I had to add a FPS controller to the player , I had to get one from the assets store off Unity, adding the main camera to the player was and angling it so it was attached above the character's body was quite easy; getting the camera to move with the player was ever more difficult. These videos provided me with great help into attaching my FPS controller and camera to my character! Attach the camera Adding the FPS controller

Prototype

  When I first started making my game I wanted to first create the environment so I attached some trees, texture for the ground and added a few rocks that would help my character hide from the enemies. My game is based off the Lord of the Rings movies, my character is an elf played in first person who has to hide from the orc soldiers and find the power ring at the end of the map; if he is spotted he must engage in combat. Image source : Myself The world and the the textures are coming out really well, I added terrain to my ground to give it a more natural look similar to a forest out of the movies, this I completed in a matter of at least an hour as I had to positioned them right. What I am finding difficult at the moment though is adding my First Person Controller to my character and when I added my PlayerController script to him the camera would not work so I am currently working on fixing that. I have met all my targets especially gathering all the necessary materials for my ga...