Run a game while not in use on android

0 favourites
  • 3 posts
From the Asset Store
Full game Construct 2 and Construct 3 to post on Google Play
  • So, I'm making a game that needs to have things that happen after a given amount of time, for example, a plant needs to be growing, even if you are not playing the game. What would be the best way to approach this?

  • The best way would be, if your game already expects the player to be connected to the internet, check with a server to get the time.

    Alternatively you could check the local time on the device, though, user can move their phone clock forward and back as they please.

    Those are the methods I could think of.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • The best way would be, if your game already expects the player to be connected to the internet, check with a server to get the time.

    Alternatively you could check the local time on the device, though, user can move their phone clock forward and back as they please.

    Those are the methods I could think of.

    I'd imagine that issue with the second problem, what method would you recommend to check a server?

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