Jump to content
  • Advertisement

Archived

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

VoytekG

MFC for Games?

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

Advertisement
I am not aware of any developers using MFC.

For a large part developers do not use MFC because the excessive inheritence slows the system down quit a bit, and is poorly designed.

Most game development for windows is done ussing the standard win32 libray (Winmain, minproc, ...) along with other APIs.

Share this post


Link to post
Share on other sites
Not if they can help it!

MFC''s OK, I suppose but it''s not a good thing for high performance apps (like games). If you''re not using DirectX or OpenGL, you can get away with it since GDI is so slow you probably wouldn''t notice (or care about) MFC''s performance hit I''ve heard it can decrease running speeds by up to 25%.

Go with pure Win32 API or possibly a faster (or at least better) framework. wxWindows is free and probably faster and nicer than MFC. If you''re using DX/OGL, just use pure Win32. Most of the Win32 code can be cut and paste without understanding it since your code will probably revolve more around DX/OGL and not Win32 itself.


-Goku
SANE Productions Homepage

Share this post


Link to post
Share on other sites
Max Payne was written using MFC, it is very powerful, and I think it used to problem speed wise, but now it is perfectly acceptable to use DirectX or OpenGL with MFC to make a game. I know it works great for tools

Share this post


Link to post
Share on other sites
Alright thanks guys! I would like to learn DX then, or one of the other graphics methods. Can anyone point me to a tutorial? The one at FOR BEGINNERS on GameDev is a broken link.
Thanks,
Voytek

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!