Commit cb3b7308 authored by Tt's avatar Tt

1

parent d91ca4c2
......@@ -555,6 +555,7 @@ cc.Class({
this._playing = true;
icon_ex_txt.active = false;
icon_ex.active = false;
// btn_replay.active = false;
pg.view.visible(pg.view.find(this, "card_group/slider"), false);
this.showCardLayout();
if (jumpWait) {
......@@ -634,7 +635,7 @@ cc.Class({
let isFinal = GameManager.getIns().isFinalRound;
pg.view.visible(btn_record, !isFinal);
this.showRestartBtn();
if (isFinal) {
//执行总结束的内容
GameManager.getIns().setState(5);
......@@ -703,6 +704,7 @@ cc.Class({
let card = cc.find("card", card_group);
let slider = cc.find("slider", card_group);
let card_bg2 = cc.find("card_group/card_bg2", this.node)
card_bg2.opacity = 0;
slider.action = true;
layout_card.removeAllChildren();
let r = [239, 0, 135];
......@@ -866,15 +868,20 @@ cc.Class({
},
onTouchCarton() {
if (this._playing) return;
this._playing = true;
this.playPartAni();
setTimeout(() => {
this._playing = false;
}, 900);
// this._playing = true;
// this.playPartAni();
// setTimeout(() => {
// this._playing = false;
// }, 900);
},
onTouchWord() {
if (this._playing) return;
this.playWordAni(true);
let btn_record = pg.view.find(this, "btn_record");
btn_record.active = false;
this.hideRestartBtn();
this.playWordAni(true).then(() => {
this.playRecordAudio();
})
},
onTouchCat() {
if (this._playing) return;
......
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