Jump to content
  • Advertisement

Archived

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

Common Files

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

I am working thru "beginning in direct 3d" which uses dx9.0 and I like the book very much. My question has to do with the use of common files from the sdk. I have a hard time not writing my code from the ground up and just piggy backing off of the common files it feels like cheatin and that I am losing out on valuble skills not setting the devices up my self. Is this common pratice to use the common files framework in a game. I see the advantage, and I will learn this if it is usable in a real application, or is it outdated like I have heard mfc has become. Any comments or perspectives would be wonderful. thanks Dapeos

Share this post


Link to post
Share on other sites
Advertisement
It''s hard to know exactly what level is ''good'', but I''d say:

1) Code reuse is good.

Make use of code that is already written and tested, it will save you time and effort and allow you to concentrate on the problem at hand. It is never cheating (unless of course you''re copy''n''pasting for a course assignment).

2) Knowing how things work is good.

Understanding how to construct the DX objects from the basic API is useful when problems occur. Same is true of knowing assembly for various platforms, even though it is perfectly possible to go through an entire career without even touching assembly.

Share this post


Link to post
Share on other sites
Understand what you are copying and then there is no problem. Code reuse is indeed something we should all try to do, but not on the expense of learning.

"Life is very short, and there''s no time for fussing and fighting my friend..."

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!