Learning By Doing Posted March 9, 2014 Share Posted March 9, 2014 Hello! I need help to store and get values from localStorage, I did manage to save my values to localStorage, but I got some problems when running the game next time.. Maybe someone can give me some examples how I could store and then view the values next time I start the game? I need help to save playerLevel, totalExp & nextLevelExp to localStorage, and then view the values and update them. --Edited--I did solve my problem.. I just ha to use parseInt when I was getting the data from localStorage.. Link to comment Share on other sites More sharing options...
Heppell08 Posted March 9, 2014 Share Posted March 9, 2014 LocalStorage post:http://www.html5gamedevs.com/topic/3456-save-game-data-locally/ Link to comment Share on other sites More sharing options...
Recommended Posts