MFC + Directx
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
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.
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.
That looks like what i need, but all the tutorial zip files are corrupt
i can not view any of the tutorials
i can not view any of the tutorials
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.
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.
For the people that come after me
Source code:
http://www.funvill.com/lj/dev/MFC/DirectX/MFC_DirectX.zip
Source code:
http://www.funvill.com/lj/dev/MFC/DirectX/MFC_DirectX.zip
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement