News for hackers. Stuff that matters.
Re:Modern cloud for multiplayer games by CJefferson on Thursday June 30, 2022 @05:10PM (#31938655)
Thanks, that is a really interesting example.

I am a bit worried by "Dropped or lost input packets are also not handled in this example.", as I would have hoped handling dropped + lost packets would be a framework issue, not a "me" issue.

Re:Modern cloud for multiplayer games by hpx7 on Thursday June 30, 2022 @05:13PM (#31938690)
I'm not the author of the game so not sure exactly what they meant by that, but that game uses Websockets which are built on top of TCP, so developers shouldn't have to deal with dropped packets (and our UDP implementation will have automatic retry built in as well)
Re:Modern cloud for multiplayer games by fanick on Friday July 01, 2022 @11:23AM (#31947680)
The trick is to always send previously unconfirmed inputs. That way if a packet is dropped the missing input is delivered in the next packet.