Appformative Timer

eligameseligames 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

  • tatiangtatiang Member, Sous Chef, PRO, Senior Sous-Chef Posts: 11,949

    Appformative is a third-party product. You can contact @Hopscotch for help.

  • eligameseligames Member, PRO Posts: 40

    nevermind I figured it out

  • HopscotchHopscotch Member, PRO Posts: 2,782

    @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.

  • eligameseligames Member, PRO Posts: 40

    Yea I only poll the server on log on and use the game.time while they are using the app.

Sign In or Register to comment.