3 ms·
Awesome!! How are you serializing data over the network? I see you're using WebSocket's arrayBuffer--did you use any tools to help with serialization?
by munro 6y ago
Awesome!! How are you serializing data over the network? I see you're using WebSocket's arrayBuffer--did you use any tools to help with serialization?
- crazypython 6y agoIt's currently using fasttalk2-re, a library capable of transmitting arbitrary dynamically typed values we developed in-house. While it uses the same protocol as https://arras.io https://arras.io, the code was completely rewritten from scratch. Here's the code: https://gist.github.com/CrazyPython/bb9505d4813cbd68235bb2daa1e57182 https://gist.github.com/CrazyPython/bb9505d4813cbd68235bb2da... License: GPLv2+. Note the GPL doesn't apply to your server code or any art you use. The only thing this asks you to do is publish your client source code.