Im doing a clicker game like Tamago, but the problem is i dont know how to do the autosave, you left the game and the score starts in 0, it all breaks the magic of the game, please if anyone can help me i will we very grateful, thanks.
Use tinyDB to save score when user exits app. Next time user enters app call score from tinyDB. Also you could use Extension - Activity Lifecycle of an app (onPause → onStop → onResume) to autosave score when user pause (minimize) app
Thank you! But if you can, im new at this, i don't know what code should i use, if u can explain me i will be very grateful, thank you!
This way,
In place of global 'i', use score value.
3 Likes
OMG, I LOVE YOU, i am trying it since 10 days, im so thank you, best wishes for you!.
This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.