bd36, I was going through this myself. I eventually got SDL_gfx to work, and I could rotate my sprite, but it was SLOOOOWWWWW. It uses software to rotate, and, I couldn't cope with it.
That's when I tried SFML. SFML is similar to SDL, except it sits on top of OpenGL, and all it's graphics API's are done in hardware, including rotations and scaling. It's Audio functions sit on top of OpenAL, so there's some really good audio API's available too.
Please take a peek at http://sfml-dev.org you'll be glad you did. (BTW, my old blog (in my sig) details a game I made using SFML, and I rotate all my sprites with that game).
Show differencesHistory of post edits
#1BeerNutts
Posted 22 March 2012 - 03:06 PM
bd36, I was going through this myself. I eventually got DSL_gfx to work, and I could rotate my sprite, but it was SLOOOOWWWWW. it uses software to rotate, and, I couldn't cope with it.
That's when I tried SFML. SFML is similar to SDL, except it sits on top of OpenGL, and all it's graphics API's are done in hardware, including rotations and scaling. It's Audio functions sit on top of OpenAL, so there's some really good audio API's available too.
Please take a peek at http://sfml-dev.org you'll be glad you did. (BTW, my old blog (in my sig) details a game I made using SFML, and I rotate all my sprites with that game).
That's when I tried SFML. SFML is similar to SDL, except it sits on top of OpenGL, and all it's graphics API's are done in hardware, including rotations and scaling. It's Audio functions sit on top of OpenAL, so there's some really good audio API's available too.
Please take a peek at http://sfml-dev.org you'll be glad you did. (BTW, my old blog (in my sig) details a game I made using SFML, and I rotate all my sprites with that game).