Hello to all
i am developing a multiplayer game, and i have a problem with json. To transfer the coordinates of other parameters from the host to the peer of an object, I have chosen to use an array and pass it through json. So a broadcast or peer message with the array translated into json and on the other hand always reassemble the array with json.
I noticed a significant slowdown, of almost a second, in realigning an object between the host and the peer.
I tried syncing the object, but with the type i goco it doesn't work.
Develop games in your browser. Powerful, performant & highly capable.