Allow replay speed to go negative
-
When wanting to follow a creep backward in time to see where it came from or what it was doing previously, it is tedious to press the "rewind 1 tick" button repeatedly. It would be nice if the tick speed in the room replay could go negative and play the data backward as well as forward.
-
Ask in slack
Maybe someone made a tempermonkey script for that already, since this is mostly cl side...
But that still doesn't help the screeps client...
-
This isnt as trivial todo as it might seem. The replays are stored in a snapshot and deltas format. The private server mod uses a snapshot every 20 ticks and I think the public server replays are snapshotted every 100 ticks.
So to rewind you would need to go back to the last snapshot then work forwards to the desired tick storing the state for every tick so you could play them back in reverse order.
Of course its doable, but not as straightforward as you might think.
-
@SteveTrov is that what happens currently when you press the "<" button to go back 1 tick? I figured negative tick speed could just do whatever that button does but at a regular interval. Anyway its not a huge deal.