[SDL] Scrolling background
honza at twin.jikos.cz
Mon Jun 11 23:56:16 PDT 2001
i tried to make scrolling background using SDL and i have to make some
terible mistake because it is teribly slow.
I am using resolution 800x600 (32b colors).
is there any better(faster) solution than using
SDL_BlitSurface(image, &src, screen, &dest);
where src y coordinate is incrementing. If i call this two functions in
for cycle i get speed from 6 up to 10 frames per second.
Thanx Jan Kratochvil
More information about the SDL