Skip to content
Quetzy edited this page Jul 5, 2021 · 12 revisions

YUI (pre-alpha)

A UI system for GMS2 by @shdwcat

NOTE: YUI is not ready for use in production code yet!

Why YUI?

Writing UI code is annoying and tedious! Why write UI code when you can edit some powerful little yaml files instead?

Notable Features:

  • Live Reload while the game is running!
  • Simple but flexible data-binding system to get your game data into the UI
  • Powerful Drag and Drop feature built in (no coding!)
  • Customizable theme
  • Template system lets you design and re-use custom widgets

OK, where do I start?

Documentation is in progress! Feel free to browse the code while you wait :)

The Example Project

Contained in this repo is the YUI Example project. If you clone the repo locally you can run the project to get an idea of what YUI is capable of. The Example Project is still a work in progress, but make sure to check out the Inventory Screen for an example of how to quickly set up drag and drop!

Dependencies

YUI has a number of dependencies, which are already included in the project for you.

If you are already using a different version of one of these packages, you may run into complications.

Credit to the amazing @jujuadams: