I want to make a game with real time timers, like clash or virtual villagers, but how can i keep the game running in the background of device, so the timers keep running as-well…? Not sure if GDevelop is right for this but interested to if possible.
1 Like
Hi, you can measure the elapsed time between play sessions by storing the time when the game was closed and comparing it to the time the game is opened again.
There are several threads about that in the forum, one of them is here:
Track time since last opening of my game
Letting the game run in the background would be not a good solution for several reasons.
2 Likes