Jump to content
  • Advertisement
Sign in to follow this  
funvill

MFC + Directx

This topic is 5114 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 I am making a solar system simulator in directX and I was thinking of using MFC for the GUI controls, basically having a directX panel in the center of my dialog and buttons, text boxes, and combo boxes around the out side of the window. I have seen this done often in game tools but never for the game its self, is there a reason why people don’t use MFC for games ? I tried to search for a tutorial but came up empty handed. Do you know of any MFC and directx tutorial ? I do realize that there is C# but I do not want to have to learn a new language And I know that there will be a performance hit if I use MFC. Thank you for your time

Share this post


Link to post
Share on other sites
Advertisement
One can be downloaded here:

http://web.archive.org/web/20040209054251/www.ultimategameprogramming.com/Tutorial.php?category=MFC&page=3

The site's just archived now so only some of the tutorials are actually there. I know for sure that the first DirectX/MFC tutorial is there though.

Share this post


Link to post
Share on other sites
That looks like what i need, but all the tutorial zip files are corrupt
i can not view any of the tutorials

Share this post


Link to post
Share on other sites
I just started using direcx with MFC myself, and there's actually a tutorial on this website that was very useful in knowing where to start out with my initialization code, etc.
It uses D3D8.1, but the basic ideas are the same when using D3D9. http://www.gamedev.net/reference/articles/article1778.asp
Also, MFC is a perfectly accepable choice for a GUI, despite what some people might tell you, its main problem is it is quite a large set of tools, and it can be hard to figure out where to put stuff to do what you want to do.

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.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!