Commit 504d5d21 authored by asdf's avatar asdf

去掉goodjob音效

parent 3ac7fd16
{
"ver": "2.0.1",
"uuid": "572039bb-724c-435a-95e7-22b0d49b03e2",
"downloadMode": 0,
"duration": 0.216,
"subMetas": {}
}
\ No newline at end of file
...@@ -122,7 +122,7 @@ cc.Class({ ...@@ -122,7 +122,7 @@ cc.Class({
this.startGame(); this.startGame();
}, },
initBoot(){ initBoot() {
GameData.questionIndex = 0; GameData.questionIndex = 0;
this.loadCenterImage(); this.loadCenterImage();
this.questionList = []; this.questionList = [];
...@@ -131,7 +131,7 @@ cc.Class({ ...@@ -131,7 +131,7 @@ cc.Class({
} }
this.nodeDict.nodBgTitle.on('touchstart', () => { this.nodeDict.nodBgTitle.on('touchstart', () => {
if(GameData.audioCount !== 0){ if (GameData.audioCount !== 0) {
return; return;
} }
GameData.audioCount++; GameData.audioCount++;
...@@ -265,7 +265,8 @@ cc.Class({ ...@@ -265,7 +265,8 @@ cc.Class({
.to(0.1, { scale: 1 }) .to(0.1, { scale: 1 })
.call(() => { .call(() => {
this.onBtnClickAudio(() => { this.onBtnClickAudio(() => {
this.playAudioGoodjob(); // this.playAudioGoodjob();
this.checkOver();
}); });
}) })
.start() .start()
...@@ -354,9 +355,9 @@ cc.Class({ ...@@ -354,9 +355,9 @@ cc.Class({
}, },
playAudio(cb) { playAudio(cb) {
if(GameData.audioCount !== 0){ if (GameData.audioCount !== 0) {
return; return;
} }
GameData.audioCount++; GameData.audioCount++;
let url = this.data.questionList[GameData.questionIndex].audio; let url = this.data.questionList[GameData.questionIndex].audio;
// url = 'http://127.0.0.1/iamflying.mp3'; // url = 'http://127.0.0.1/iamflying.mp3';
......
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