Possible to overwrite/delete highscores?

Basically, I want a leaderboard to have a ‘cumulative’ score of sorts, and the idea is instead of submitting a new score every time it gets higher, your old one is erased and replaced with the new one (so the leaderboard isnt populated with a ton of scores from the same person)

Is this possible in any manner?

You should look into reading and writing files in LUA.  There are any sorts of options.  You can either read and write a CSV file (there are some CSV parsing functions that are available in LUA’s website – but no built in parser) or, favourite option by many developers, encode and decode JSON tables (Corona json library) before reading/writing a file.  For the latter approach, you should be able to find some tutorial in the Corona website.

Hi @bgirolamo05,

You may want to read the overview guide of file reading/writing here:

http://docs.coronalabs.com/guide/data/readWriteFiles/index.html

Regards,

Brent

You should look into reading and writing files in LUA.  There are any sorts of options.  You can either read and write a CSV file (there are some CSV parsing functions that are available in LUA’s website – but no built in parser) or, favourite option by many developers, encode and decode JSON tables (Corona json library) before reading/writing a file.  For the latter approach, you should be able to find some tutorial in the Corona website.

Hi @bgirolamo05,

You may want to read the overview guide of file reading/writing here:

http://docs.coronalabs.com/guide/data/readWriteFiles/index.html

Regards,

Brent