Thread: Sprites?!?

  1. #1
    Registered User
    Join Date
    Aug 2001
    Posts
    100

    Sprites?!?

    Can you tell me how to use sprites?
    Please
    Sauron a few seconds before his defeat:
    "What? A 'division by 0' error?!?"

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    48
    what where when?

    which api etc are we talking about here?
    astride a storied past, thats everywhere you are

  3. #3
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    OpenGL

  4. #4
    Unregistered
    Guest
    sorry, i only know directX. Presumably you know what the general idea behind using sprites is?

  5. #5
    Registered User
    Join Date
    Aug 2001
    Posts
    411
    I assume you mean sprites as a way of animating,

    There are two ways of handleing the frames, either each one has a seperate file, or they are laid out in one big gfx file.

    All it ammounts to loading all the files at once and displaying the one that matches the current frame that you desire. or if they are all in the same file you will have to 'home in' on the part of the file that holds the animation you are after. With opengl you would use texture coordnates for that.

    Look up Keyframe Animation

  6. #6
    Registered User
    Join Date
    Aug 2001
    Posts
    100
    Thanx.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. making sprites
    By DavidP in forum Game Programming
    Replies: 9
    Last Post: 02-20-2010, 07:00 AM
  2. DirectX and Sprites
    By andyhunter in forum Game Programming
    Replies: 6
    Last Post: 12-24-2004, 06:40 PM
  3. I Found some nice sprites but need more...
    By BigCheese in forum C++ Programming
    Replies: 1
    Last Post: 03-23-2004, 06:03 PM
  4. Direct Draw 7 and Sprites
    By Zoalord in forum Game Programming
    Replies: 1
    Last Post: 08-13-2003, 12:10 PM
  5. Animating Multiple Sprites
    By Tommaso in forum Game Programming
    Replies: 2
    Last Post: 10-11-2002, 12:06 AM