[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Code review for Pygame2 example



Hi,
I tried your example and it doesn't work.  Python exits abnormally and Windows 7 pops up with a message saying "would you like to end the program "Python" or whatever".  No traceback.  Any ideas?

On Tue, Mar 2, 2010 at 12:12 PM, Evan Kroske <e.kroske@xxxxxxxxx> wrote:
Last year, I tried to create a large example game to demonstrate several of Pygame2's features. In retrospect, I should have created lots of independent examples, each demonstrating one function of Pygame2, but I chose instead to show them all at once. Here's the resulting "example": http://pygame2examples.googlecode.com/files/pygame2alien.tar.gz. It's based on the oldalien.py example from the original Pygame, but I tried to abstract the graphics from the rest of the game. The result is a quagmire of poorly-applied design patterns; nevertheless, it runs and shows off several features of Pygame2. Should I try to salvage it by tying it to one graphical skin, or should I ditch it?

--
Evan Kroske
http://welcome2obscurity.blogspot.com/
The personal blog of Evan Kroske,
novice software developer.