What is the best free cross-platform OpenGL GUI library for a video game?
Posted
by Jim Buck
on Stack Overflow
See other posts from Stack Overflow
or by Jim Buck
Published on 2008-10-17T03:40:18Z
Indexed on
2010/06/11
8:43 UTC
Read the original article
Hit count: 242
It must come with source. I've looked at these which look semi-promising:
glgooey, guichan, and cegui. I've come across others that look more Windows-y than game-y, but that's not the direction I am looking to go in.
I would like some simple functionality of typical controls (lists, dropdown box, etc.) but with support for graphical widgets that you would normally find in game frontends. Mouse clicking, dragging, dropping, etc. and sound effect hooks would be nice. (These libs often leave hooks for the external system to tell it when/where mouse events are occurring.)
It would get rendered on top of what my own 3D engine is rendering for the game, so it must be able to play nicely with rendering code outside of the lib.
The best criteria is whether or not a reasonable 2D game could be implemented just with the GUI library and minimal glue code. (By glue code, I mean init code, hooking up the mouse, and game logic.) I am creating a 3D game, but this criteria gives a pretty solid idea of what level of interactivity I would like in the GUI.
© Stack Overflow or respective owner