• Advertisement

Archived

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

To MFC or not to MFC?

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

That is my question! Looking for a quick pro/con list of writing games using MFC vs. not using it. Is it worth it? Mark Mengelt Program Analyst Phoenix, AZ

Share this post


Link to post
Share on other sites
Advertisement
Well, MFC is a very nice, very powerful library... but if you''re doing anything more complex than a board game, I wouldn''t use it for a game. That''s not what it was meant to do.

Before anyone screams I''m an MFC basher, I''ll just say that I happen to love MFC, I do it for a living. It''s super for level editors, and for small games like Kalah. But, it''s also very slow, compared to DirectX. MFC can make a decent background windows for games, true, but I''ve never really seen the point of that since it''s a simple enough task for pure Win32 API.

-fel

Share this post


Link to post
Share on other sites
I agree completely... MFC was made to make Win32 programming easier, it has lots of features and functionality for creating and displaying windows on every level... but with this complexity and functionality comes a major speed hit for games. MFC was designed to work well in a event driven, multi-application environment. Games are greedy hogs that want all the resources and processing time to themselves... most games only give windows the bare essentials when running, so the machine doesn''t vomit all over itself.

P.S. I have a question I would like you to look at felisandria, being a MFC guru and all.. its at:

http://www.gamedev.net/community/forums/topic.asp?topic_id=19612&forum_id=10&Topic_Title=D3D+IM+and+MFC&forum_title=DirectX%2FOpenGL%2FGlide%2FGenesis3D&M=True&S=True

Share this post


Link to post
Share on other sites

  • Advertisement