I'm making a simple platformer with a level select screen (think angry birds etc - finishing one level will unlock the next. I followed this excellent tutorial: https://www.scirra.com/tutorials/311/level-select).
So when the user closes the browser, I want the level progress to be saved. I've seen tutorials about web storage in C2, and have implemented this for a single variable. But I actually want to save an array, because I want to save whether the user got 1/2/3 stars on each level.
So I looked into saving arrays into web storage, and found this example: http://www.jargogle.co.uk/test/ArraySavingLoading/ (thread here) ...which seems a bit complicated.
I also discovered the save/load feature in C2. Should I be using that instead? Or is it overkill for my simple game?
Are there any benefits & differences between using webstorage vs save/load?