Skip to content
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

Open
brianpeiris opened this issue Oct 5, 2014 · 5 comments
Open

Add multi-user support. #3

brianpeiris opened this issue Oct 5, 2014 · 5 comments

Comments

@brianpeiris
Copy link
Owner

Avatars, spectators and collaborative coding

@LeapGamer
Copy link

Collaborative coding would be so awesome!

@capnmidnight
Copy link
Contributor

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.

@eric-schleicher
Copy link

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

@brianpeiris
Copy link
Owner Author

This is definitely high on my list.

@peterood
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants