Hi all,
For my game I want to implement a power-up that takes a few hours to recharge before it becomes available again.
How can I make the recharge timer continue even when the player closes the game? For example, if the power-up takes 3 hours to recharge and the player exits the game, I want it to be ready when they return after 3 hours.
What’s the best way to store and compare time so the timer syncs correctly when the game is reopened?
And also important, how to avoid cheats like changing the local time on devices.
Thanks in advance!