Hi,
I was thinking of making space invaders clone. This involves rotating the ship and bullet; I want to know how I can rotate it using SDL and C++.
PS:
I have heard it is possible in OpenGL, but I would prefer to just use SDL.
SDL - Rotation
Page 1 of 12 Replies - 626 Views - Last Post: 03 April 2012 - 11:31 AM
Replies To: SDL - Rotation
#2
Re: SDL - Rotation
Posted 03 April 2012 - 02:09 AM
You cannot do rotation in SDL. There is a library called SDL_gfx but I wouldn't recommend it, it's ridiculously slow really.
As far as I know there are no rotations in space invaders.
Can you get away with using pre-rendered rotations in a sprite sheet? If not then OpenGL is your best and fastest bet
As far as I know there are no rotations in space invaders.
Can you get away with using pre-rendered rotations in a sprite sheet? If not then OpenGL is your best and fastest bet
#3
Re: SDL - Rotation
Posted 03 April 2012 - 11:31 AM
OK thanks. For now I could use images that are already rotated. And maybe move on to OpenGL later for a more professional look.
Page 1 of 1
|
|

New Topic/Question
Reply



MultiQuote



|