Commit 0194bd97 authored by limingzhe's avatar limingzhe

fix: debug

parent bb96d31f
...@@ -1141,7 +1141,7 @@ cc.Class({ ...@@ -1141,7 +1141,7 @@ cc.Class({
// this.move1Clip = cc.find('Canvas/res/audio/move_1').getComponent(cc.AudioSource).clip; // this.move1Clip = cc.find('Canvas/res/audio/move_1').getComponent(cc.AudioSource).clip;
// this.move2Clip = cc.find('Canvas/res/audio/move_2').getComponent(cc.AudioSource).clip; // this.move2Clip = cc.find('Canvas/res/audio/move_2').getComponent(cc.AudioSource).clip;
// this.failClip = cc.find('Canvas/res/audio/fail_4').getComponent(cc.AudioSource).clip; // this.failClip = cc.find('Canvas/res/audio/fail_4').getComponent(cc.AudioSource).clip;
// this.rightClip = cc.find('Canvas/res/audio/right').getComponent(cc.AudioSource).clip; this.rightClip = cc.find('Canvas/res/audio/right').getComponent(cc.AudioSource).clip;
this.clickClip = cc.find('Canvas/res/audio/click').getComponent(cc.AudioSource).clip; this.clickClip = cc.find('Canvas/res/audio/click').getComponent(cc.AudioSource).clip;
this.nextClip = cc.find('Canvas/res/audio/next').getComponent(cc.AudioSource).clip; this.nextClip = cc.find('Canvas/res/audio/next').getComponent(cc.AudioSource).clip;
// this.wrongClip = cc.find('Canvas/res/audio/wrong').getComponent(cc.AudioSource).clip; // this.wrongClip = cc.find('Canvas/res/audio/wrong').getComponent(cc.AudioSource).clip;
...@@ -6155,7 +6155,7 @@ cc.Class({ ...@@ -6155,7 +6155,7 @@ cc.Class({
labelNode.color = cc.Color.fromHEX(new cc.Color(), color); labelNode.color = cc.Color.fromHEX(new cc.Color(), color);
labelOutline.width = outlineWidth; labelOutline.width = outlineWidth;
labelOutline.color = cc.Color.fromHEX(new cc.Color(), outlineColor); labelOutline.color = cc.Color.fromHEX(new cc.Color(), outlineColor);
// label.enableBold = isBold; label.enableBold = isBold;
label.lineHeight = fontSize; label.lineHeight = fontSize;
...@@ -9775,8 +9775,9 @@ cc.Class({ ...@@ -9775,8 +9775,9 @@ cc.Class({
this.canTouch = false; this.canTouch = false;
this.delayCall(0.2, () => { this.delayCall(0.7, () => {
cc.audioEngine.playEffect(this.nextClip, false, 0.8); cc.audioEngine.playEffect(this.rightClip, false, 0.8);
// cc.audioEngine.playEffect(this.nextClip, false, 0.8);
}) })
this.delayCall(0.3, () => { this.delayCall(0.3, () => {
this.enterNextGroup(); this.enterNextGroup();
......
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