Saving a highscore on Android?
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Saving a highscore on Android?
Im making a small game for android and i need to save a highscore. How would i go about doing this?
-
- Party member
- Posts: 730
- Joined: Sat Apr 26, 2014 7:46 pm
Re: Saving a highscore on Android?
You can use love.filesystem to load and save files. Also you can use a serialization lib like tserial to turn tables into strings. That way you can have an array of high scores. But that is for local high score list only. You could also just send the score and a name to a server where the server can store it. For that you can use luasocket.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot], Semrush [Bot] and 6 guests