How to make an image rotate in SDL

Started by
1 comment, last by C-Junkie 19 years, 8 months ago
Hello, I was wondering how I would go about having the player's bitmap rotate when you press the left and right arrow key (Think Asteroids) I've already used SDL quite a bit for other 2D games, but I can't think of how I would go about it without creating a bitmap for each degree of rotation, which I'm sure would be stupid. Is there a way?
- - - - - - - - - - - - - - - -I am you and what I see is me
Advertisement
If you scroll just down this page someone asked this very question yesterday.
sdl_gfx library.

This topic is closed to new replies.

Advertisement