[SDL] bmp sprite maps

Joshua Shriver jshriver at gmail.com
Sat Apr 26 11:15:31 PDT 2008


Besides blitting to the screen a portion of the image each time, is it
possible to copy the piece to a surface? Then use the surface whenever
needed to blit to the screen?

-Josh

On Sat, Apr 26, 2008 at 2:12 PM, Mason Wheeler <masonwheeler at yahoo.com>
wrote:

> Yeah.  Check the documentation on SDL_BlitSurface to see how to tell it to
> draw a certain portion of an image.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080426/d7e9c56c/attachment.htm 


More information about the SDL mailing list