Hi all,
I am developing a game and I want to release 2 versions: Free and paid. The free one has less functionality and ads, the paid one has full contents and no ads.
A lot of apps works that way, and if you play the free one, and make some achievements, you want to keep them when you purchase the full app. Now I use something like this:
file = io.open( path, “r” )
if file then
local score = file:read()
local fails = file:read()
…
file:write( tostring(score) )
file:write( tostring(fails) )
There is a better way to save the game score? Can I save the score in a “secure” way (to avoid score hacking) and share that score between my two apps (free and paid versions)?