Countdown Timer - How can I save the timer attributes?

8BitMichael8BitMichael Member, PRO Posts: 125
edited November -1 in Working with GS (Mac)
I'm trying to create a countdown app and I've run into a problem. I have 4 separate integer game attributes for seconds, minutes, hours, and days all set on a timer. Now I'm trying to figure out how to accurately resume the countdown after you close and open the app. I know how to save and load attributes, but this will only resume the countdown from where it left off, and will not represent the time that has passed.

So, any ideas?

Comments

  • 8BitMichael8BitMichael Member, PRO Posts: 125
    Darn, that's what I was afraid of. Thanks
  • synthesissynthesis Member Posts: 1,693
    I think you can do this...so long as it is not date specific (such as a countdown to new years).

    You can use time marks and basically create your own internal stop watch that starts and stops as you go. But what you can't do is have it connect to a real world clock.

    In other words...if your clock is an INTERNAL ONLY clock...than you can do it. But if it needs to sync with a real world clock...can't do it.
  • 8BitMichael8BitMichael Member, PRO Posts: 125
    This is when being able to reference a webpage would really come in handy.
Sign In or Register to comment.