Re: [pygame] Implementing save feature

2009-05-23 Thread Olaf Nowacki
Hi Tommy, here is how I did it. (I'm making an point-and-click-adventure myself with py-thon -game, too.) In my game there are just scenes and actors. Allmost all of the data is in the actors, even the cutscenes. So I (more or less) only save the actors with PICKLE. I'd like to rewrite it

Re: [pygame] audio programming with pygame?

2009-05-23 Thread Olaf Nowacki
maybe you would like to try supercollider for making the synthesizers and use pygame as UI? - http://pypi.python.org/pypi/SC/0.2/ - http://supercollider.sourceforge.net/ On Fri, May 22, 2009 at 11:02 PM, machinim...@gmail.com machinim...@gmail.com wrote: hi, i would like to learn

Re: [pygame] your opinion: singleton-pattern vs. modules vs. classes

2008-03-03 Thread Olaf Nowacki
On 3/3/08, Pete Shinners [EMAIL PROTECTED] wrote: I always like using a module as a container for all my singletons and shared globals. Python modules already work this way, making it a natural fit. Python can build a class that is a true singleton. It involves overriding the __new__