Woodside-HS / JSGame_2018

Xenology
2 stars 0 forks source link

Enable saving/loading games #51

Closed claytonwramsey closed 6 years ago

claytonwramsey commented 6 years ago

The game is large enough that I'd like to try making this work so we can try greater depth.

This is a later feature, but I want to start thinking about it now. My personal idea is to make the game data an exportable string which can be pasted in from a menu. That way users can pass around saves. Alternatively we could store that save in cookies.

Aetaris commented 6 years ago

I'll see if I can work on this for the outer game, but like you said it's more of a long-term thing, so it's not urgent.

We don't need to save very much, just some basic information about how much money you have, your ship's location, and upgrades you've purchased.

I don't know if the inner game actually needs a save system. The resources you get planetside should be saved, but those can be part of an outer game save system.

claytonwramsey commented 6 years ago

I know that world seeds need to be stored, plus potentially other data from tower/minion placements.

claytonwramsey commented 6 years ago

nvm im lazy