Commit 87ca8f60 authored by 杨一航's avatar 杨一航

fix

parent a04d4a41
...@@ -7644,7 +7644,7 @@ ...@@ -7644,7 +7644,7 @@
} }
], ],
"_armatureName": "Armature", "_armatureName": "Armature",
"_animationName": "begin", "_animationName": "normal",
"_preCacheMode": 0, "_preCacheMode": 0,
"_cacheMode": 0, "_cacheMode": 0,
"playTimes": 0, "playTimes": 0,
...@@ -7663,7 +7663,7 @@ ...@@ -7663,7 +7663,7 @@
"__uuid__": "29e803ff-5143-4001-8188-7de2e95472e9" "__uuid__": "29e803ff-5143-4001-8188-7de2e95472e9"
}, },
"_N$_defaultArmatureIndex": 0, "_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1, "_N$_animationIndex": 3,
"_N$_defaultCacheMode": 0, "_N$_defaultCacheMode": 0,
"_N$timeScale": 1, "_N$timeScale": 1,
"_N$debugBones": false, "_N$debugBones": false,
......
...@@ -184,7 +184,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -184,7 +184,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
id: 12, rJumpId: null, wJumpId: null, word: "There is a bear on a chair.", url: "", id: 12, rJumpId: null, wJumpId: null, word: "There is a bear on a chair.", url: "",
}, },
{ {
id: 13, rJumpId: null, wJumpId: null, word: "kids", url: "", id: 13, rJumpId: null, wJumpId: null, word: "cheer", url: "",
}, },
{ {
id: 14, rJumpId: null, wJumpId: null, word: "I have ears.", url: "", id: 14, rJumpId: null, wJumpId: null, word: "I have ears.", url: "",
...@@ -294,10 +294,11 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -294,10 +294,11 @@ export default class SceneComponent extends MyCocosSceneComponent {
} }
if (state == -1) { if (state == -1) {
this.cat.getComponent(dragonBones.ArmatureDisplay).playAnimation("normal", 0); this.cat.getComponent(dragonBones.ArmatureDisplay).playAnimation("normal", 0);
this._playingAudio = false;
} else if (state == 0) { } else if (state == 0) {
this.cat.getComponent(dragonBones.ArmatureDisplay).playAnimation("begin", 0); this.cat.getComponent(dragonBones.ArmatureDisplay).playAnimation("begin", 0);
playAudio && this.playAudioByUrl(this.data.waitingWheel, () => { playAudio && this.playAudioByUrl(this.data.waitingWheel, () => {
this.cat.getComponent(dragonBones.ArmatureDisplay).playAnimation("normal", 0);
this._playingAudio = false; this._playingAudio = false;
}) })
} else if (state == 1) { } else if (state == 1) {
...@@ -306,7 +307,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -306,7 +307,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
}) })
} }
else if (state == 2) { else if (state == 2) {
this._playingAudio = false;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment