Re:QuakeJS – A Quake Port to JavaScript with Emscripten
by lxtx on Monday April 06, 2020 @04:53PM
(#22797747)
Only played it with my friends, don't think a map ever exceeded 10 players. So I can't say much about scaling - although it was a client-server model over UDP and not peer to peer networking.
[ Parent
| on HN ]
Re:QuakeJS – A Quake Port to JavaScript with Emscripten
by k__ on Monday April 06, 2020 @04:58PM
(#22797798)
Ah, so you had a WebRTC datachannel between the clients and the server?
Re:QuakeJS – A Quake Port to JavaScript with Emscripten
by lxtx on Monday April 06, 2020 @05:04PM
(#22797853)
Basically yes, a custom datachannel implementation. Haven't updated it lately, but it's up at https://github.com/seemk/WebUDP
Re:QuakeJS – A Quake Port to JavaScript with Emscripten
by k__ on Monday April 06, 2020 @05:29PM
(#22798079)
Pretty cool.
You don't happen to have some ping comparisons betwen WebRTC and WebSockets?