RiftSketch icon indicating copy to clipboard operation
RiftSketch copied to clipboard

Add multi-user support.

Open brianpeiris opened this issue 9 years ago • 5 comments

Avatars, spectators and collaborative coding

brianpeiris avatar Oct 05 '14 07:10 brianpeiris

Collaborative coding would be so awesome!

LeapGamer avatar Oct 06 '14 03:10 LeapGamer

Also not terribly difficult, though I had much of the infrastructure already in place with my feature of aggregating input from multiple devices for a single user: https://github.com/capnmidnight/VR/blob/master/src/socketControllers/demo.server.js

I do it over WebSockets with Socket.io. I'm considering switching to WebRTC for the inter-device communication, and going to raw, non-Socket.io WebSockets for the inter-user communication. Socket.io makes it very easy to get up and running on everything all the way back to IE5, but given that we're running WebGL stuff, that's not really necessary. I mostly went with it because it's the "best" WebSocket library for Node.js. If you end up implementing the server in anything other than Node.js, there will likely be something else entirely that will be more worthwhile.

One thing that bothers me about Socket.io WebSockets: they swallow exceptions that occur inside of their handlers. You'll just get a "connection terminated" and no indication of why.

capnmidnight avatar Oct 07 '14 13:10 capnmidnight

Dissapointed there isn't a like button. collaborative editing would be unbelievably cool.

eric-schleicher avatar Apr 12 '15 05:04 eric-schleicher

This is definitely high on my list.

brianpeiris avatar Apr 12 '15 06:04 brianpeiris

Continuing the conversation from Twitter, please let me know if/how I can help.

peterood avatar Apr 21 '15 08:04 peterood