Yui library examples repository. https://doublefourteen.io
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Lorenzo Cogotti 7005a2de62 [crush] Update crush.lua. 4 weeks ago
examples [examples/*] Update to new constructor call syntax. 1 month ago
fonts [*] Add examples. 3 months ago
pics [pics/options.png] Add options demo still image. 3 months ago
.gitignore [.gitignore] Add .gitignore. 3 months ago
.lovedeps [README,.lovedeps] Update links. 4 weeks ago
LICENSE [README,LICENSE] Minor formatting improvements and fixes. 3 months ago
README.md [README,.lovedeps] Update links. 4 weeks ago
crush.lua [crush] Update crush.lua. 4 weeks ago
main.lua [*] Add examples. 3 months ago

README.md

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

  1. Clone this repository.

  2. Download yui and its dependencies using crush:

    lua crush.lua
    
  3. 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.