Posts

Showing posts from March 27, 2018

Unity Project 1: ButtonCheckScore - Task 1 Part 1

Image
We created a way for a gamer to type in their score from a game. The text and colour of the background panel changes depending on their score.  Default colour of game before any input When the score is less than the value set for the variable 'silver' then the panel's text changes to 'bronze' and the colour of the panel is set to changes to a browny-bronze colour. Bronze display When the score is less than the value set for the variable 'gold' or equal to the value set in the variable 'silver' then the panel's text changes to 'silver' and the colour of the panel is set to change to a silver colour. Silver display When the score is more than or equal to the value set for the variable 'gold' then the panel's text changes to 'gold' and the colour of the panel is set to change to a gold colour. Gold display The inspector allows us to change the colours of the panel and set the varia