Finally after 4 months of work, I've managed to get my game state saving and loading.

This was a large overhaul to the way my game functions, as mentioned in a previous post I implemented #Lua scripting to my engine.

Well long story short, shops can now be loaded to the game via scripts, this will allow faster iterations of job logic and allows for hot reloading.

Nothing to show for my work, but I do have some stats for those that enjoy.

#dlang #sdl2 #opengl #multimall #stats

The main issue was managing the flow of data.

To put it simply:
Lua <-> Lua C API <-> Custom binary format

Wrapping my head around that and staring at random hex dumps are finally a thing of the past.

Finally in a place to do a content sprint now I've cleared a years worth of technical debt

#indiedev #dlang #opengl #0x00