[SDL] Alpha channel cannot be set

Ulf Lorenz ulf82 at users.sf.net
Fri Jan 27 10:26:44 PST 2006


On Fri, Jan 27, 2006 at 08:05:52PM +0100, David Olofson wrote:
> Yes, colorkey + full surface alpha is supported.
On second thought: No, I don't want to reimplement alpha keys. :)

> > Are there any (sort of simple) possibilities to globally change the
> > alpha value of the image, then?
> 
> It depends on what you need to do. If all you need is some antialiazed 
> sprites (RGBA) that fade in and out, you might get away with 
> generating a bunch of frames with their alpha channels scaled by 
> various amounts. You can do this at load time, so it can be done with 
> simple and "slow" code.
That's what I wanted to do. I'll either use different images or do it
manually, then. 


Thanks for the answers,
Ulf

-- 
recursive:
            see recursive



More information about the SDL mailing list