Back to Browse

ThreeNewLevel

32 views
Nov 19, 2014
9:20

Go from level one to level two in our ThreeJs game. We show how to: - Set a condition for moving to the next level - Ensure that all three grids are loaded before the new level starts and animate() is called - Clear the Scene of old walls, buildings, cubes... - Clear the TinyMap - Clear the buildings array used to check for collisions - Ensure that Three is loaded before the game starts The technologies involved include NodeJs, JavaScript, ThreeJs (thank you Mr Doob!), jquery, requirejs, Eclipse, Chrome, the JavaScript Canvas and TinyPubSub (a publish subscribe pattern.)

Download

0 formats

No download links available.

ThreeNewLevel | NatokHD