Ballgame Branch

Description

The Ballgame branch demonstrates,

  • Server-Side Cannonjs Physics,
  • Physics Friction and Restitution,
  • Tweening mesh positions and quaternions based on server side physics body properties,
  • Multiplayer Support using SocketIO,
  • Mobile and Desktop Responsive UI,
  • Custom Camera controller which acts as an Orbit Controls and Follow Cam
  • Reflector Object
  • THREE.CubeCamera
  • Basic Game Engine with a clock, game phases and scoreboard.

To load the ballgame example, checkout the ballgame branch.

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
git clone https://github.com/Sean-Bradley/Three.js-TypeScript-Boilerplate.git

cd Three.js-TypeScript-Boilerplate

git checkout ballgame 

npm install

npm install -g typescript

npm run dev