views:

20

answers:

1

Everyone says to use .convert() on surfaces to speed up animations (which will be an issue with my game because it will be and mmo...to some extent, so it might have a dozen or a couple dozen characters moving at the same time), the problem is that my transparent png images work great without convert but as soon as i use .convert() all of the transparent backgrounds suddenly become white. Do i need to sample the color and make it transparent using color_key?

+1  A: 

convert_alpha should do the trick

http://www.pygame.org/docs/ref/surface.html#Surface.convert_alpha

jellybean
Yep, that did it, thanks.
anomaly_a
Is there a reason you're not upvoting this answer? Failing to do contributes to clutter on the "unanswered questions" list.
ssokolow