How To Run A Game In The Background

xJadonxxJadonx Member, PRO Posts: 46

I'm wanting to make a game with a mechanic like Tiny Tower. Where over time (even when the app is closed) coins are still being added every second. How could I go about doing this inside GameSalad?

Comments

  • AlchimiaStudiosAlchimiaStudios Member Posts: 1,069
    edited September 2016

    You could do it with either Devices.clock attributes by saving on exit and comparing to the date/time on next launch. But this is susceptible to cheating by players changing the devices settings to be a different date.

    Or you could send information over the web that talks to a server on exit and on launch that then compares the date/time server-side, which would be less susceptible to cheating.

  • xJadonxxJadonx Member, PRO Posts: 46
    edited September 2016

    @AlchimiaStudios That's what I thought. Any tips for comparing date? Thanks so much for the feedback! (In GS) Sending content over the web is my last resort.

  • freneticzfreneticz SwedenMember, PRO Posts: 779

    Checkout Appformative

  • HopscotchHopscotch Member, PRO Posts: 2,782

    Thank you for the shoutout @freneticz ! :)

Sign In or Register to comment.