Re: [pygame] Code review for Pygame2 example

2010-03-04 Thread Evan Kroske
Try starting the example with the "mute" argument. The sdl mixer section
gave me segmentation faults until Marcus fixed a bug. Maybe the bug fix only
worked on Linux.

How are you running the program now? Are you just clicking on the file, or
are you running the script from the command line? The command you should be
using is 'python modalien.py'. Thanks for telling me about the problem; I'm
going to look into it.

On Thu, Mar 4, 2010 at 2:53 AM, Luke Paireepinart wrote:

> 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  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.
>>
>
>


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


Re: [pygame] Code review for Pygame2 example

2010-03-03 Thread Luke Paireepinart
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  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.
>


[pygame] Code review for Pygame2 example

2010-03-02 Thread Evan Kroske
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.