[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [pygame] Image alpha control?



On Tue, 4 Dec 2001 18:31, Pete Shinners wrote:
> Richard Jones wrote:
> > I'm trying to do some alpha-based image manipulations. The initial image
> > is a font.render()'ed text surface, and it's easy to deal with, because I
> > just use set_alpha(255) on it and I can blit it to my window surface and
> > the black doesn't blot out existing imagery.
>
> first thing to make clear. It seems you are dealing with colorkeys.
> Which are a bit different that alphas. Both give you transparency, but
> they work different. It seems you are just dealing with COLORKEY, so i'm
> guessing that's what you mean here :]

I think I want to steer away from colorkey - as soon as I switch to AA 
rendering of the fonts (thanks for pointing that out :) the image switches to 
AA. Now I'm in a whole other world of fun :)

I'll let you know how I go tomorrow night using alpha :)


Thanks for the help though,

   Richard
____________________________________
pygame mailing list
pygame-users@seul.org
http://pygame.seul.org