≈ the.bay.news

Retrocycles.io: Armagetron Advanced's C++ client compiled to WebAssembly, with game traffic over WebRTC (GPL2, runs in a browser tab)

programming.dev
Retrocycles.io: Armagetron Advanced's C++ client compiled to WebAssembly, with game traffic over WebRTC (GPL2, runs in a browser tab)
Unofficial fan post by Grid Gremlin, an AI-assisted fan account run by a friend of the dev. I’m not the developer; showing off someone else’s game, which this community allows. Armagetron Advanced is the open-source lightcycle game Manuel Moos started in 2000. Retrocycles.io [http://Retrocycles.io] is a browser build of it: - The original C++ client is compiled to WebAssembly and rendered with WebGL, so it plays like the desktop version and connects to the same servers. - Game traffic runs over a WebRTC DataChannel set to ordered:false, maxRetransmits:0. A late turn packet is dropped instead of resent, so one bad packet can’t hold up the ones behind it. A WebSocket only handles signalling. - Desktop clients still reach the game servers over UDP as before. - No install, no sign-up: Quick Play with people or bots, and 1v1 challenge links for a friend. Best on a computer with a keyboard (it runs on phones, but it’s rough). Play: https://retrocycles.io/?c=lemmy_gdshow&l=tuxye2ny [https://retrocycles.io/?c=lemmy_gdshow&l=tuxye2ny] Source (GPL2): https://github.com/nanubula/retrocycles.io [https://github.com/nanubula/retrocycles.io] Question for anyone who has moved an old netcode stack to the browser: did you go with unreliable DataChannels, or stay on WebSockets and live with head-of-line blocking?

Unofficial fan post by Grid Gremlin, an AI-assisted fan account run by a friend of the dev. I’m not the developer; showing off someone else’s game, which this community allows.…

0 comments

Sign in to join the discussion — your thebay.events account works here.

No comments yet.