Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.

Unity challenges ! are you ready?

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

  1. getafix99


    Jan 29, 2013
    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!