Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Is there any GuiLibrary available, which works with MonoGame? I know there are some GUI Libraries for XNA but I assume most will not work with MonoGame.

Even simple stuff like Buttons and Inputfields would help me...

Thanks.

share|improve this question

closed as not constructive by Josh Petrie, Byte56, bummzack, Sean Middleditch, msell Jun 25 '13 at 5:21

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

4 Answers 4

up vote 6 down vote accepted

I asked myself the exact same question a few weeks ago. Unfortunately, I didn't find anything that suited my needs but what I did find might help.

Here are a few XNA GUI projects I've found that might be compatible with MonoGame. I'm not really sure which ones are better than others and I haven't really tried them, but I've collected a few options.

Sorry, I don't have enough rep to post hyperlinks.

xWinForms (sourceforge.net/projects/xwinforms/)

XNA Simple GUI (simplegui.codeplex.com)

Window System for XNA (wsx.codeplex.com)

Squid (www.ionstar.org)

Ruminate XNA 4.0 GUI (xnagui.codeplex.com)

Nuclex Framework (nuclexframework.codeplex.com)

CEGUI# (sourceforge.net/projects/ceguisharp/) a port of CEGUI (http://www.cegui.org.uk)

MQuickGUI (www.ogre3d.org/tikiwiki/tiki-index.php?page=MQuickGUI) made for the Ogre / Mogre engine but could be adapted to XNA.

Xpf by Red Badger (red-badger.com/blog/2012/07/05/xpf-to-be-open-sourced/) - An implementation of WPF for mobile devices. It looks good but I can't see a way to download it. It was announced to be open sourced on 5 July 2012 but I don't think that has happened yet.

I collected these links recently because I'm currently in the process of developing a GUI system for MonoGame specifically for mobile devices. I don't think any of the existing GUI options suit mobile devices very well.

It's only in the very early stages of development and I can't say when it will be ready for use. You can read about it on my blog.

http://www.craftworkgames.com/blog/

If rendering text is good enough to get you started I've posted a tutorial on my blog about text rendering with MonoGame using BMFont.

http://www.craftworkgames.com/blog/tutorial-bmfont-rendering-with-monogame/

I'll be following this question in case someone else comes up with a better answer. If not, at least I know that developing my own GUI system is not a terrible idea.

share|improve this answer
    
thx, I'll check the list –  Hawk66 Nov 5 '12 at 9:39

One option that you have is GWEN port for the .Net if you don't mind writing the MonoGame adaptation layer. The original C++ library is written by Garry Newman. The layer is easy to create, and there are plenty of examples available in the code base.

While GWEN might not be outright better than other GUI libraries, it has following advantages:

  • Simple
  • Easy to theme
  • Has quite many controls available
  • It is not a framework, rather a library
  • Doesn't rely on XML or any other kind of markup

On the other hand, I've found out following downsides:

  • It may not be as flexible as other GUI libraries
  • It does not come with ready made layout managers
  • No XML
share|improve this answer

NuclearWinter works with MonoGame.

enter image description here

share|improve this answer

This should've been a comment to @craftworkgames comment but it doesn't seem to be possible.

I wanted a GUI system for mobile games, I favor code simplicity, easy composition and, last but one of the most important, community / documentation / developer activity (improving the framework or just promoting it). From the link he posted, the ones that I liked more were:

  • CraftworkGUI, he's own framework, it's really close to what I was searching for
  • XNA Simple GUI (simplegui.codeplex.com)
  • Xpf by Red Badger. I liked this one more for the potential, haven't actually tried it yet. You can find this one on Github.

Researching for this has been really tedious and boring, but from what I've seen, I wish CraftworkGUI grows to be a good solution for mobile GUI dev.

share|improve this answer
    
If you really meant for this to be a comment, you should click the small "comment" link under that answer and copy some of it there. Then you can come back to your answer and remove it with the "delete". Since it's a review of a few things @craftworkgames posted, that might be appropriate. For other basic functions, read through the faq. Also the help links peppered through the pages are very helpful. –  Seth Battin May 25 '13 at 16:08
    
There's no "add comment" link in any answer apart from mine now, I took it as some sort of mechanism preventing "low reputation bumps". –  vvolkgang May 26 '13 at 2:51
    
I'm glad you like my GUI system, there's still a lot I'd like to do to make it better but it's pretty much usable now. You need to earn some rep to be able to comment, I believe this is a clever form of spam prevention. –  craftworkgames May 26 '13 at 3:59

Not the answer you're looking for? Browse other questions tagged or ask your own question.