wild和scatter动画的播放问题
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m0s
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m0s
This commit is contained in:
parent
314c62d802
commit
0def2ba2a8
@ -239,10 +239,7 @@
|
|||||||
"_fillRange": 0,
|
"_fillRange": 0,
|
||||||
"_isTrimmedMode": true,
|
"_isTrimmedMode": true,
|
||||||
"_useGrayscale": false,
|
"_useGrayscale": false,
|
||||||
"_atlas": {
|
"_atlas": null,
|
||||||
"__uuid__": "7b015c97-60ec-4ce8-bdf3-3dce8e615665",
|
|
||||||
"__expectedType__": "cc.SpriteAtlas"
|
|
||||||
},
|
|
||||||
"_id": ""
|
"_id": ""
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
@ -69,7 +69,7 @@
|
|||||||
"__id__": 1
|
"__id__": 1
|
||||||
},
|
},
|
||||||
"_children": [],
|
"_children": [],
|
||||||
"_active": false,
|
"_active": true,
|
||||||
"_components": [
|
"_components": [
|
||||||
{
|
{
|
||||||
"__id__": 3
|
"__id__": 3
|
||||||
@ -165,7 +165,7 @@
|
|||||||
"__expectedType__": "sp.SkeletonData"
|
"__expectedType__": "sp.SkeletonData"
|
||||||
},
|
},
|
||||||
"defaultSkin": "default",
|
"defaultSkin": "default",
|
||||||
"defaultAnimation": "<None>",
|
"defaultAnimation": "anim1",
|
||||||
"_premultipliedAlpha": false,
|
"_premultipliedAlpha": false,
|
||||||
"_timeScale": 1,
|
"_timeScale": 1,
|
||||||
"_preCacheMode": 0,
|
"_preCacheMode": 0,
|
||||||
|
|||||||
@ -431,11 +431,10 @@ export class Icon extends Component {
|
|||||||
this.iconSpine.clearTracks();
|
this.iconSpine.clearTracks();
|
||||||
this.iconSpine.setCompleteListener(null);
|
this.iconSpine.setCompleteListener(null);
|
||||||
if (this._iconId == 0) {
|
if (this._iconId == 0) {
|
||||||
this.iconSpine.setAnimation(0, 'win', true);
|
this.iconSpine.setAnimation(0, 'win', false);
|
||||||
} else if (this._iconId == 1) {
|
} else if (this._iconId == 1) {
|
||||||
this.iconSpine.setAnimation(0, 'win_1', true);
|
this.iconSpine.setAnimation(0, 'win_1', false);
|
||||||
}
|
}
|
||||||
this.iconSpine.setAnimation(0, 'win_1', false);
|
|
||||||
}
|
}
|
||||||
} else if (this.iconSpine && this.iconSpine.node) {
|
} else if (this.iconSpine && this.iconSpine.node) {
|
||||||
// this.iconSpine.node.active = true;
|
// this.iconSpine.node.active = true;
|
||||||
@ -565,6 +564,7 @@ export class Icon extends Component {
|
|||||||
if (this._isWildOrScatter) {
|
if (this._isWildOrScatter) {
|
||||||
// this.iconSpine.setAnimation(0, 'spawn_1', false);
|
// this.iconSpine.setAnimation(0, 'spawn_1', false);
|
||||||
// this.iconSpine.setCompleteListener(() => {
|
// this.iconSpine.setCompleteListener(() => {
|
||||||
|
// this.iconSpine.node.active = true;
|
||||||
if (!this.iconSpine) return;
|
if (!this.iconSpine) return;
|
||||||
if (this._iconId == 0) {
|
if (this._iconId == 0) {
|
||||||
this.iconSpine.setAnimation(0, 'idle', true);
|
this.iconSpine.setAnimation(0, 'idle', true);
|
||||||
@ -596,9 +596,9 @@ export class Icon extends Component {
|
|||||||
this.iconSpine.clearTracks();
|
this.iconSpine.clearTracks();
|
||||||
this.iconSpine.setCompleteListener(null);
|
this.iconSpine.setCompleteListener(null);
|
||||||
if (this._iconId == 0) {
|
if (this._iconId == 0) {
|
||||||
this.iconSpine.setAnimation(0, 'idle', true);
|
this.iconSpine.setAnimation(0, 'idle', false);
|
||||||
} else if (this._iconId == 1) {
|
} else if (this._iconId == 1) {
|
||||||
this.iconSpine.setAnimation(0, 'idle_1', true);
|
this.iconSpine.setAnimation(0, 'idle_1', false);
|
||||||
}
|
}
|
||||||
} else if (this.iconSpine) {
|
} else if (this.iconSpine) {
|
||||||
this.iconSpine.node.active = false;
|
this.iconSpine.node.active = false;
|
||||||
|
|||||||
@ -2788,13 +2788,13 @@
|
|||||||
"__prefab": null,
|
"__prefab": null,
|
||||||
"_contentSize": {
|
"_contentSize": {
|
||||||
"__type__": "cc.Size",
|
"__type__": "cc.Size",
|
||||||
"width": 174.24000549316406,
|
"width": 266.489990234375,
|
||||||
"height": 522.280029296875
|
"height": 355.0199890136719
|
||||||
},
|
},
|
||||||
"_anchorPoint": {
|
"_anchorPoint": {
|
||||||
"__type__": "cc.Vec2",
|
"__type__": "cc.Vec2",
|
||||||
"x": 0.49988519127737446,
|
"x": 0.4957034445734158,
|
||||||
"y": 0.5001339833091739
|
"y": 0.539406247327176
|
||||||
},
|
},
|
||||||
"_id": "5eCOl9iDBOqrx+o9MzHH/Q"
|
"_id": "5eCOl9iDBOqrx+o9MzHH/Q"
|
||||||
},
|
},
|
||||||
@ -2819,11 +2819,11 @@
|
|||||||
"a": 255
|
"a": 255
|
||||||
},
|
},
|
||||||
"_skeletonData": {
|
"_skeletonData": {
|
||||||
"__uuid__": "c4c5d54b-a1e3-4eba-b866-11cc9129f20c",
|
"__uuid__": "4dae9577-b214-4e57-94ad-2f1e9d7c24ed",
|
||||||
"__expectedType__": "sp.SkeletonData"
|
"__expectedType__": "sp.SkeletonData"
|
||||||
},
|
},
|
||||||
"defaultSkin": "default",
|
"defaultSkin": "default",
|
||||||
"defaultAnimation": "anim3",
|
"defaultAnimation": "idle_1",
|
||||||
"_premultipliedAlpha": false,
|
"_premultipliedAlpha": false,
|
||||||
"_timeScale": 1,
|
"_timeScale": 1,
|
||||||
"_preCacheMode": 0,
|
"_preCacheMode": 0,
|
||||||
@ -2834,7 +2834,7 @@
|
|||||||
"_debugBones": false,
|
"_debugBones": false,
|
||||||
"_debugSlots": false,
|
"_debugSlots": false,
|
||||||
"_enableBatch": false,
|
"_enableBatch": false,
|
||||||
"loop": false,
|
"loop": true,
|
||||||
"_id": "ab7skyMJ5L9pSQgJ0kmqWb"
|
"_id": "ab7skyMJ5L9pSQgJ0kmqWb"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user