i have saved scores and opened level data using Json, everything works correctly, how can i reset everything in the simulator so i can restart the game from scratch?
File > Show Project Sandbox
Delete whatever files you need to.
A simpler way would be to create a function that wipes the data, that way you can restart the game on devices too.
Just create a function that saves an empty table to the json file (or a copy of your default json string).
File > Show Project Sandbox
Delete whatever files you need to.
A simpler way would be to create a function that wipes the data, that way you can restart the game on devices too.
Just create a function that saves an empty table to the json file (or a copy of your default json string).