TIME BASED SCORE SYSTEM
PUBLISHED 10/05/2023
Last updated
PUBLISHED 10/05/2023
Last updated
OBJECTIVE: Create functionality to track the amount of time spent playing the game and translate that to a integer value. Display this value on the user's screen.
LINE 1 --> float variable to store the value of time spent playing ==> This value is a decimal number
LINE 2 --> integer value to store the score value
==> Score value is _time
rounded up
LINE 7-12 --> Function to determine score and display it to the user
LINE 9 --> _time
is updated to the most current time spent playing each frame
LINE 10 --> _time
is rounded up each frame and stored within _score
LINE 11 --> _score
is displayed through the text variable _scoreText