News for hackers. Stuff that matters.
Re:Show HN: An online 2D MMO game, written in Rust and JavaS... by modeless on Thursday August 15, 2024 @12:50PM (#41258006)
Yes, WebRTC is complicated. But you only need a TURN server for the P2P case. If you are using it in a client-server mode like WebSockets then there is no need for a TURN server, and connection establishment should be significantly simpler. And if you don't need the audio/video stuff then you can ignore that complexity as well. (Although voice chat or even video could be a very cool and differentiating feature for a multiplayer game.)
Re:Show HN: An online 2D MMO game, written in Rust and JavaS... by NathanFlurry on Friday August 16, 2024 @06:06AM (#41264923)
We work with a lot of multiplayer game devs and always recommend fast-paced games take a second look at client <-> server WebRTC.

This the demo we share: https://github.com/rivet-gg/examples/tree/main/javascript/we...