User Interface / Polish


Week 12—User Interface / Polish

  • Created a scene level 2.
  • Created a UI canvas (Level Panel) in the main menu to select the level to play in.
  • I added background music. (script so the background music plays in loop)


In this week's Devlog I worked on adding new features to the game. 

Adding some user interface features into the game such as : Scene level 2.

Previously I had 2 scenes: Main menu and Level 1. 

I had people from my KIT109 class trying my game and someone suggested adding more levels into my game. This week, I focused on creating a new level with different obstacles to the scene Level 1.


Fig 1: Scene level 2 (terrain)

In the creation of the level 2 scene I needed more than just coins and fuel objects to interact with the player so I added a bridge as an obstacle. To create the bridge I had to use Hinge joint 2D.  

Now, having a suspended bridge, the player needs the right amount of fuel to get pass the obstacle without using all the fuel on the tank. 


Fig 2: Suspended bridge using Hinge Joint 2D


To link the scenes for the player to choose the level to play in, I created a new UI canvas ( Level Panel) in the main menu.

I created a script called “LevelMenu”. This script calls the scene to be played (scene id) using “UnityEngine.SceneManagement”.


Fig 3: Level's Panel (UI canvas)


I also polished the audio system of the game by adding background music. I created a script code so the background music will play when the game starts. I had to change the background Audio source to a loop play. I did not realise the music would stop playing after a while, until someone pointed it out. 

Fig 4: AudioManager ( Background music)


In conclusion, for this week's Devlog. I added a few things not as much as I would have wanted but enough to make it as a testing prototype for this week's Testing session on KIT-109 tutorial class. I also created a FeedbackForm where I will be collecting important feedback from testers (students from KIT109) to give me points to improve the gameplay of the game.  In the next Devlog I will be taking in consideration these feedbacks and fixing/ implementing new ideas into the game.

A big thanks to all the audience reading these Devlongs, I will be working hard this week to have a better version of "Hurry Get There" !! 


Leave a comment

Log in with itch.io to leave a comment.