[SDL] Newb ?
Rafik Rezzik
rafik at hotpop.com
Tue Mar 25 04:13:02 PST 2003
On March 25, 2003 12:41 am, Clemens Kirchgatterer wrote:
> Rafik Rezzik <rafik at hotpop.com> wrote:
> > It all works exept for one part. When I move the image (of tux) on a
> > red background, the red smears. Is this because its not refreshing or
> > what. What can I do to fix it?
>
> first, you should sit down and think about it. ;-) sdl does of course
> not provide you with layers, so you have to rescue the background before
> you blit your tux to the screen surface. then when you want to move it
> on, restore the backgraund, save the screen that will be coverd by tux
> again and blit tux on that screen position. a.s.o.
>
> best regards ...
> clemens
>
> _______________________________________________
> SDL mailing list
> SDL at libsdl.org
> http://www.libsdl.org/mailman/listinfo/sdl
Clemens,
I don't understand this layers stuff. Im just a 14 year old that does'nt know
much. I there something I can read about layers with SDL or to learn how to
do what you said about rescuing my background.
Regards,
Rafik
More information about the SDL
mailing list