Skip to main content
GameDev.net gamedev.net
šŸ”’ Locked

How to make an image rotate in SDL

Started by Geno the Great Sep 23, 2004 at 6:06 PM 1 replies 950+ views
Original Post
Geno the Great
Geno the Great
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
Kylotan
Kylotan
If you scroll just down this page someone asked this very question yesterday.
C-Junkie
C-Junkie
sdl_gfx library.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.