how to stop a countdown?

FViMaginationFViMagination Member Posts: 89
edited May 2012 in Working with GS (Mac)
Hi guys,
I have a Countdown in my game that I make it start with changing a TimerOn Attribute to True. It has to go from 10 to 0 and I have to throw a ball into a can within that time. So, if I make it within 10 seconds, Countdown should stop and I should get to the next level. This has to happen for about 64 levels :)
How can I make it happen?
PS: I made my Countdown Timer following Tshirtbooth's tutorial about Timer on youtube, but that works if you have one single Level...

Best Answers

  • Barking_AppsBarking_Apps Posts: 182
    Accepted Answer
    try this;

    When countdown = 0, 'constrain countdown attribute to 0'. Then on the button you have to go to the next level, 'change countdown attribute to 10'.

    This should work and i hope it helps let me know...

    BarkingApps :o3
  • JohnPapiomitisJohnPapiomitis Posts: 6,256
    Accepted Answer
    Just make a attribute called levelComplete or something. When you finish change levelComplete to true

    and have your countdown rules in a rule when level complete is false

Answers

  • FViMaginationFViMagination Member Posts: 89
    the thing of it is that I would need that countdown to stop by the time I win the game, for instance, if I win the game when countdown is at 4 secs, it should stop there and show "4", not "0", also because when Countdown = 0, it's game over...
  • FViMaginationFViMagination Member Posts: 89
    and this is the 2nd strike in a day with me, JP !! ;)
    it works, thank you very much!!
Sign In or Register to comment.