Jump to content
  • Advertisement
Sign in to follow this  
Toolmaker

The ID3DXSprite Interface

This topic is 5018 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

This is definetly a beginners questions, so here it goes: I'm currently working my way into D3D9 and I'm following the D3D9 tutorial on http://32bits.co.uk. At some point in the tutorial he goes deeply into sprites by creating a sprite class. In each instance of the class the author creates an ID3DXSprite object. Isn't there suppose to be 1 single object of it, instead of 1 per sprite? Toolmaker

Share this post


Link to post
Share on other sites
Advertisement
Nope. You want one sprite object (sprite surface) for each sprite. Otherwise, if you move or rotate one, you'll move or rotate them all.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!