Problem With Countdown Timer To Death

Discussion in 'How Can I...?' started by isthisrequired, Jun 26, 2017.

  1. isthisrequired

    isthisrequired Boxer

    Joined:
    Jun 14, 2017
    Messages:
    74
    Likes Received:
    7
    Hi everyone,

    I am trying to implement a counter that counts down from 120 seconds to 0, and once 0 is hit the game should end. I have seen a couple threads saying the only way to do this is to create 120 separate graphics for the numbers counting down and using the animation feature to do the timer effect. However, I was hoping there was an easier way to have this timer countdown and then lead to the game over screen. Is there a better way to make this timer occur? Thank you.
     
  2. adrogdesigns

    adrogdesigns Avid Boxer

    Joined:
    Dec 5, 2016
    Messages:
    318
    Likes Received:
    233
    There is a way.
    It depends though on the scoring of your game.
    If you are using points and coins together then it won't work , but if your not then you can watch video 10 in the how to make a game series by heathclose, where he explains a way to do it using the score label which acts as a counter.
    its really cool. and no use of a hundred and twenty png files.
    have a watch and see if it helps.
     
    isthisrequired likes this.
  3. isthisrequired

    isthisrequired Boxer

    Joined:
    Jun 14, 2017
    Messages:
    74
    Likes Received:
    7
    I did this by following the video provided by Heathclose, but for some reason my timer's speed is 3x faster than "normal time" and I'm not sure how to change this without affecting my score counter as well. Any suggestions? Thanks.
     
  4. isthisrequired

    isthisrequired Boxer

    Joined:
    Jun 14, 2017
    Messages:
    74
    Likes Received:
    7
    I did the above method but it still did not work. Any help?
     

Share This Page