Posts

Unity Tutorial 8

Image
  In this weeks Unity tutorial, I learned how I can add music to my game. I started by creating an empty gameobject and added an audio source component to it, I then added the audio clip to it and put it on a loop to make sure it plays non stop. I made sure that the spatial blend slider is all the way on 2D, now when I'm in play mode I can hear the music playing right away. You can also mute the audio and change the volume if you want. Next, I added a new audio source and assigned it the health collectable audio clip. I used an audio source function called 'playoneshot 'which plays the audio clip only when needed. When Ruby collects a health collectable the audio clip will play at that moment. In the last Unity tutorial, I learned how I can share my finished game with others without them having to install the Unity Editor and downloading all my assets. I have enjoyed the Unity tutorials as going into this semester I was already comfortable using Unity and I learned a lot wh

Unity Tutorial 6

Image
  In this weeks tutorial I learned how to add UI to my game t show the health of my character. To create a UI I first had to make a canvas which is a game object, I chose for the UI  to be displayed in a screen space which will display Ruby's health all the time and wont be hidden by any objects in the world. I also learned how to how to use the canvas scaler to fit the screen size of the player.  I then learned how to add an image to the UI which will be the health meter for Ruby. Once I had my health bar set up, I added an image of Ruby into the health meter to finish off the UI. I added a blue health bar to the meter to show Rubys health, if the bar is full it means that Ruby is health but if the bar is reduced to zero that means Ruby's heath is at zero. Once I finished I created a script for the health bar called UIHealthBar. In the next tutorial I added a new character to the world. The new character is a frog which Ruby can talk to and interact with. I added a dialog UI t

Tutorial 5

Image
  This week I added a Cinemachine package to my Unity project, a cinemachine allows you to create complex 3d camera setups in your game, allowing multiple cameras to have cuts and movement. I set up the cinemachine to follow my character. Now when Ruby walks around the map we can see the camera following her around. Once I did that I also added bounds to the camera so it won't show anything outside of the map.  In the second tutorial, I learned how to add particles to my game to add effects such as smoke for the broken robot. I used sprites as images to put on the particles. I made sure to pick a random sprite for each particle and I also learned how I can make particles fade away.

Reading 6

Image
  This week I further worked on my annotated bibliographies, last week I coded and created themes within my annotated bibliographies and this week I wrote paragraphs for each theme. In each paragraph, I wrote a summary of each theme and included the most important points.  Here is a link to my document: https://tudublin-my.sharepoint.com/:w:/g/personal/b00129276_mytudublin_ie/Ee8ur-CgHrVKsKW4PIXJFz0BJFuLvF0xiqJ0SH-m4gjA_A?e=IT3GS9

Annotated Bibliography: Creating Themes

Image
  I coded my annotated bibliographies and highlighted any recurring themes I could find. Here is the link to my document: https://tudublin-my.sharepoint.com/personal/b00129276_mytudublin_ie/_layouts/15/doc.aspx?sourcedoc={fd822af0-0393-4442-bc1e-25a4a14db27d}&action=edit

Reading 5: Annotated Bibliography

Image
  Recovery of Mobile Game Design Patterns: Maria Khan and Ghulam Rasool. Game design patterns are being introduced to solve the problems for the development of computer games. The formal and informal instructions of game design patterns exist because of differences in implementation, design patterns and programming languages. The improvement of mobile game patterns is helpful for comprehension, reverse engineering, maintenance, evolution and refactoring of software applications. Mobile devices have decreased system resources such as battery size or screen size. In mobile devices, the keypad is used as a gaming manager and Android devices have touchscreens for user participation. The latest trend is mobile games is augmented reality. It has also been reported that playing mobile games increases the ability to memorize and decision making. Modern mobile games require fast central processing units, large random access memory, high-resolution screens and good graphics processing units. Res

Unity Tutorial 04

Image
  Now that I have already created a world with objects and characters, this week I worked on adding animations to my characters. To add an animation to a game object, you can use a component in Unity called an Animator. I created a new controller for my robot animations. Now I can add animations using my animator controller. I then learned how to create the illusion of movement by changing which sprite the sprite renderer uses over time and created new animations for my characters. I then created a projectile and learned how to launch it.