[pygame] Implementing save feature

2009-05-22 Thread Nevon
I'm currently part of a group developing a FOSS point-and-click adventure game using Python and Pygame. The game engine is actually a fork of the engine used in the game Colonel Wiljafjord and the Tarbukas Tyranny, and entry in Pyweek #3. Right now we're working on improving the engine in whatever

[pygame] Re: Implementing save feature

2009-05-22 Thread Nevon
Yeah, I figure those are the things I need to save. The location, the inventory and all the flags, bits and variables that are assigned as you go through the game. But how would I go about saving those things? And what data format would I choose to avoid players simply going in and editing the save

[pygame] Re: Implementing save feature

2009-05-22 Thread Nevon
No, it's not super important. I just don't want to make too darn easy to cheat. Your way should suffice. Now what about storing the data in an xml-file. Do you have any examples of how this is done? On May 23, 12:04 am, James Paige wrote: > Well, I assume this is an open source game, so protecti

[pygame] Re: Implementing save feature

2009-05-22 Thread Nevon
Alright, thank you for your replies. I will definitely look into that. If anyone else has any examples that they could show me, that would be much appreciated! On May 23, 12:22 am, James Paige wrote: > Unfortunately, no, I don't have any good examples for you, because most > of my xml experience