Hacker News new | ask | show | jobs
by dested 3118 days ago
Do both websocket connections send the same data, or do you split your data logically between two channels (movement data vs state data)
1 comments

I interleave information that becomes redundant (like the position of players, I can handle losing every other packet for a while, interpolating/predicting missing info) but send important data in all channels (like when a rocket is fired, it's just one event that must be seen).

Again, I'm not OP but I did similar things and explained what probably happens with this game.