Jump to content
  • Advertisement
Sign in to follow this  
AgentX

What GUI Library?

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

I am currently working on a strategy game using the Allegro library. I am almost done creating the menus, but I am not satisfied with the result. The code seems a bit clunky (500+ lines already) for just some menus. What GUI library/libraries do you guys recommend? I know there are several to choose from, but I need something that is geared toward the beginning game designer and is platform independent.

Share this post


Link to post
Share on other sites
Advertisement
BTW, 500 lines isn't that much. My UI library is nowhere near done and its at like 10k lines.

Share this post


Link to post
Share on other sites
500+ lines seems like a lot for one splash screen and 7 menu/sub-menu screens. Did I mention I am a newbie and the game is gonna be pretty basic. Its a learning project for me.

Share this post


Link to post
Share on other sites
It's good that you are aware of the line count but I wouldn't infer too much from it - more lines does not necessarily mean "bad" code. If you think your code is poorly designed, of course, that is another issue entirely.

Rather than attempt to use another library, consider using Allegro for a bit longer; as you spend more time working with it you will be in a better position to judge whether or not the "clunkiness" is the result of the library or just inexperience.

Share this post


Link to post
Share on other sites
Thanks for the input Digital_Soul. I don't think I worded my question very clearly. I am using Allegro and will continue to do so for this game. But I don't see any GUI routines in Allegro (at least none that the documentation "dumbs down" for my level). So I was going to use gtk+ or wxWidgets or qwt for the game menus (because I don't think mine routines are coded very well). But I wanted to get some experienced input before I jump into it.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!