Hello everyone!
I’m working on a real-time multiplayer shooter in WebGL, and since web protocols/features change so rapidly, I wanted to ask: what is the best solution in 2019 for building a real-time multiplayer game (probably authoritative server) in WebGL that also has a Unity integration?
I used PUN in a different project in 2015, but their pretty basic implementation of WebSockets left a significant amount of delay back then. Has PUN gotten better for WebGL builds? Or is there another solution you all would recommend? What about Multiplay, does that work in Unity WebGL?
I’m not much of a back-end coder, so ideally I’m looking for a 3rd party implementation that doesn’t require me to manage my own AWS server stack. PUN, for example, handles server scaling automatically, so that setup is an ideal solution for me if it’s somehow cleaned up the latency issues in its WebSockets implementation. WebRTC looks like it’s more for P2P networking, unless there’s a way to utilize it to build an authoritative server implementation. www.geckos.io seems like a more DIY solution, while HumbleNet and PeerJS are more focused on P2P.
Thanks in advance!