🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Tool Frameworks

Published March 28, 2009
Advertisement

Tool Frameworks

Now that I'm starting to get somewhere with building machines and having a nice variety of objects to build with, I need some way to do the building. This brings up the inevitable requirement to either write your own extensive UI framework, or decide to use an external framework. The choices are pretty diverse, ranging from managed to unmanaged, OS specific to cross platform, very specific to very general. In the end, my choice boiled down to the fact that I'm a single developer working on this project. My choice: MFC!

There are quite a few people out there that don't like MFC, but there are several reasons that I am going to go with it. First of all, it's a native code framework meaning that I don't have to do any black magic about marshalling or PInvoking or whatever else (don't get me wrong - managed languages are great for their respective areas, but my engine is native making the choice clear). Also, since it is windows specific, it's pretty easy to tie into D3D and since I'm a lone developer easy is a good thing.

The only other real choice (that I know of) would be to use the in engine GUI, but I don't really have the time or patience to implement all of the functionality that MFC would provide right out of the box. So the decision is made (unless someone has a compelling alternative!).


Learning MFC (again)

I've used MFC in the past for a tool here and there, but I never took the time to actually learn a lot about the framework. So I picked up a copy of Programming Windows with MFC for only $13.95 + shipping. It's a huge book, and at least the first few chapters are very well written. Of course I'll be sharing the developments as they come, so stay tuned (if you don't hate me for using MFC!).
Previous Entry Physics Actuators
Next Entry Real Artwork!
0 likes 7 comments

Comments

Ashkan
How about wxWidgets?
March 28, 2009 05:25 PM
Jason Z
Hey Ashkan, thanks for the suggestion. I haven't ever really worked with wxWidgets, but after a quick google about getting the window handle, it appears to be pretty simple. I'm going to read up a little more to get a feel for the framework overall, and then I'll decide if it is worth it to pick up instead of MFC.

Is it common to use wxWidgets with a rendering system? Does anyone know what type of tool kits the bigger studios use? Anyone use something else besides wxWidgets and MFC?
March 29, 2009 10:58 AM
Ashkan
Quote: Is it common to use wxWidgets with a rendering system?

I can't comment on that because I don't know what you have in mind. If it helps, Horde3D's Scene Editor for instance is built on top of wxWidgets.

QT is also another option, but I'm under the impression that it has a more restrictive license. I'm not sure.

Crazy Eddie's GUI System, or CEGUI for short, is directly targeted at rendering engines. This is what OGRE uses for instance.

I don't have any experience with any of the said products so I can't comment any further. I just picked them up during my regular surfings. :) Hope you find some of that helpful.
March 29, 2009 11:31 AM
Jason Z
I was under the same impression about Qt - it seems not to be free in commercial software if I understood correctly (its been a while since I checked, so it may not be correct).

I checked out CEGUI, but it seems that it is more intended to run inside the engine, and I'm looking for something that won't mess with my internal UI and rendering pipeline. I know many people use it very successfully, but its just a little bit of the wrong flavor for me.

Thanks again for the suggestions - I'm building wxWidgets now, and I'll see how their demos look...
March 29, 2009 01:25 PM
Ng
Hey Jason,

Qt has been LGPL'ed recently (it appeared on some notable headlines too :P) - probably the best GUI option nowadays, imho (and way less clunky than wxWidgets).
March 30, 2009 08:54 AM
Jason Z
Thanks for the heads up NG - I can also check out Qt to see how it would work out. Has anyone used it for a game development tool?
March 31, 2009 05:15 AM
Ng
I remember using Qt a long time ago and it's programming model just hooked me - I ended up not using it for long because of the restrictive license at the time.

News of the new LGPL license finally got me back to Qt - other solutions I explored never came close to ease of use (I liked Borland's GUI stuff but, hey, it's kinda outdated :P).

Give Qt a chance, it'll probably hook you too - not wanting to sound like a fanboy, but it's really good. Features and tools are excellent.
March 31, 2009 07:14 AM
You must log in to join the conversation.
Don't have a GameDev.net account? Sign up!
Advertisement