Commit 3abcf328 authored by yu's avatar yu

1

parent 08adcf58
...@@ -115,7 +115,7 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -115,7 +115,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
data.scores = Game.getIns().player.voices; data.scores = Game.getIns().player.voices;
data.stone = Math.floor(10 * data.right / data.total); data.stone = Math.floor(10 * data.right / data.total);
this.log("total: " + data.total + " right: " + data.right + " stone: " + data.stone); this.log("total: " + data.total + " right: " + data.right + " stone: " + data.stone);
onHomeworkFinish(data) // onHomeworkFinish(data)
} }
...@@ -209,9 +209,10 @@ export default class SceneComponent extends MyCocosSceneComponent { ...@@ -209,9 +209,10 @@ export default class SceneComponent extends MyCocosSceneComponent {
bg.active = false; bg.active = false;
pp.active = true; pp.active = true;
cc.tween(pp).to(0.7, { opacity: 0 }).start(); cc.tween(pp).to(0.7, { opacity: 0 }).call(()=>{
pg.event.emit("layer_coin_show_coin", 3);
}).start();
pg.event.emit("layer_coin_show_coin", 3);
// this.checkRoundEnd(); // this.checkRoundEnd();
......
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