How to make mobile game event still working when player out ?

I wish the events of the game continues working when the player exited the game. I do not have any idea about it.
Everyone please help me, is these any way or pattern that can do it ?
I don’t have any server and can working with network.

I make a farm game. I wish anything still working when player outed.

If you want the game mechanics to continue operating when the player closes the game, you will have to use a server.

You can also measure the time that has passed since the player closed the game and generate the events and new resource values based on that when he opens it again.

2 Likes

That’s a good idea, but it won’t work if you want to notify player while game is closed.

Best solution is to use a server. Playfab is a good service for making push notifications.

Local notifications could be scheduled when the app is sent to the background.