Countdown Timer - How can I save the timer attributes?
8BitMichael
Member, PRO Posts: 125
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?
So, any ideas?
Comments
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.