mirror of
https://github.com/EsotericSoftware/spine-runtimes.git
synced 2026-02-06 07:14:55 +08:00
Docs.
This commit is contained in:
parent
066fa3dcae
commit
d5a52177f3
@ -1,4 +1,4 @@
|
||||
# spine-cocos2d-iphone
|
||||
# spine-cocos2d-iphone v2
|
||||
|
||||
The spine-cocos2d-iphone runtime provides functionality to load, manipulate and render [Spine](http://esotericsoftware.com) skeletal animation data using [cocos2d-iphone](http://www.cocos2d-iphone.org/). spine-cocos2d-iphone is based on [spine-c](https://github.com/EsotericSoftware/spine-runtimes/tree/master/spine-c).
|
||||
|
||||
|
||||
@ -17,6 +17,10 @@ To use spine-unity in your own Unity project:
|
||||
1. Copy the contents of `spine-csharp/src` to `Assets/spine-csharp` in your project.
|
||||
1. Copy the `spine-unity/Assets/spine-unity` to `Assets/spine-unity` in your project.
|
||||
|
||||
### Setup video
|
||||
|
||||
[](https://www.youtube.com/watch?v=Cwfa5gDH0UI)
|
||||
|
||||
## Examples
|
||||
|
||||
* **spineboy** This shows the spineboy skeleton. First an animation is played that shows the draw order changing and events firing, then spineboy jumps and walks. Click spineboy to jump again. Notice the walk and jump animations are mixed and transition smoothly. The white cube on spineboy's right hand is a separate GameObject that is positioned using a `BoneComponent`. This example uses images that are split across two atlas pages. This demonstrates a multi-page atlas, but of course has a high number of draw calls.
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user