Got the very first proof-of-concept of my save and load gameplay session record-and-replay : https://github.com/duchainer/odin-raylib-hot-reload-game-template/commit/ccca3f69e40a3a45acc8d90367a4d59788e5e797
Small video: https://youtu.be/hXTD354t8ZA
It uses SQLite files and uses Write-ahead-log to store things in a crash-proof way (as long as the computer is not the one crashing, more-or-less)
Next up, store things better than the whole CommodinoStruct every frame 😉 ( as that currently constrain my MAX_FRAME_COUNT to be pretty low for now 😅 )
For context, that simple 2d game is really just for prototyping that gameplay record-and-replay system.
I plan to use it in some 3d multiplayer Valheim like at some point. 🙂