MFC for Games?

Started by
3 comments, last by VoytekG 22 years, 6 months ago
Hey! Do developers use MFC to make games? What else is used to make games for Windows? Thanks, Voytek
http://www.liquidsoftware.cjb.netGames, apps, and more!
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.

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
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
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
http://www.liquidsoftware.cjb.netGames, apps, and more!

This topic is closed to new replies.

Advertisement