Inactivity Timer

So I planned on testing out an idle tycoon concept and I was wanting to know if there was a way to determine money a user can make offline.

I had the idea of using the time behavior to take and save the time the player was last on, then compare that with the time and date of their next visit and give the player money or cash based on their current income and how long they were gone for.

I’m still not for sure how this would work, but if anyone has any ideas or examples, then feel free to share your wisdom.

2 Likes

Yep, you can take the last time saved and compare it to the time when they start the game.

3 Likes

I also have a “game” where I did this

3 Likes