Wednesday, 7 May 2014

Escaping

Yesterday I worked on the GUI text that would appear when the player escapes from the facility.

 
 
Above is the screenshot of the scene not being played. I created the GUI 'You have Escaped' text and the 'Press L to Escape', just like the 'You Have Died' text.

 
This screenshot above is when the player has activated the trigger to show the message they have escaped once they have completed the door puzzle and gone through the door.
 
 
Above is a screenshot of the 'End Game' code that was created to show the text when the player enters the trigger within the door. This script is just like the GUIEnd script, which works when the player has been killed by the alien. (This will be shown below).


 
This script shows when the player has been killed by the alien, and it gives them the option to restart by pressing the 'L' key on the keyboad, just like when you escape from the facility.
 
 

No comments:

Post a Comment