Skip to content

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.

git clone https://github.com/Sean-Bradley/Three.js-TypeScript-Boilerplate.git

cd Three.js-TypeScript-Boilerplate

git checkout ballgame

npm install

npm run dev

Comments