Pygame Help

Lee Harr lee at example.com
Sat Jul 29 18:23:18 EDT 2006


> I was curious how you would program the seperate
> images to fall together and not break apart, because pygame and
> livewires uses images as collision detection, so therefore you can't
> make most of the shapes a single image because they will have
> transparent spaces as part of the image, which will make floating
> shapes and such.
>

The way I did it was to compose the shapes out of squares.
The implementation is available in the pygsear-games
distribution. You'd need pygsear also, to play the game.

http://www.nongnu.org/pygsear/




More information about the Python-list mailing list