[+][SUG][PL/ED] Keep playtest replay in memory

Started by WillLem, July 22, 2026, 10:08:22 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

WillLem

From Guigui in this topic.

Quote from: Guigui on July 22, 2026, 09:13:44 PMI'd appreciate if replay carries when using the editor.
To be clearer : create a level, playtest it, exit to editor to make changes, play test the level again and find your previous replay ready for you.

WillLem

#1
Good idea.

The question is really how to do this. We can store a temporary replay file in the directory which always keeps the same name, updating the internal data whenever a level is playtested. If we're in Playtest Mode and the replay data matches the level, we load the replay. Otherwise, we only overwrite.

There may be a better way, though. My goal would be to not litter the directory with temporary replays, ideally.

Suggestions welcome.