Version 1, last updated by ChadyG at August 17, 2009 19:35 UTC

The What

The UI system integrated into MUGE is that of a screens and windows form.  These are your two containers, where your screen is your native window and windows are specific portions of your screen.  Both containers implement a "page" approach to design in that you build multiple pages of elements per container and can switch context at any time.  The window element/container can be draggable and/or resizable.

 

The How

Creating a UI for your game can be done in two ways; first using the declarative C++ interface, secondly using JSON configuration file.  The container classes provide a Builder/Manager pattern to create UI elements.  The UI is built in a hierarchical fashion with your top level container at the top and elements at the bottom within pages. 

-make an image-

Describe C++ interface in detail

Describe JSON configuration in detail