Thread: Sprite/Image Rotation in SDL

  1. #1
    Linux Forever
    Join Date
    Oct 2002
    Posts
    373

    Sprite/Image Rotation in SDL

    I want to make a game with rotating images for turrets, missiles, etc.

    However, i cnnot rotate image with and Standard SDL API functions that I know of.
    I have searched the web, and didn't find much.

    I am using the CSprite classes from cone3d.gamdev, only slightly modified, And I would like to continue using this class for my animations.

    i can send the source code to any who might need it to help me out.

    Thanks in advanced.

    -Blizz
    This war, like the next war, is a war to end war.

  2. #2
    Registered User VirtualAce's Avatar
    Join Date
    Aug 2001
    Posts
    9,607
    Make a textured quad. Rotate the quad.

  3. #3
    Linux Forever
    Join Date
    Oct 2002
    Posts
    373
    This may seems a little noob of me (and can you believe I've been programming for almost 5 years now??) but what is texture quad? And also, how do i rotate one?
    This war, like the next war, is a war to end war.

  4. #4

  5. #5
    Linux Forever
    Join Date
    Oct 2002
    Posts
    373
    Okay, I didn't really understand any of that... but i'll keep studying it!
    This war, like the next war, is a war to end war.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. camera rotation matrix
    By Vick jr in forum Game Programming
    Replies: 5
    Last Post: 05-26-2009, 08:16 AM
  2. Image rotation - doesn't always work
    By ulillillia in forum C Programming
    Replies: 12
    Last Post: 05-03-2007, 12:46 PM
  3. Sprite Rotation With Sdl
    By Warlax in forum Game Programming
    Replies: 4
    Last Post: 08-15-2006, 12:49 PM
  4. Binary Search Trees Part III
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 16
    Last Post: 10-02-2004, 03:00 PM
  5. Image rotation in SDL
    By Kinasz in forum Game Programming
    Replies: 1
    Last Post: 12-25-2003, 11:48 AM