Save and Load

Ever spend hours fixing something that turned out to be simple oversight? I just spent two hours on a portion of the "load" script that was loading chunks with additional info from all the other chunks. Hard to explain, but the answer was so simple (resetting a variable) that it's just crazy! Anyway, info on bricks is now saved in XML format, and it shouldn't take long to expand this to static or physics-enabled objects.

I have the option of saving the game in binary files as opposed to XML, but I would like to encourage modding of saved games and the world by the community. XML is human-readable and less of an impediment than binary. As time goes on I'll try to expose more variables in these files for people to mess around with.

The end of LD voting is a week away, I'll be sure to put up my post-competition game before then!

Posted in Against the Wall

Leave a Reply

Your email address will not be published. Required fields are marked *

*

Login