Search Unity

Unity challenges ! are you ready?

Discussion in 'Scripting' started by getafix99, Feb 6, 2013.

  1. getafix99

    getafix99

    Joined:
    Jan 29, 2013
    Posts:
    40
    I give you a challenge, and the first to solve it get's to challenge the next person, lots of fun.

    1.Create a simple script that presents any output (even print or Debug.Log) of a current score, create a second variable called bonusScore. find a way to add bonusScore to score in a smooth way (like score counts at the end of arcade games), it can be as fast as you want as long as it's not instant.

    2. Do the same for a variable that keeps decreasing and call it remainingTime, add bonusTime in a smooth way.

    good luck!