GameState History and Rewind
Hey it works! Every step of my gamestate updating saves to a history and I can just roll back through history with a simple slider. These aren't saved images replaying, it's the complete data for rendering the map: all rendering is completely immutable.
This lets me debug state at specific paused points as well as replay series of events.
With Live++ I could see a bug in combat, pause, roll the history back, fix the bug, live-recompile, and hit play on it again.
| 🌐 | 🙋 | @britown@blog.brianna.town