Spellcaster Studios

Make it happen…

Loading savegames…

Still working on this (and hitting myself in the head for not doing a more common system for this in the beginning, more “abstract”).

Anyway, reached an issue that will make the code altogether more complicated…

On the XML loader, the player data (positions, weapons, etc) is stored in an XML node, so when loading a save I just keep that node, generate everything, and then feed that node to the player so that it can build itself…

The problem is that with binary saves, this isn’t so easy to do… Of course, I can save the binary payload pertaining the player and feed it later (like I do with the XML), but that seems even sloppier than I’d be able to endure…

So now I have to add a save structure that can keep this data intact to use it later on the creation of the player… So, terrible coding… *sigh*…

Savegames are so much easier in data-driven system like the SurgePlayer… Surprised smile

screen674

It doesn’t help that my development time currently is so short, since I’m still trying to figure out my next step… Disappointed smile

What should take me about a couple of days to do will probably keep me busy the rest of the week!

Now listening to “Tunes of War” by “Gravedigger”

Comment