Sign in to follow this  

[.net] C# 2D Managed DirectX Tutorial?

This topic is 4090 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

Since DirectDraw is deprecated, I'm looking to learn how to draw 2D graphics using Direct3D. As far as I can tell, this is only done by rendering a textured quad. Is it possible to draw 2D graphics like in DirectDraw, or is it all textured quads in Direct3D? Either way, I'm looking for a tutorial on 2D Direct3D graphics.

Share this post


Link to post
Share on other sites
Textured Quads are most likely a great way to go, I have heard lots of issues with Sprites and Shaders. However Sprites are great for simple, quick and easy graphics like tile based maps. Very easy to batch render a ton of sprites.

Should also check out Coding4Fun

[Edited by - Krisc on October 1, 2006 9:44:25 PM]

Share this post


Link to post
Share on other sites
It might actually be a better idea to take the XNA route, since Managed DirectX isn't quite supported anymore. If you download the XNA Game Studio Express (Beta), the first tutorial shows you how to display 2D graphics using XNA and C#. Also, feel free to take a look at my basic XNA implementation of pong: PongXNA.

Share this post


Link to post
Share on other sites

This topic is 4090 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.

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