[SDL] bmp sprite maps

Mason Wheeler masonwheeler at yahoo.com
Sat Apr 26 11:12:17 PDT 2008


Yeah.  Check the documentation on SDL_BlitSurface to see how to tell it to draw a certain portion of an image.


----- Original Message ----
From: Joshua Shriver <jshriver at gmail.com>
To: A list for developers using the SDL library. (includes SDL-announce) <sdl at lists.libsdl.org>
Sent: Saturday, April 26, 2008 11:10:39 AM
Subject: Re: [SDL] bmp sprite maps

>Thank you, I'm still at the beginner stage of learning and didn't realise you could give give x/y slices. Since 
>the image I want to use is exact sizes 16x16 it should make it easy to determing the corners. I'll tinker 
>around and see what I can do.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20080426/bdcf96d9/attachment.htm 


More information about the SDL mailing list