🎉 Celebrating 25 Years of GameDev.net! 🎉
Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!
Rotate a bmp?
Hello!
Do anyone here know how to rotate a bmp using SDL.
It's for a asteorid clone...
//walle
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
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
Popular Topics
Advertisement