Hello there everybody, I'm learning Javascript little by little but I can't seem to find a solution to this problem: I would like a global variable initialized to a value the first time you run the game, but I need it to be persistent. So for example when this variable is changed in-game, and the game is closed, when you run it again the variable must have the value changed in-game and not its default one.
Maybe it is an obvious question for you but I have some difficulties. How can I implement it?
Thanks in advance.
EDIT: look the 4th post (mine) for more details of what I'm trying to achieve
Maybe it is an obvious question for you but I have some difficulties. How can I implement it?
Thanks in advance.
EDIT: look the 4th post (mine) for more details of what I'm trying to achieve