Monday, 26 January 2015

Creating HUD (Health, Time)- Ahmed Bhutta

After the base environment had been created, I went onto create the HUD of the game. We had two main elements that we needed for our game and for which would be significant for the players of our game. This is health and the timer.

I had created an empty game object and attached the data manager script to it which scripted the health of the player within the game. I then attached a GUI text to that, which shows up as "Battery Life Amount:". I then created a GUI text and named it to read "Time Left:" and attached that to an empty game object for which I had already attached the timer script to. I had the positioned them in the top corners of the screen and changed the colour to match that of the the toxic smoke.











No comments:

Post a Comment