Appformative Timer
eligames
Member, PRO Posts: 40
Hi I am setting up Appformative in order to show the player how long the player has been on the server except it only works when you refresh the app. Is there anyway to update the text attribute every second so it updates.
Comments
Appformative is a third-party product. You can contact @Hopscotch for help.
New to GameSalad? (FAQs) | Tutorials | Templates | Greenleaf Games | Educator & Certified GameSalad User
nevermind I figured it out
@eligames
how are you doing it now?
I hope you don't poll the server for the time every second. That frequency of network traffic would drain the users device battery very quickly.
Get the time from the server on startup, then use the normal game.time to know the difference while online.
MESSAGING, X-PLATFORM LEADERBOARDS, OFFLINE-TIMER, ANALYTICS and BACK-END CONTROL for your GameSalad projects
www.APPFORMATIVE.com
Yea I only poll the server on log on and use the game.time while they are using the app.