[SDL] Spaceship rotation
unfies at gmail.com
Wed Aug 22 16:29:00 PDT 2007
i believe sdl_gfx lib has a bitmap rotozoom thing in it.
you could also port abrash's
or if it's it's own opengl poly (2d on ogl) just rotate that (assuming
textures are poly specific on their coords / whatever, rather than world).
On 8/22/07, L-28C <kixdemp at gmail.com> wrote:
> Hello everyone!
> I have a little ship on a black background I like to call 'outer space'.
> I want to move it like, the up arrow moves it forward and the side
> arrows change direction. What's the best way to do this?
> I've asked Mr. Google but all I find is code to do the actual bitmap
> rotation, but I'm using SGE for that.
> Please be as specific as possible, last time I asked something similar
> people came up with algebraic and geometric functions I have no idea
> Thanks, SDL town! ;]
> SDL mailing list
> SDL at lists.libsdl.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the SDL