So i did level select screen and its working but whenever i turn off and turn on game i need to start from level 1 cause it doesnt save.
im using Nobe webkit when exporting
You can use the System object's Save and Load actions to save and load the entire game state. You could also use the Local Storage to explicitly handle what is or isn't saved/loaded.
Develop games in your browser. Powerful, performant & highly capable.
Ty Save and Load worked perfectly for me