Hello!, i want to ask you whether these events are correct?<img src="https://dl.dropbox.com/u/44710358/cbugc.jpg" border="0" />
I ask because my save and load dont work.
if you have any tips please post
Regards
maybe helps this:
http://www.scirra.com/forum/topic53467.html
i read tutorials before i create save and load system. My game have events from tutorials
Your 'save' button always saves the text "level" to webstorage. That's not very useful, because it doesn't save your progress, just the string "level". You probably meant to save level (without double quotes) to refer to the variable.
'level' is global variable, so when global variable is x, x levels are unlocked. So i want just save and load this numbers, what i must do ?
Develop games in your browser. Powerful, performant & highly capable.
i didn't use webstorage yet but i think ashley want to say use level instead of "level"
"level" mean it always saves the word "level". but level it will be for the global , take off the ""