Rotate a bmp?

Started by
2 comments, last by Roots 19 years, 7 months ago
Hello! Do anyone here know how to rotate a bmp using SDL. It's for a asteorid clone... //walle
Advertisement
sdl_gfx

Probably not suitable for real-time use though.
OpenGL with SDL would be the ideal way to do it... or if your rotation animation doesn't require too many frames, you could just render your asteroid rotating, and animate the image manually with SDL.


Ryan
--Visit the Game Programming Wiki!
Why are you using BMPs? The filesize is huge and totally unpractical for use in games. Convert it to a JPEG or a PNG and load it with the SDL_Image library and I think the users of your program will be much happier. :)

Hero of Allacrost - A free, open-source 2D RPG in development.
Latest release June, 2015 - GameDev annoucement

This topic is closed to new replies.

Advertisement