Best way to implement offline progression timers in a city-builder?

I’m building a city-builder like game and need to create timer system that will work off-line so if a player goes away from the game for half a day, things still will have progressed when the player is back.

Could someone suggest best/easiest way to create such timer that I can use against all systems (buildings, units, level ups etc)?

thanks!

This is possible TBH, i have been experimenting with some like that but for tycoon idle games.

Though it does work same way but a bit differently. I have made a temple for a friend, it wasn’t 100 clean codes because i made it in a rush. But i will say one thing it is 100 possible.

Since you want the players to be able to go away and come back, a half day or more later. This will help you but i warn ya the temple has lots of notes and is a mess. Here’s the link to download it Windowed whilst still earning rewards

For the type that fits your game since it’s city builder, it will be 2nd one. Since you can set like a day or month later when it’s reached it will do it’s work.
image
Look at the codes and notes and lemme know if there’s anything i can help with. Do note i'm planning in the future to make updated and clean version. So people can use it too, experienced or beginner

4 Likes

that’s awesome, I’ll have a look today!!