4 ms·
Do both websocket connections send the same data, or do you split your data logically between two channels (movement data vs state data)
by dested 9y ago
Do both websocket connections send the same data, or do you split your data logically between two channels (movement data vs state data)
- DiThi 9y agoI 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.