D3DX Sprite class tutorial

This is a discussion on D3DX Sprite class tutorial within the Game Programming forums, part of the General Programming Boards category; I've searched and searched and searched for a D3DXSprite tutorial, and they all either suck, or want you to use ...

  1. #1
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552

    D3DX Sprite class tutorial

    I've searched and searched and searched for a D3DXSprite tutorial, and they all either suck, or want you to use their wrapper. I found a so-so tutorial on Gamasutra, but they want you to use their wrapper as well. Thing is, I want to learn D3DXSprite. There are a lot of people that are happy with it, but they'll never post any links of where they learned it. The SDK has hardly any information on it either.

    Do not post a google link, because I already searched through google and MSN searches.

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    What are you having problems with in particular? Or just using it in general? I can write up a quick little tutorial on it if that'd help.

  3. #3
    mov.w #$1337,D0 Jeremy G's Avatar
    Join Date
    Nov 2001
    Posts
    704
    My directX worm game relies extensively on ID3DXSprite class. Get the source and view how I used the sprites. Maybe that will help.

    DirectX Worm! (source included)
    c++->visualc++->directx->opengl->c++;
    (it should be realized my posts are all in a light hearted manner. And should not be taken offense to.)

  4. #4
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Here is something I wrote really quick. There isn't a lot of comments in it. If you need some clarification I will surely supply it. Hopefully this will give you an idea of at least how to use it.
    "...the results are undefined, and we all know what "undefined" means: it means it works during development, it works during testing, and it blows up in your most important customers' faces." --Scott Meyers

  5. #5
    Banned frenchfry164's Avatar
    Join Date
    Oct 2001
    Posts
    1,552
    thx a lot, I found it really helpful.

    You might want to think of posting that code somewhere. I think it's very easy to understand.

  6. #6
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Woah, thanks a lot. I didn't even think it would be that readable. I just threw it together when i heard you say "tutorial" so I figured I would help out since I've been there before. Well let me know if you have any problems.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Getting an error with OpenGL: collect2: ld returned 1 exit status
    By Lorgon Jortle in forum C++ Programming
    Replies: 6
    Last Post: 05-08-2009, 09:18 PM
  2. Visualisation Component & Sprite Class
    By mindofpoison in forum Game Programming
    Replies: 4
    Last Post: 12-12-2005, 03:10 PM
  3. class errors
    By romeoz in forum C++ Programming
    Replies: 3
    Last Post: 09-16-2003, 08:57 PM
  4. structure vs class
    By sana in forum C++ Programming
    Replies: 13
    Last Post: 12-02-2002, 07:18 AM
  5. Abstract class problem
    By VanJay011379 in forum C++ Programming
    Replies: 9
    Last Post: 07-31-2002, 02:30 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21