Commit 72f8022e authored by chenzihui's avatar chenzihui

完成

parent 5a6eb4ea
......@@ -486,7 +486,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
reviewSuccess(){
this.rightQuestion++;
this.rightQuestion += 1;
this.excellentDragon.node.active = true;
this.excellentDragon.playAnimation('newAnimation', 1);
this.playLocalAudio("excellent");
......@@ -577,7 +577,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
gameEnd(){
if(this.rightQuestion == this.data.questions.length){
if(this.rightQuestion >= this.data.questions.length){
this.allWinEnd.node.active = true;
this.allWinEnd.playAnimation('newAnimation', 1);
this.playLocalAudio("effect_allWin");
......
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