[GREENFOOT-668] Speed slider is jittery
The speed slider movement is jittery when it is dragged with the mouse. I suspect that moving it transmits speed to the other VM, which then also causes the same speed to be transmitted back to the server VM after a round-trip delay, by which time the slider has been moved.
To solve this, I think the debug VM side should only send the speed when it is changed locally (i.e. not when it is changed due to a command from the server VM) in which case it should continue to transmit the updated speed until it receives an acknowledgement from the server VM (in the form of a frame with sequence number >= the sequence number at which the speed change was first sent).
Issue metadata
- Issue type: Task
- Priority: Medium