Forum

Score System

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.
25 June 2017 04:01
Hi Ashy, welcome to the forum.
ianscott888 does some great videos on Blend4Web. Here is one that might be just what you need.

https://youtu.be/6wI7RgmcK0A
 
Please register or log in to leave a reply.