Serverless Multiplayer demo

I hacked together this quick demo to explore using WebRTC for peer-to-peer multiplayer networking without a central server. If you follow the instructions you can connect directly to another browser (or another tab) and see the position of their box update as they move around. It’s a pretty janky solution with no real use but it was an interesting way to learn about WebRTC and get my feet wet with Babylon.js.

The WebRTC code comes from: GitHub - lesmana/webrtc-without-signaling-server: webrtc without signaling server. a stun server is still used if connecting over the internet. demo:
Third person camera from the playground: