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

Re: [pygame] Hashido



Guillaume Proux wrote:
> 
> > second, this one is easy and important. make sure all your surfaces
> > are the same format. this means the same bpp, colormasks, etc. the
> 
> I have a stupid question.
> If i do a
> 
> surface = font.render("some text",1,(240,240,240))
> 
> What is the surface format of this text?
> Because i tried to convert it to the screen format and it basically nuked
> my rendered font.

use convert_alpha() for rendered text without BG color.

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