To MFC or not to MFC?
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
Mark MengeltProgram AnalystPhoenix, AZ
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
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
~ The opinions stated by this individual are the opinions of this individual and not the opinions of her company, any organization she might be part of, her parrot, or anyone else. ~
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement