Hi guys, here I am again with a question.
I’m working on a game who has an energy system, like those from social games. I wanted to make a timer to fill the energy bar after given amount of time. I also want that this timer to count even if the app is closed, so the user can exit the game when the energy runs out, and when he reopen the game, after some time, the energy bar will be filled based on the waiting time. Here is the problem, I have no clue how to do that … Can you give me some hints?