4
0
Fork
You've already forked yui-examples
0
Yui library examples repository.
  • Lua 100%
Find a 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.