How to make an image rotate in SDL
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?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement