Popular Posts

Thursday, 17 May 2012

HUD Implementation

Today I implemented the HUD designs given to me from Andy. He provided me with a Font and shield image, in which I have scripted using 'MyStyle' and GUITexture's respectively. I then moved the coin count GUIlabel from the previous position to the middle of the shield.
The next step of implementation was to have a timer within the shield, allowing the player to be told how long it takes them to complete the respective level. We thought this would give extra drive for the player to continue, and even return for another play through to beat the previous score. The timer was implemented using a Clock timer script within Unity.


Tuesday, 1 May 2012

Level & Character Sound Scripts

In addition to the HUD, I have now moved onto working with Michael to implement his sounds and music into the Gameplay. He provided us with a huge variety of sounds, ranging from character footsteps to cannon fire.
To put the character and enemy sounds in place, I used Animation Events within Unity. This allowed me to have the sounds react during certain frames of the animations. This method was also used for sounds relating to the spikes and crushing boulders. In-Game music was added as a 2d sound, whilst other atmospheric sounds such as fire and battle scenes were applied. Footsteps were added using collision detection on the floor. This method allowed me to change the type of footstep depending on which surface the character traveled across.
Below is a list of the sounds used