How to save Level Progress?

You should escape your backslashes. So you need to write \\ instead of \ when inside a String.

You should be fine if you just use the filename without full path. It will be saved in the sketch folder or data folder.

3 Likes