Thank you newt. I do have local storage, and it appears to work. What actually happens when local storage sets a variable in the game, when the game is online?
This is my understanding to the best of my knowledge, which i have problem with:
I do have local storage implemented and let's assume that it works fine.
However what happens when i have say 10 people using my game, and they all do the following at the same time:
This is one of the steps of actions from implementing local storage from your link:
Use the action Set item "score" to 100, 50, 60, 40 etc. depending on the number of users.
Then that item score, which is different for each user because of local storage, is set to a variable score, which is only one in the game.
Problem:
Thus will that single variable score be constantly overwritten by each user's key item "score"?