Yui library examples repository.
- Lua 100%
| examples | [examples/*] Update to new constructor call syntax. | |
| fonts | [*] Add examples. | |
| pics | [pics/options.png] Add options demo still image. | |
| .gitignore | [.gitignore] Add .gitignore. | |
| .lovedeps | [lovedeps,README,crush] Update project links | |
| crush.lua | [lovedeps,README,crush] Update project links | |
| LICENSE | [README,LICENSE] Minor formatting improvements and fixes. | |
| main.lua | [*] Add examples. | |
| README.md | [lovedeps,README,crush] Update project links | |
Yui Examples
A collection of code examples for yui.
Contents
- Hello World - most basic of the basics.
- Basic Menu - a simple menu made of buttons, useful for main menus and pause menus.
- Options Menu - comprehensive example, demonstrating several widgets and interactions.
...and the initial selection menu is a demo in itself :)
Running the examples
-
Clone this repository.
-
Download yui and its dependencies using crush:
lua crush.lua -
Start the demo menu with LÖVE:
love .
Acknowledgement
Some examples use PixelDroid Menu fonts, see ACKNOWLEDGEMENT for details.
License
Zlib, see LICENSE for details.