I'm looking to add a rewards system to my game, where after an hour or so, the player will get a random reward.
So if the player starts the game, plays for 5 mins and closes it, then comes back after an hour, it would register as an hour and 5 mins....not just 5 mins.
I am currently having trouble with setting up a timer to do this, as the timer doesn't tick once the app is closed.
Any suggestions?
Please help. Thanks.