Note: before starting this tutorial you need to download and install the blend4web CE SDK from -
https://www.blend4web.com/en/
Before watching this tutorial it is recommended that you watch my JS Callback Node tutorial -
• Using The JS Callback Node To Mix Logic No...
The tutorial explains the logic node sequences and JavaScript used to make a simple game, that has a score and a timer. In the game the player has to click on a cube as many times as they can in five seconds.
The Blender file has two logic sequences, one that mainly updates the timer and the other updates the score.
JS Callback nodes are used to perform actions. The JavaScript needed to make the game work is explained.
The logic could be improved but it works and it gives a starting point for better games.
The files demonstrated in the tutorial can be downloaded from my website -
http://blender.freemovies.co.uk/blend...