Commit 1f7adbfb authored by yu's avatar yu

1

parent 558892ae
......@@ -98,7 +98,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
}
private layout_start: cc.Node;
private audioId: any;
private countDown: number = 999999;
private timeCount: number;
private startCount = 20;
......@@ -174,7 +174,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
list = JSON.parse(JSON.stringify(list));
list.sort((A, B) => { return Math.random() < 0.5 });
this.list = list;
Game.getIns().player.addScore(this.list.length);
// Game.getIns().player.addScore(this.list.length);
this.count = 0;
this.lastCount = null;
this.fishs = [];
......@@ -766,6 +766,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
for (const key in words) {
if (Object.prototype.hasOwnProperty.call(words, key)) {
const element = words[key];
this.log("score: " + element.scores.overall);
if (element.scores.overall <= 40) return isSuccess = false;
}
}
......
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