Well, you could make the background of the image transparent and then
create a mask fro the pygame surface. This one can be checked for
collisions.
Florian
On Fri, Oct 7, 2011 at 11:44 PM, Alec Bennett wrote:
> I'm using an image with transparency as a Sprite. The image has an irregular
> shap
I'm using an image with transparency as a Sprite. The image has an irregular
shape:
http://sinkingsensation.com/stuff/shape.png
I'd like to detect collisions with it.
My current strategy is to draw a polygon (pygame.draw.polygon) behind the
image. That works, but its difficult to make the polygo
Been meaning to post this for a while, but kept getting distracted. Here is the
script we use to create a build of The Witch's Yarn for the Mac App Store.
Note: I have yet to successfully post the game to the story, because I screwed
up the original certs. Then the whole Lion disappointment pop