Another multiplayer demo written in ThreeJS, CannonJS and SocketIO.
It’s an experiment with
- spherical gravity (sorry flat earthers)
- some CannonJS physics calculated server side, everything else calculated client side
- uses CANNON.Trimesh for ground topography
- multiplayer using SocketIO
- sfx with THREE.AudioListener
Playable Demo : https://fcs.sbcode.net
GitHub : https://github.com/Sean-Bradley/First-Car-Shooter
- Drive: WASD
- Brakes: SPACE
- Look: MOUSE
- Shoot: Left Mouse Click
- Respawn : R (useful if your wheel gets stuck in the ground)
Scoring
- 10 points for shooting moons back into orbit
- 100 points for shooting other players to pieces
I still have many issues, but demoing it anyway. Sorry no mobile version.
Its licensed MIT so no warranties of it working or being fit for any particular purpose etc. So good luck if it works for you.