ethan-w-foshee / TerraStella

TerraStella is a work in progress incremental game created by Ethan F and David C
GNU General Public License v3.0
1 stars 0 forks source link

Saving #8

Open ethan-w-foshee opened 3 months ago

ethan-w-foshee commented 3 months ago

Saving, as mentioned in this PR, should be really easy. Just using local storage to store the main JSON object, yeah?

CyborgPotato commented 2 months ago

Yes indeedy, just make sure all relevant information is stored in at least one JSON

ethan-w-foshee commented 2 months ago

Should we have it all be in the main.js? Or could we store it in a different file easily? Even still just using a static html file?

CyborgPotato commented 2 months ago

We can p easily have things in different files, though I'm debating we might have some kind of build system (with node or webpack etc.) so that when deploying it combines it all into one file for consumption

ethan-w-foshee commented 2 months ago

While we could, right now, I don't see a point in having it that way.

But I do think saving it all in a different file would be good.