Jump to content
  • Advertisement

Archived

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

StaticEdge

DirectX/OOP

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

Hello everyone, are there any tuts out there teaching DirectX in OO style programming? I am having a difficult time converting all the examples I see to OOP(which is how I choose to program). Thank you! -StaticEdge setNick("StaticEdge", NULL);

Share this post


Link to post
Share on other sites
Advertisement
these tuts are in OO style
http://www.flipcode.com/tutorials/tut_dx8adv2d.shtml
http://www.flipcode.com/tutorials/tut_dx82d.shtml

this one has a very good oo style
http://www.two-kings.de/tutorials/d3d.html

Share this post


Link to post
Share on other sites
Thanks BD for the links...

When I first tried my hand at DirectX, I started with DirectDraw for simplicity and did it in the ol'' procedural style. After everything worked, I''d go back and rewrite it 3 or 4 times trying to get the OOP design I wanted. I had to do that for each API but the code is exactly as I want it. And these links will give me sumthin'' to compare them to.

Many of the truths we cling to depend greatly on our own point of view

Get Tranced!

Share this post


Link to post
Share on other sites
Thank you very much! From here I will be able to move on to OO 3D stuff because this will give me the basis I need. Once again, thank you!


setNick("StaticEdge", NULL);

Share this post


Link to post
Share on other sites

  • 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!