JSON for saving ships

It’s been mostly backend work for me, lately. I’ve evaluated a few different JSON libraries- the plan is to use it to create strings of our complex data types to save within Unity’s PlayerPrefs system.

First I tried JSON Sharp, and I got embarrassingly far into it before realizing the library didn’t come with a parser to turn the JSON strings back into anything. I then looked at JSON.NET but found it to be huge, heavyweight, and had some dependencies in System.LINQ that Unity did not include. So rather than mess with it, I went to find a lightweight library and found LitJSON, which seems pretty good.

So I’ve got the ships saving in a rough fashion. Loading will be a bit more tricky.

Meanwhile, Scott’s been working on some more HUD stuff, and clicking to select things!