When the player reaches the trigger zone two buttons show up, Restart and Exit, and the player can click either, to either play the game again or quit the application. I downloaded a free font to make the buttons and outlined them in white so they could be seen on any colour. The timer also stops when the trigger is reached which sounds obvious but took me a while to work out as I had to use the FindObjectsOfType which was something new that I learnt to like this script with the TimerScript. This coding has definitely been a learning curve for me and was not what I expected to be doing going into the project, however I have learnt a lot of useful things and wouldn't mind doing it again and learning more.
Tuesday, 9 December 2014
TriggerEnd
When the player reaches the trigger zone two buttons show up, Restart and Exit, and the player can click either, to either play the game again or quit the application. I downloaded a free font to make the buttons and outlined them in white so they could be seen on any colour. The timer also stops when the trigger is reached which sounds obvious but took me a while to work out as I had to use the FindObjectsOfType which was something new that I learnt to like this script with the TimerScript. This coding has definitely been a learning curve for me and was not what I expected to be doing going into the project, however I have learnt a lot of useful things and wouldn't mind doing it again and learning more.
Labels:
coding,
game design,
games mechanic,
javascript,
unity
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment