@galacean/engine-spine 0.9.0 → 1.0.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +13 -13
- package/dist/browser.js +1 -1
- package/dist/main.js +1 -1
- package/dist/module.js +1 -1
- package/dist/module.js.map +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
|
|
2
2
|
|
|
3
|
-
#
|
|
3
|
+
# Galacean Engine spine runtime
|
|
4
4
|

|
|
5
5
|
|
|
6
6
|
|
|
7
|
-

|
|
8
|
+

|
|
9
|
+

|
|
10
10
|
|
|
11
11
|
---
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
Spine runtime for [
|
|
15
|
+
Spine runtime for [Galacean engine](https://github.com/galacean/engine).
|
|
16
16
|
##
|
|
17
17
|
## Usage
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
```typescript
|
|
21
|
-
import { SpineAnimation } from '@
|
|
21
|
+
import { SpineAnimation } from '@galacean/engine-spine';
|
|
22
22
|
|
|
23
23
|
// init oasis
|
|
24
24
|
addSpine();
|
|
@@ -26,7 +26,7 @@ addSpine();
|
|
|
26
26
|
async function addSpine() {
|
|
27
27
|
const spineEntity = await engine.resourceManager.load(
|
|
28
28
|
{
|
|
29
|
-
url: 'https://
|
|
29
|
+
url: 'https://sbfkcel.github.io/pixi-spine-debug/assets/spine/spineboy-pro.json',
|
|
30
30
|
type: 'spine',
|
|
31
31
|
},
|
|
32
32
|
);
|
|
@@ -39,21 +39,21 @@ async function addSpine() {
|
|
|
39
39
|
|
|
40
40
|
## npm
|
|
41
41
|
```sh
|
|
42
|
-
npm install @
|
|
42
|
+
npm install @galacean-engine/spine
|
|
43
43
|
```
|
|
44
44
|
|
|
45
45
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
## Version
|
|
49
|
-
|
|
49
|
+
@galacean/engine-spine currently only supports spine version 3.8
|
|
50
50
|
|
|
51
51
|
|
|
52
52
|
## Feature
|
|
53
53
|
|
|
54
54
|
- Simple in usage
|
|
55
55
|
- High performance.
|
|
56
|
-
- Intergrated
|
|
56
|
+
- Intergrated with galacean engine.
|
|
57
57
|
- Component based API.
|
|
58
58
|
|
|
59
59
|
|
|
@@ -67,9 +67,9 @@ Make sure to read the [Contributing Guide](.github/HOW_TO_CONTRIBUTE.md) before
|
|
|
67
67
|
|
|
68
68
|
## Links
|
|
69
69
|
|
|
70
|
-
- [Examples](https://oasisengine.cn/
|
|
71
|
-
- [Documentation](https://oasisengine.cn/
|
|
72
|
-
- [
|
|
70
|
+
- [Examples](https://oasisengine.cn/#/examples/latest/spine-animation)
|
|
71
|
+
- [Documentation](https://oasisengine.cn/#/docs/latest/cn/spine)
|
|
72
|
+
- [GalaceanEngine](https://oasisengine.cn/)
|
|
73
73
|
|
|
74
74
|
|
|
75
75
|
|