fogleman / Minecraft

Simple Minecraft-inspired program using Python and Pyglet
MIT License
5.25k stars 1.24k forks source link

Save implementation #19

Closed ghost closed 11 years ago

ghost commented 11 years ago

I made saving system, using Python object serialization (cPickle). You can save by using 'v' key. After relaunch, game will automatically load saved file (currently save.dat). I'm saving world and sectors from Model class and strafe, position, rotation and flying from Window class.

P.S. Sorry for unnecessary commits.