Commit fd2a4793 authored by 李维's avatar 李维

修改录音冲突问题

parent b83b2d6b
...@@ -471,7 +471,7 @@ cc.Class({ ...@@ -471,7 +471,7 @@ cc.Class({
this.nextStage(); this.nextStage();
}) })
} }
}, 1000 * 1)); }, 1000 * 2.3));
}, },
state5Finish() { state5Finish() {
let btn_replay = pg.view.find(this, "btn_replay") let btn_replay = pg.view.find(this, "btn_replay")
...@@ -846,8 +846,6 @@ cc.Class({ ...@@ -846,8 +846,6 @@ cc.Class({
}, },
pushResultData() { pushResultData() {
console.log(' in pushResultData');
const word = this._stageData.word; const word = this._stageData.word;
const score = this._stageData.curScore; const score = this._stageData.curScore;
const audio_url = this._stageData.audio_url; const audio_url = this._stageData.audio_url;
...@@ -857,7 +855,6 @@ cc.Class({ ...@@ -857,7 +855,6 @@ cc.Class({
// 酷猫讲话动画 // 酷猫讲话动画
coolCatSpeak(aniName="begin") { coolCatSpeak(aniName="begin") {
const cat = cc.find('Canvas/mao_ske'); const cat = cc.find('Canvas/mao_ske');
console.log(playDragonBoneAnimation)
playDragonBoneAnimation(cat, aniName, -1); playDragonBoneAnimation(cat, aniName, -1);
return () => { return () => {
playDragonBoneAnimation(cat, 'noraml', -1); playDragonBoneAnimation(cat, 'noraml', -1);
...@@ -1186,7 +1183,6 @@ cc.Class({ ...@@ -1186,7 +1183,6 @@ cc.Class({
star.x = startPos.x; star.x = startPos.x;
star.y = startPos.y - starBig.height; star.y = startPos.y - starBig.height;
console.log('middlePos = ' + JSON.stringify(middlePos));
const time = 1; const time = 1;
cc.tween(star) cc.tween(star)
.to(0.3, { y: middlePos.y + 80 }, { easing: 'quadOut' }) .to(0.3, { y: middlePos.y + 80 }, { easing: 'quadOut' })
......
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