This is a read only mirror of the main yui examples repository
Go to file
2023-11-01 11:09:10 +01:00
examples [examples/*] Update to new constructor call syntax. 2022-10-25 13:32:08 +02:00
fonts [*] Add examples. 2022-08-24 15:47:50 +02:00
pics [pics/options.png] Add options demo still image. 2022-08-24 21:51:10 +02:00
.gitignore [.gitignore] Add .gitignore. 2022-08-24 15:29:16 +02:00
.lovedeps [lovedeps,README,crush] Update project links 2023-11-01 11:09:10 +01:00
crush.lua [lovedeps,README,crush] Update project links 2023-11-01 11:09:10 +01:00
LICENSE [README,LICENSE] Minor formatting improvements and fixes. 2022-08-24 17:38:20 +02:00
main.lua [*] Add examples. 2022-08-24 15:47:50 +02:00
README.md [lovedeps,README,crush] Update project links 2023-11-01 11:09:10 +01:00

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.