doesnt disa
Message-ID:
<1336329993.25089.YahooMailNeo at web124906.mail.ne1.yahoo.com>
Content-Type: text/plain; charset=“iso-8859-1”
Yes, it is
sorry if my English is not the best one
?
When bliting, some Surfaces (most) dont draw their TransparentColor (Ok) and
others do, that is it is visible (wrong)
So, you’re using a specific transparent color? I don’t have any
experience (or familiarity) with the C# SDL port, but I’d suggest
checking your images. To the best of my knowledge, having specific
transparent colors is a trait only possessed by images with palettes
(e.g. 8-bit images); therefor, if any of your images are ‘true color’
(images that have separate values for red, green, & blue) then they
won’t support transparent colors (instead, you’ll need to use an
additional alpha value).> Date: Sun, 6 May 2012 11:46:33 -0700 (PDT)
From: Pablo Marty
To: “sdl at lists.libsdl.org”
Subject: Re: [SDL] My Sonic game needs your help - TransparentColor
I think I m using 24 bit images, that is RGB but no alpha
?
really I don t know much about graphics themselves, … are PNG images 32 or how many bits?
?
some images display OK when turned right, and dont when turned left (Tails the Fox) but Sonic the hedgehog is OK all the about 100 images
all them are PNG
Asesinar y comer un perro o un gato es lo mismo q hacerlo a una vaca, un pollo, un cerdo o un pez. El genocidio no discrimina. No seas complice de genocidas. No seas genocida. En la vida tarde o temprano todo vuelve. No comas cadaveres. No seas necr?fago.________________________________
De: Jared Maddox
Para: sdl at lists.libsdl.org
Enviado: domingo, 6 de mayo de 2012 18:41
Asunto: Re: [SDL] My Sonic game needs your help - TransparentColor doesnt disappear
Date: Sun, 6 May 2012 11:46:33 -0700 (PDT)
From: Pablo Marty <@Pablo_Marty>
To: “sdl at lists.libsdl.org”
Subject: Re: [SDL] My Sonic game needs your help - TransparentColor
??? doesnt??? disa
Message-ID:
??? <1336329993.25089.YahooMailNeo at web124906.mail.ne1.yahoo.com>
Content-Type: text/plain; charset=“iso-8859-1”
Yes, it is
sorry if my English is not the best one
?
When bliting, some Surfaces (most) dont draw their TransparentColor (Ok) and
others do, that is it is visible (wrong)
So, you’re using a specific transparent color? I don’t have any
experience (or familiarity) with the C# SDL port, but I’d suggest
checking your images. To the best of my knowledge, having specific
transparent colors is a trait only possessed by images with palettes
(e.g. 8-bit images); therefor, if any of your images are ‘true color’
(images that have separate values for red, green, & blue) then they
won’t support transparent colors (instead, you’ll need to use an
additional alpha value).
SDL mailing list
SDL at lists.libsdl.org
http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org
Pablo Marty writes:
I think I m using 24 bit images, that is RGB but no alpha
really I don t know much about graphics themselves, … are PNG images 32 or
how many bits?
PNG supports 32bit RGBA among others.
some images display OK when turned right, and dont when turned left (Tails the
Fox) but Sonic the hedgehog is OK all the about 100 images
all them are PNG
Check the surface properties after loading. Do some images have an alpha
channel after loading and other don’t? Are some paletted and others not?
MfG
Goswin
I think you re right
Manuel had already told me the problem was in the files, not in the code
while I was changing my images from PNG to BMP (24 bits, high quality), in some of them Paint displayed a dialogbox that said it would lose transparence
that was the alpha value
?
I ll change all images and then I ll continue trying to upload my program so you can see it
?
thank you
Asesinar y comer un perro o un gato es lo mismo q hacerlo a una vaca, un pollo, un cerdo o un pez. El genocidio no discrimina. No seas complice de genocidas. No seas genocida. En la vida tarde o temprano todo vuelve. No comas cadaveres. No seas necr?fago.________________________________
De: Goswin von Brederlow
Para: Pablo Marty <@Pablo_Marty>
CC: SDL Development List
Enviado: lunes, 7 de mayo de 2012 4:20
Asunto: Re: [SDL] My Sonic game needs your help - TransparentColor doesnt disappear
Pablo Marty <@Pablo_Marty> writes:
I think I m using 24 bit images, that is RGB but no alpha
?
really I don t know much about graphics themselves, … are PNG images 32 or
how many bits?
PNG supports 32bit RGBA among others.
?
some images display OK when turned right, and dont when turned left (Tails the
Fox) but Sonic the hedgehog is OK all the about 100 images
all them are PNG
Check the surface properties after loading. Do some images have an alpha
channel after loading and other don’t? Are some paletted and others not?
?
MfG
? ? ? ? Goswin