This is a read only mirror of the main yui examples repository
Go to file
Lorenzo Cogotti 428bdd3043 [pics/options.png] Add options demo still image. 2022-08-24 21:51:10 +02:00
examples [*] Add examples. 2022-08-24 15:47:50 +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 [crush.lua,.lovedeps] Add crush files. 2022-08-24 15:31:24 +02:00
LICENSE [README,LICENSE] Minor formatting improvements and fixes. 2022-08-24 17:38:20 +02:00
README.md [README] Add instructions for running the demos. 2022-08-24 19:23:32 +02:00
crush.lua [crush.lua,.lovedeps] Add crush files. 2022-08-24 15:31:24 +02:00
main.lua [*] Add examples. 2022-08-24 15:47:50 +02:00

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.