Cool thanks! On Thu, Sep 22, 2011 at 5:13 PM, James Paige <[email protected]> wrote: > On Thu, Sep 22, 2011 at 05:08:52PM -0300, Sean Wolfe wrote: >> so my sprites are coming up on screen with a white background. I >> loaded the sprites in my drawing program (paint.net) and removed the >> white so that the only pixels are the character itself. However when I >> save to .bmp format the white background comes back! >> >> A problem because I'm using various colors in the game background. >> >> Any ideas about what I'm doing wrong? I don't think it's a pygame >> problem per se, but I figured somebody here might know the answer. >> >> thanks! > > BMP format has no transparency. If you use BMP, then you have no choice > but to use colorkey transparency. > http://pygame.org/docs/ref/surface.html#Surface.set_colorkey > > But what you probably really want is to ise PNG format instead of BMP. > PNG actually supports transparency. > > --- > James Paige >
-- A musician must make music, an artist must paint, a poet must write, if he is to be ultimately at peace with himself. - Abraham Maslow
