[SDL] Fading in/out

James Mills prologic at comcen.com.au
Tue Nov 26 00:35:02 PST 2002


On Tue, Nov 26, 2002 at 02:58:05AM -0500, patrick at 2dgame-tutorial.com wrote:
> 
> Hi,
> 
> I wrote something (including source) about it. It uses alphablending with a black surface, and 
> works for each bit-depth, but is rather slow in hardware (but very fast in software). I have 
> to modify so that it creates a temorary software surface and blit it to the hardware.. If I 
> find the time :-(
> 
> You can read it here:
> 
> http://www.2dgame-tutorial.com/sdl/fading.htm
> 
> Kind regards,
> 
> Patrick.

Thanks.

btw, could you explain this difference between "but is rather slow in
hardware" and "(but very fast in software)."

Thanks again
James

> 
> James Mills prologic at comcen.com.au schreef: 
> 
> >Hi,
> >
> >Can anyone post code that fade in and out, or show me some links of this
> >please? Thanks. (I have searched through libsdl.org and only found one
> >article for 16bbps).
> >
> >thanks in advance
> >James
> >
> >_______________________________________________
> >SDL mailing list
> >SDL at libsdl.org
> >http://www.libsdl.org/mailman/listinfo/sdl
> 
> 		
> 
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl




More information about the SDL mailing list