How can I add a timer?

Discussion in 'How Can I...?' started by nayamamarshe, Apr 16, 2016.

  1. nayamamarshe

    nayamamarshe Avid Boxer

    Joined:
    Feb 21, 2016
    Messages:
    237
    Likes Received:
    64
    Just wondering if there is any way to add a timer in the game.

    If possible.
    If we can't, is there any way we can edit source code to do so?
     
  2. heathclose

    heathclose Miniboss Boxer

    Joined:
    Jan 28, 2016
    Messages:
    1,810
    Likes Received:
    1,026
  3. AppNasty

    AppNasty Miniboss Boxer

    Joined:
    Apr 14, 2016
    Messages:
    1,485
    Likes Received:
    890
    For one of my games, i wanted a timer to count up so players can see how long they can last. What i did to achieve this was:
    My speed time is set to 50.00, i set game speed min and max to 0.50. score multiplayer to 1.00 then on game menu screen, added text, set function of text to score, then set it to distance, and then current. With game speed at 50 and time at 0.50, the distance score counted up 1 per second. then when they die, on game over screen i added the same thing, plus addition text with function to show BEST score.

    Speed of timer will vary based on GAME SPEED. so if you have game speed set to 100.00....time speed would probably need to be -1.00 in order to get the 1 per second effect.
     

Share This Page