Archived

This topic is now archived and is closed to further replies.

Poisler

Question about D3DXSprite

Recommended Posts

For the Draw method, where do you specify the dest rect? I''m guessing it''s pTranslation, but I''m not sure. The docs really suck for this interface. This is the definition for pTranslation; "Pointer to a D3DXVECTOR2 structure, representing the translation. If this argument is NULL, it is treated as identity"

Share this post


Link to post
Share on other sites
I understand that, but how do I move the sprite around the screen? Let''s say I want to place a texture at position 100,100 of the screen, how would I do that using the Draw method?

Share this post


Link to post
Share on other sites