Commit a77005da authored by Tt's avatar Tt

1

parent 11508b51
......@@ -352,12 +352,18 @@ cc.Class({
this.showNextBtn();
});
} else {
playDragonBoneAnimation(cat, 'begin', -1);
this.playAudioByUrl(this.data.startAudio, () => {
// playDragonBoneAnimation(cat, 'begin', -1);
// this.playAudioByUrl(this.data.startAudio, () => {
// playDragonBoneAnimation(cat, 'normal', -1);
// this.showSubmitBtn();
// this.jumpToQuestion(this.status.currentQuestionIdx);
// });
playDragonBoneAnimation(cat, 'normal', -1);
this.showSubmitBtn();
this.jumpToQuestion(this.status.currentQuestionIdx);
});
let questionIdx = this.status.currentQuestionIdx;
const questionAudioUrl = this.data.question_arr[questionIdx].audio_url;
this.playAudioByUrl(questionAudioUrl);
}
});
},
......
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