[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Font transparency in 8bits mode
On 7/5/06, XTC's Addict <xtcsaddict@xxxxxxxxxxx> wrote:
Maybe i could render my texts with a fixed background color, and then i
could tell to pygame that this color is transparent ?
You can always give it a try with my_rendered_font.convert_alpha() and
then my_rendered_font.set_colorkey( (0,0,0) ), provided that 0,0,0 is
your fixed background color that you want transparent.
--
Rikard.