由用户创建的信息 AshyBlend
25 June 2017 01:46
Hi all, this is Ashy from Calcutta, India.
I want to have a score system in my game.
Suppose, a user clicks on an object. I can then increment a variable for each click.
But problem is how do I get the value of this variable in the Html dom?
This will be a single player game and I want to store the game data in local storage/cookies and not on the web server.
I want to have a score system in my game.
Suppose, a user clicks on an object. I can then increment a variable for each click.
But problem is how do I get the value of this variable in the Html dom?
This will be a single player game and I want to store the game data in local storage/cookies and not on the web server.