HM3: Working on saving

The latest on HeroMachine 3 development is that I am working on the Load/Save code, which we've been badly in need of for some time. The good news is the fundamental trick that was needed turned out to be much easier than I feared it would be; I know how to do what needs to be done and have that basic bit already in place.

The bad news is all the other stuff that has to surround that heart. There's a lot of it, and it's going to take a while to crank out.

To elaborate, I have the bit in place that takes all the items you've put together and saves them to your local hard drive, then reloads them -- IF you already have all the preview sets loaded up. But I still have to write the part that cranks through each item set you need, loads it up, then moves on to the next one until they're all loaded. And I have to write all the error checking and dialog boxing -- "Are you sure you want to load/save a previous character, this will lose your current one" and "Which character do you want to load" and the like. For each of those you have to provide functionality based on what the user picks -- ok or cancel -- and all the associated baggage that goes along with it.

Along the way you have to be sure you're resetting all the other stuff that needs to be reset like variable names, toggle button settings, arrays, and the like.

So while the basics turned out to be easy enough, there's still a lot of grunt work to go through to make it all work usefully. Which is going to take a while, probably about a week.

In the meantime, I head to Oregon tomorrow for a long weekend, which means I won't be back to work on HeroMachine stuff till Tuesday.

I've got posts scheduled to go up while I'm out, and I should be able to access everything through my iPhone to approve moderated posts and such, but I won't be releasing any new updates or items or anything.

14 Responses to HM3: Working on saving