This is a read-only mirror of https://gitea.it/1414codeforge/yui-examples. Please direct any pull-request, issue or discussion to the main repo.
You cannot 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 2b16d66b14 [examples/helloworld] Minor typo fix. 2 years ago
examples [examples/helloworld] Minor typo fix. 2 years ago
fonts [*] Add examples. 2 years ago
pics [pics/options.png] Add options demo still image. 2 years ago
.gitignore [.gitignore] Add .gitignore. 2 years ago
.lovedeps [crush.lua,.lovedeps] Add crush files. 2 years ago
LICENSE [README,LICENSE] Minor formatting improvements and fixes. 2 years ago
README.md [README] Add instructions for running the demos. 2 years ago
crush.lua [crush.lua,.lovedeps] Add crush files. 2 years ago
main.lua [*] Add examples. 2 years 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.