Hello, I am using the scoring module here provided by corona:
https://coronalabs.com/blog/2013/12/10/tutorial-howtosavescores/
so I tweaked it a bit to check the prev score and compare it with the current score if current score is greater than it updates and saves the new score or else does not save it.
It works fine if I manually create the file in the sandbox where it should be saving scores. But when the application will be run first time their won’t be any error hence it gives error that file does not exisits.
How can I create a file in the sandbox only once? It checks to see if their is a file if their is it does not create any or if it isn’t their it creates a new file?
Please help, It’s been days since I’ve been trying to get around this.