The missing GUI Library for Pixi and Phaser

Article by Richard Davey. Posted on 11th May 2015.   @phaser_

EZGUI is an attempt to make Game UI creation simple and to separate the GUI from the code. It's themable, extendable and easy to use.

Here are two examples of what you can do with EZGUI:

image image

So how does EZGUI make GUI creation easier?

The main idea is to write almost no code for visual aspect, all pure GUI stuff is defined in JSON files.

The library ships with two themes ("feathers" and "kenney") with many ready to use GUI components.

EZGUIs approach is to compose the GUIs from JSON definitions. It will not provide a rich API to create the GUI though code (it's still possible, but not recommended). Instead you'll have functions to load themes, compose the UI, bind events and animate / tween the GUI elements.

Additionally it provides composite GUI components for most common game use cases, such as: Levels Screen component, High Score with stars component, Social Share component, etc.

Visit Site or Discuss in the Forum