Commit dc384ff9 authored by yu's avatar yu

1

parent 21e91fae
......@@ -87,7 +87,8 @@ export default class SceneComponent extends MyCocosSceneComponent {
this.showGame();
}
private touchOver() {
this.playLocalAudio("finish"); let data: any = {};
this.playLocalAudio("finish");
let data: any = {};
let questions = this.logs.concat();
let score = 0;
questions.forEach(q => {
......@@ -102,6 +103,7 @@ export default class SceneComponent extends MyCocosSceneComponent {
setTimeout(() => {
let btn_check = cc.find("btn_check", this.node);
btn_check.getComponent(cc.Button).interactable = true;
this.playLocalAudio("sahua");
// const bg = cc.find('Canvas/group_item', this.node);
this.showAllFirework(this.node, cc.find('Canvas/petal').children);
......
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