|
|
@ -45,7 +45,7 @@ function love.draw() |
|
|
|
end |
|
|
|
``` |
|
|
|
|
|
|
|
 |
|
|
|
 |
|
|
|
|
|
|
|
## Features |
|
|
|
|
|
|
@ -75,17 +75,17 @@ end |
|
|
|
|
|
|
|
**Yui** depends on: |
|
|
|
|
|
|
|
* [gear](https://git.doublefourteen.io/lua/gear) for general algorithms. |
|
|
|
* [moonspeak](https://git.doublefourteen.io/lua/moonspeak) for its localization functionality. |
|
|
|
* [gear](https://gitea.it/1414codeforge/gear) for general algorithms. |
|
|
|
* [moonspeak](https://gitea.it/1414codeforge/moonspeak) for its localization functionality. |
|
|
|
* ...and any of their dependencies. |
|
|
|
|
|
|
|
You may either download each of them manually and place them inside a `lib` subdirectory, or use |
|
|
|
[crush](https://git.doublefourteen.io/lua/crush) to do the work for you. |
|
|
|
[crush](https://gitea.it/1414codeforge/crush) to do the work for you. |
|
|
|
|
|
|
|
1. Clone this repository. |
|
|
|
|
|
|
|
```sh |
|
|
|
git clone https://git.doublefourteen.io/lua/yui |
|
|
|
git clone https://gitea.it/1414codeforge/yui |
|
|
|
``` |
|
|
|
|
|
|
|
2. Move to repository root directory: |
|
|
@ -104,14 +104,14 @@ You should now see a `lib` subdirectory containing the necessary dependencies. |
|
|
|
|
|
|
|
## Integrating yui in my project using crush |
|
|
|
|
|
|
|
1. Download the latest [crush.lua](https://git.doublefourteen.io/lua/crush/src/branch/master/crush.lua) file and |
|
|
|
1. Download the latest [crush.lua](https://gitea.it/1414codeforge/crush/src/branch/master/crush.lua) file and |
|
|
|
place it in your project's root directory. |
|
|
|
|
|
|
|
2. Create a `.lovedeps` text file in your project's root with the following entry: |
|
|
|
|
|
|
|
```lua |
|
|
|
{ |
|
|
|
yui = "https://git.doublefourteen.io/lua/yui", |
|
|
|
yui = "https://gitea.it/1414codeforge/yui", |
|
|
|
|
|
|
|
-- ...more dependencies, if necessary... |
|
|
|
} |
|
|
@ -140,7 +140,7 @@ Documentation is underway, however the source code is (IMHO) sufficiently |
|
|
|
straightforward and disciplined to have a decent overview of the functionality. |
|
|
|
|
|
|
|
Examples are available at: |
|
|
|
[https://git.doublefourteen.io/lua/yui-examples](https://git.doublefourteen.io/lua/yui-examples) |
|
|
|
[https://gitea.it/1414codeforge/yui-examples](https://gitea.it/1414codeforge/yui-examples) |
|
|
|
|
|
|
|
## Acknowledgement |
|
|
|
|
|
|
|