Catacomb-Snatch icon indicating copy to clipboard operation
Catacomb-Snatch copied to clipboard

Save/load

Open cdegroot opened this issue 13 years ago • 6 comments
trafficstars

(Couldn't find it in the issue list, I think it's useful to have an issue for it :-)).

My quick'n'dirty suggestion: make Level, Entity, ... implement Serializable and use Java serialization for load/save. Usually this is frowned up (slow, big files, very version sensitive), but is a simple way to add the functionality I, at least, am missing the most.

Quite busy atm, may pick this up tomorrow.

cdegroot avatar Feb 21 '12 16:02 cdegroot

(update - just took a quick stab at Save. Of course, need Load to actually test it...)

cdegroot avatar Feb 21 '12 17:02 cdegroot

+1 i think thats one of the first things we have to do :D

ghost avatar Feb 21 '12 20:02 ghost

+1

runoncedev avatar Feb 21 '12 21:02 runoncedev

+2

zorro300 avatar Feb 21 '12 21:02 zorro300

https://github.com/cdegroot/Catacomb-Snatch has my hacking so far - Save seems to work, Load maybe tomorrow. Feel free to steal the patch :)

cdegroot avatar Feb 21 '12 22:02 cdegroot

+11

zorro300 avatar Feb 21 '12 22:02 zorro300