Sign in to follow this  
ARC inc

Trying to learn DX for C++

Recommended Posts

Hello all, well; I've been working on my C++ programming skills, I would consider myself intermediate, and I want to start learning DirectX for C++ I don't want to learn about 3D crap but I want to learn how to draw 24bit pixel sprites on a 32bit surface, and all that jazz. But I don't want to use DirectDraw since it is so out of date. Can someone please, suggest some places that I can learn this type of stuff Thanks in advance

Share this post


Link to post
Share on other sites
You'll probably want to check out ID3DXSprite (or ID3DX10Sprite if you're aiming for DX10). They make working with 2D sprites relatively easy. You'll still have to deal with initializing D3D on your own, though. I'd check out some of the tutorials in the SDK or online to see how to do the basic setup.

Share this post


Link to post
Share on other sites
ARC, check out this site:

http://www.drunkenhyena.com/cgi-bin/dx9.pl

I would do the tutorials "Windows Primer" and "Initializing Direct3D." This is where I learned my first DirectX. Then, like MJP says, you can use ID3DXSprite to draw sprites.

Good luck. :)

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this