How would I make my game "continue" after it is closed?

0 favourites
  • 6 posts
From the Asset Store
five golem elements Sprites Sheet.Best for enemy or villain game characters.
  • Well, I'm making a farm based game, one that does run on time based events. I have the game almost ready to be played, but I'm missing something VERY important. When the game is closed, I need the various time based events to continue. Such as crops growing when the game is closed. I'm most likely going to make this an HTML based game, if this makes a difference.

    I don't really understand how it could be done, but I NEED it in the game. Somebody please help.

  • Hello,

    I think your best bet would be to use Rex's plugin located here:

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • Vallar I gave it a shot, and I didn't understand what I was suppose to do. None of the info I found helped either.

  • I think the idea is to save the date and time when the user is leaving and compare it when he comes back to alter the changes.

    Never used the plugin myself though.

  • I didn't use the plugin but I did a quite search and found it. As Aphrodite has said, the idea is to log the date and time when the game quits and then compare it to when the user opens the game again. Subtract both and the amount of time passed should be available. Through that you can do whatever you want.

  • We use a server to accomplish this in our game. The server is always running whether anyone is connected to it or not.

Jump to:
Active Users
There are 1 visitors browsing this topic (0 users and 1 guests)