Closed Omegastick closed 5 years ago
I made it so that the playback environment can't run ahead of the main environment, and while it's less jumpy now, everything is very slow.
I need to check if this is because the server is sending updates out slowly or if it is something else.
The server is running at about 4 ticks per second, so something is slowing it down. It could be that the machine just isn't strong enough (unlikely, IMO) or that we are wasting CPU cycles somewhere. I'll try on a stronger machine first, I guess.
Got it running at about 9.5 ticks per second. Good enough for now.
I reckon this is because the in-game clocks get ahead of the server clock, or something similar. We can fix this by not increasing the in-game clock if a frame from the server hasn't arrived.