Wednesday, 4 March 2015

Interactivity 6th session


To start off we created a script to destroy our explosion prefabs after they've been exploded.

 

Next it's was time to add some audio to our game. This is done with an audio source component through the inspector panel

 

 
Also we added some background music to the GameControlergameobject.

and alsoaddedsome score text. We did this using a GUIText component on an empty gameObject.

 We then set up our scoring values through the game controller script by adding in modifications. The script now looking as follows with added modification.
 
 

now the game is finished it is now time for the exciting part and customizing the game.

 

 

No comments:

Post a Comment