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

High level multiplayer for WebAssembly platform #14627

Closed
LinuxUserGD opened this issue Dec 13, 2017 · 3 comments · Fixed by #29755
Closed

High level multiplayer for WebAssembly platform #14627

LinuxUserGD opened this issue Dec 13, 2017 · 3 comments · Fixed by #29755

Comments

@LinuxUserGD
Copy link
Contributor

LinuxUserGD commented Dec 13, 2017

Will Godot 3.1 support WebAssembly high networked multiplayer?

@akien-mga akien-mga changed the title Feature Request: Browser multiplayer High level multiplayer for WebAssembly platform Dec 13, 2017
@leonkrause
Copy link
Contributor

The choices here are:

  • WebSocket, which is relatively simple to use in the browser
  • WebRTC data channels, which are more complex to implement and use, but can be faster
  • HumbleNet, which uses both preceding technologies, has some support from Mozilla and supposedly works automatically both on native and Emscripten

WebSocket and WebRTC would need to be implemented separately for native if multiplayer connections across native and browser are desired.

@LinuxUserGD
Copy link
Contributor Author

LinuxUserGD commented Dec 13, 2017

Websockify (https://github.com/novnc/websockify) looks like a native solution that could be used as an TCP bridge for allowing browsers to connect to native applications (one direction)

@Faless
Copy link
Collaborator

Faless commented Dec 19, 2017

@LinuxUserGD @eska014
See https://github.com/LudiDorici/godot-websocket for an implementation of High level multiplayer over websocket compatible with both desktop and and webassembly platform.

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

Successfully merging a pull request may close this issue.

4 participants