Sign in to follow this  
AaronWizardstar

libRocket, GWEN, or something else for GUI?

Recommended Posts

I'm working on an RPG-ish game that will need a fairly robust GUI. Do [i]not[/i] tell me to write my own GUI.
I've narrowed my options down to [url="http://librocket.com/"]libRocket[/url] and [url="http://code.google.com/p/gwen/"]GWEN[/url] and now I can't decide. [img]http://public.gamedev.net//public/style_emoticons/default/unsure.png[/img] How many of you have tried either of these engines, and what was your experience with them?

Share this post


Link to post
Share on other sites
Gambini    384
I'll share my experience with libRocket, which I have both used and have contributed Lua bindings to.

If you have experience with HTML4/CSS, then you should use Rocket just because it is something you are familiar with. However, it also comes with the inflexibility of HTML and CSS, and things like animations will have to have special element types that you make yourself. However, almost anything is possible without too much work. It does come out of the box with its own look and CSS page for its 'Invaders' demo which gives you a good starting point to branch off from.

The thing that sets Rocket apart is the in-game debug window where you can inspect elements and see its parents,children,style sheet, line numbers, files, templates, classes, and the like. It is something that I haven't seen in other libraries, and I have found it incredibly useful.

I could go on, and if you want to know about a certain aspect then I can answer your question. But to sum it up, it is a mature and easily extendable library that does what it sets out to do, and does it fairly well. Just to be clear, it is very far from perfect; I only pointed out the good in this post. However, your issues will more than likely stem from your misunderstanding rather than a bug in the library, which is something that I take comfort in.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this