Open dmurfet opened 10 months ago
The current workaround is just to have a reasonable final state on all the boards as the persistent state, which gets wiped during each individual replay. So if you record serial Replays 1, 2, 3 then when Replay 1 finishes and the boards are restored, the final state of all three replays is visible. Then Replay 2 begins and wipes the boards involved in that replay (let's say Replay 1 involves boards 1,2 and Replay 2 involves boards 3, 4 and so on with no overlaps) but the other remain visible.
This has the advantage of the state of the boards in between replays being actually useful for the observer, but it would be better for the final state of Replay 3 not to be visible before that Replay has actually run.
It is natural to have multiple Replays that are meant to be played after one another. However, currently this is hard from both the recording and playing sides. On the recording side, to begin recording Replay 2 you want the final contents of Replay 1 on the boards. There is no easy way to do this. On the playing side, when Replay 1 finishes you want its contents to stay visible because there might be some discussion afterward.
At the moment when the Replay finishes the state prior to the beginning of the Replay (e.g. the boards) is restored. There should be an optional behaviour to have the Replay boards remain present in the world once the replay has completed.