WebVR Collaboration Tutorial
By Jakobi Haskell
Here is a tutorial for making a collaborative VR website using A-frame for webXR ability and the socket.io JS library for multiplayer ability.
Socket.io uses websockets, a bidirectional communication framework, to send messages between client and server. In this tutorial, we
will use web sockets for each client to send a message to the server with their positional data, and the server will broadcast that message out to all the other clients, which will create representations of them in A-Frame (which in our case our cones).
To start, you will need:
A web server
A TLS-certified domain
A code editor
A github account
If you don't know how to create a webserver and certified domain, follow the tutorial linked here.