mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
Update README.md
This commit is contained in:
parent
3b48afb78b
commit
194104f742
@ -2,10 +2,18 @@
|
||||
|
||||
The spine-js runtime provides functionality to load and manipulate [Spine](http://esotericsoftware.com) skeletal animation data using JavaScript. It does not perform rendering but can be extended to enable Spine animations for other JavaScript-based projects.
|
||||
|
||||
# spine-canvas
|
||||
|
||||
The spine-canvas runtime extends spine-js to perform rendering using an HTML5 canvas. Because it renders rectangular images, nonuniform scaling and mesh attachments are not supported.
|
||||
|
||||
## Setup
|
||||
|
||||
1. Download the Spine Runtimes source using [git](https://help.github.com/articles/set-up-git) or by downloading it [as a zip](https://github.com/EsotericSoftware/spine-runtimes/archive/master.zip).
|
||||
1. Include the `spine.js` file in your project.
|
||||
1. Include the `spine.js` file (and optionally the `spine-canvas.js` file) in your project.
|
||||
|
||||
## Demos
|
||||
|
||||
- [spine-canvas](http://esotericsoftware.com/files/runtimes/spine-js/example/)
|
||||
|
||||
## Runtimes Extending spine-js
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user