Currently we send the entire scene (all elements that have reflect: true) on every network tick. This is totally unneeded, we should keep track of changed elements on the document object, and only send elements that have changed. When a client connects, we need to send it the entire scene state. I think the client should just work with deltas, so this should require server code only.
Currently we send the entire scene (all elements that have reflect: true) on every network tick. This is totally unneeded, we should keep track of changed elements on the document object, and only send elements that have changed. When a client connects, we need to send it the entire scene state. I think the client should just work with deltas, so this should require server code only.