Unity Tutorial 06 (Ruby's 2D Adventure)
This is the sixth tutorial of the tutorial tasks in this course, in this tutorial I learned how to visually style the game, add a user interface and make a HUD (Heads-Up Display). A HUD is basically an image overlay in the game which illustrates the player's health, items, timer, objectives and player avatar etc. Another part of this tutorial is adding interactions within the game so that you can interact with other characters of the game. In this case, I made an interaction with a frog character whose the game objective of what to do in the game which eliminates the enemies.
The way how I went about making these is as follows,
|
This was the process of making the health bar which is a gold stroke, with a blue bar and the Ruby Character avatar on the left |
|
The code for the User Interface for the Health bar |
|
This was the end product of the HUD display in the game of the health bar |
|
This was the process of making the interaction with the frog |
|
In the end, this is how it turned out, I made a script in visual studios where you press the key "G" near the frog to be able to interact with him |
|
This was the script of the interaction script |
The thing I want to learn in the next tutorial is being able to put audio in the background and see a step by step guide to uploading my game to Itch.io
Comments
Post a Comment