-
Notifications
You must be signed in to change notification settings - Fork 97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add multi-user support. #3
Comments
Collaborative coding would be so awesome! |
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. |
Dissapointed there isn't a like button. collaborative editing would be unbelievably cool. |
This is definitely high on my list. |
Continuing the conversation from Twitter, please let me know if/how I can help. |
Avatars, spectators and collaborative coding
The text was updated successfully, but these errors were encountered: