[SDL] Rotating sprites

Bill Kendrick nbs at sonic.net
Mon Sep 23 11:26:00 PDT 2002


On Mon, Sep 23, 2002 at 11:12:58AM -0700, Scott Lahteine wrote:
> Are there any SDL add-on libraries capable of rotating graphic objects 
> on the fly? It would be nice to need only a single graphic for a sprite 
> and to get smooth rotation. If no library exists then what's a good 
> online source for this algorithm, or do you know it yourself?


rotozoom, which I think became the basis of SGE

Load up the "Libraries" page on www.libsdl.org and do a 'find-in-page'
for the string "rotat" in your web browser.

Good luck!

-bill!




More information about the SDL mailing list