On Tue, 30 Aug 2005 20:44:11 +0300
Toni Alatalo <[EMAIL PROTECTED]> wrote:
> David Vincent wrote:
>
> > Why nobody made a file format to replace .data meshes, material,
etc.
>
> why should it be done?
>
> there are many existing formats, and then again the pickles in data
seem
> to work fine.
Another interesting point with pickle, is that you can create your own
class and save them WITHOUT writing code for that. E.g. :
class GameLevel(soya.World):
def __init__(self, parent):
soya.World.__init__(self, parent)
self.difficulty = 3
level = GameLevel()
level.filename = "test"
level.save()
Jiba