|
|
@ -45,7 +45,7 @@ function love.draw()
|
|
|
|
end
|
|
|
|
end
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
![Hello, World!](https://git.doublefourteen.io/lua/yui-examples/raw/branch/master/pics/hello_world.png)
|
|
|
|
![Hello, World!](https://gitea.it/1414codeforge/yui-examples/raw/branch/master/pics/hello_world.png)
|
|
|
|
|
|
|
|
|
|
|
|
## Features
|
|
|
|
## Features
|
|
|
|
|
|
|
|
|
|
|
@ -75,17 +75,17 @@ end
|
|
|
|
|
|
|
|
|
|
|
|
**Yui** depends on:
|
|
|
|
**Yui** depends on:
|
|
|
|
|
|
|
|
|
|
|
|
* [gear](https://git.doublefourteen.io/lua/gear) for general algorithms.
|
|
|
|
* [gear](https://gitea.it/1414codeforge/gear) for general algorithms.
|
|
|
|
* [moonspeak](https://git.doublefourteen.io/lua/moonspeak) for its localization functionality.
|
|
|
|
* [moonspeak](https://gitea.it/1414codeforge/moonspeak) for its localization functionality.
|
|
|
|
* ...and any of their dependencies.
|
|
|
|
* ...and any of their dependencies.
|
|
|
|
|
|
|
|
|
|
|
|
You may either download each of them manually and place them inside a `lib` subdirectory, or use
|
|
|
|
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.
|
|
|
|
1. Clone this repository.
|
|
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
git clone https://git.doublefourteen.io/lua/yui
|
|
|
|
git clone https://gitea.it/1414codeforge/yui
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
2. Move to repository root directory:
|
|
|
|
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
|
|
|
|
## 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.
|
|
|
|
place it in your project's root directory.
|
|
|
|
|
|
|
|
|
|
|
|
2. Create a `.lovedeps` text file in your project's root with the following entry:
|
|
|
|
2. Create a `.lovedeps` text file in your project's root with the following entry:
|
|
|
|
|
|
|
|
|
|
|
|
```lua
|
|
|
|
```lua
|
|
|
|
{
|
|
|
|
{
|
|
|
|
yui = "https://git.doublefourteen.io/lua/yui",
|
|
|
|
yui = "https://gitea.it/1414codeforge/yui",
|
|
|
|
|
|
|
|
|
|
|
|
-- ...more dependencies, if necessary...
|
|
|
|
-- ...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.
|
|
|
|
straightforward and disciplined to have a decent overview of the functionality.
|
|
|
|
|
|
|
|
|
|
|
|
Examples are available at:
|
|
|
|
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
|
|
|
|
## Acknowledgement
|
|
|
|
|
|
|
|
|
|
|
|