How To Run A Game In The Background
xJadonx
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
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.
Follow us: Twitter - Website
@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.
Checkout Appformative
Homepage: freneticgamez.eu/
https://play.google.com/store/apps/developer?id=FreneticGamez
Thank you for the shoutout @freneticz !
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com