mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-03-26 22:49:01 +08:00
[lua] Move spine-lua source to spine-lua subfolder.
This commit is contained in:
parent
d285e25dcd
commit
fe9baaf849
@ -23,10 +23,9 @@ spine-corona does not yet support loading the binary format.
|
|||||||
## Setup
|
## Setup
|
||||||
|
|
||||||
1. Download the Spine Runtimes source using [git](https://help.github.com/articles/set-up-git) or by downloading it as a zip via the download button above.
|
1. Download the Spine Runtimes source using [git](https://help.github.com/articles/set-up-git) or by downloading it as a zip via the download button above.
|
||||||
1. Copy the contents of `spine-lua` to `spine-corona/spine-lua`.
|
2. Copy the `spine-lua/spine-lua` folder to `spine-corona`.
|
||||||
1. Run the `main.lua` file using Corona. Tap/click to switch between skeletons
|
3. Run the `main.lua` file using Corona. Tap/click to switch between skeletons
|
||||||
|
|
||||||
Alternatively, the `spine-lua` and `spine-corona/spine-corona` directories can be copied into your project. Note that the require statements use `spine-lua.Xxx`, so the spine-lua files must be in a `spine-lua` directory in your project.
|
Alternatively, the `spine-lua` and `spine-corona/spine-corona` directories can be copied into your project. Note that the spine-corona `require` statements use `spine-lua.Xxx`, so the spine-lua files must be in a `spine-lua` directory in your project.
|
||||||
|
|
||||||
When using the `EmmyLua` plugin for IntelliJ IDEA, create a launch configuration pointing at the `Corona Simulator` executable (e.g. ` /Applications/Corona/Corona Simulator.app/Contents/MacOS/Corona Simulator` on macOS), set the working directory to `spine-corona` and set the parameters to `main.lua`.
|
|
||||||
|
|
||||||
|
When using the `EmmyLua` plugin for IntelliJ IDEA, create a launch configuration pointing at the `Corona Simulator` executable (e.g. ` /Applications/Corona/Corona Simulator.app/Contents/MacOS/Corona Simulator` on macOS), set the working directory to `spine-corona`, and set the parameters to `main.lua`.
|
||||||
|
|||||||
@ -3,6 +3,7 @@
|
|||||||
The spine-love runtime provides functionality to load, manipulate and render [Spine](http://esotericsoftware.com) skeletal animation data using [LÖVE](https://love2d.org/). spine-love is based on [spine-lua](../spine-lua).
|
The spine-love runtime provides functionality to load, manipulate and render [Spine](http://esotericsoftware.com) skeletal animation data using [LÖVE](https://love2d.org/). spine-love is based on [spine-lua](../spine-lua).
|
||||||
|
|
||||||
## Licensing
|
## Licensing
|
||||||
|
|
||||||
You are welcome to evaluate the Spine Runtimes and the examples we provide in this repository free of charge.
|
You are welcome to evaluate the Spine Runtimes and the examples we provide in this repository free of charge.
|
||||||
|
|
||||||
You can integrate the Spine Runtimes into your software free of charge, but users of your software must have their own [Spine license](https://esotericsoftware.com/spine-purchase). Please make your users aware of this requirement! This option is often chosen by those making development tools, such as an SDK, game toolkit, or software library.
|
You can integrate the Spine Runtimes into your software free of charge, but users of your software must have their own [Spine license](https://esotericsoftware.com/spine-purchase). Please make your users aware of this requirement! This option is often chosen by those making development tools, such as an SDK, game toolkit, or software library.
|
||||||
@ -15,7 +16,7 @@ For the official legal terms governing the Spine Runtimes, please read the [Spin
|
|||||||
|
|
||||||
spine-love works with data exported from Spine 3.9.x.
|
spine-love works with data exported from Spine 3.9.x.
|
||||||
|
|
||||||
spine-love supports all Spine features except for blending modes other than normal.
|
spine-love supports all Spine features except for blending modes other than `normal`.
|
||||||
|
|
||||||
spine-love does not yet support loading the binary format.
|
spine-love does not yet support loading the binary format.
|
||||||
|
|
||||||
@ -32,11 +33,12 @@ Alternatively, the `spine-lua` and `spine-love/spine-love` directories can be co
|
|||||||
* To enable two color tinting, pass `true` to `SkeletonRenderer.new()`.
|
* To enable two color tinting, pass `true` to `SkeletonRenderer.new()`.
|
||||||
|
|
||||||
## Examples
|
## Examples
|
||||||
|
|
||||||
If you want to run and debug the example project, use IntelliJ IDEA with the EmmyLua plugin.
|
If you want to run and debug the example project, use IntelliJ IDEA with the EmmyLua plugin.
|
||||||
|
|
||||||
1. Install IntelliJ IDEA and the EmmyLua plugin.
|
1. Install [IntelliJ IDEA](https://www.jetbrains.com/idea/) and the [EmmyLua plugin](https://plugins.jetbrains.com/plugin/9768-emmylua).
|
||||||
2. Install LÖVE.
|
2. Install [LÖVE](https://love2d.org/).
|
||||||
3. Copy the contents of `spine-lua` to `spine-love/spine-lua`.
|
3. Copy the `spine-lua/spine-lua` folder to `spine-love`.
|
||||||
4. Open the `spine-love` folder in IntelliJ IDEA.
|
4. Open the `spine-love` folder in IntelliJ IDEA.
|
||||||
5. Create a new launch configuration of the type `Lua Application`, with the following settings
|
5. Create a new launch configuration of the type `Lua Application`, with the following settings
|
||||||
1. `Program` should point at the `love` or `love.exe` executable, e.g. `/Applications/love.app/Contents/MacOS/love` on macOS.
|
1. `Program` should point at the `love` or `love.exe` executable, e.g. `/Applications/love.app/Contents/MacOS/love` on macOS.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user