|
|
@ -45,7 +45,7 @@ function love.draw()
|
|
|
|
end
|
|
|
|
end
|
|
|
|
```
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
|
|
![Hello, World!](https://gitea.it/1414codeforge/yui-examples/raw/branch/master/pics/hello_world.png)
|
|
|
|
![Hello, World!](https://codeberg.org/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://gitea.it/1414codeforge/gear) for general algorithms.
|
|
|
|
* [gear](https://codeberg.org/1414codeforge/gear) for general algorithms.
|
|
|
|
* [moonspeak](https://gitea.it/1414codeforge/moonspeak) for its localization functionality.
|
|
|
|
* [moonspeak](https://codeberg.org/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://gitea.it/1414codeforge/crush) to do the work for you.
|
|
|
|
[crush](https://codeberg.org/1414codeforge/crush) to do the work for you.
|
|
|
|
|
|
|
|
|
|
|
|
1. Clone this repository.
|
|
|
|
1. Clone this repository.
|
|
|
|
|
|
|
|
|
|
|
|
```sh
|
|
|
|
```sh
|
|
|
|
git clone https://gitea.it/1414codeforge/yui
|
|
|
|
git clone https://codeberg.org/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://gitea.it/1414codeforge/crush/src/branch/master/crush.lua) file and
|
|
|
|
1. Download the latest [crush.lua](https://codeberg.org/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://gitea.it/1414codeforge/yui",
|
|
|
|
yui = "https://codeberg.org/1414codeforge/yui",
|
|
|
|
|
|
|
|
|
|
|
|
-- ...more dependencies, if necessary...
|
|
|
|
-- ...more dependencies, if necessary...
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -149,7 +149,7 @@ The source code is also (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://gitea.it/1414codeforge/yui-examples](https://gitea.it/1414codeforge/yui-examples)
|
|
|
|
<https://codeberg.org/1414codeforge/yui-examples>
|
|
|
|
|
|
|
|
|
|
|
|
## Acknowledgement
|
|
|
|
## Acknowledgement
|
|
|
|
|
|
|
|
|
|
|
|