Commit dd2e95ee authored by Tt's avatar Tt

基础完成

parent 12a0a760
......@@ -199,8 +199,10 @@ cc.Class({
pg.view.touchOn(btn_return, this.onTouchReturn, this);
pg.view.touchOn(btn_recording, this.onTouchRecording, this);
pg.view.touchOn(btn_replay, this.onTouchReplay, this);
pg.view.touchOn(btn_picture, this.onTouchPicture, this);
if (GameManager.getIns().getState() == 0) {
pg.view.visible(btn_record, false);
pg.view.visible(end, false);//不显示的内容用false
pg.view.visible(end_success, false);
pg.view.visible(icon_ex, false);
......@@ -239,7 +241,7 @@ cc.Class({
cc.tween().by(0.5, { y: -50 }),
).repeatForever();
action.start();
}, 1000 * 5);
}, 1000 * 4);
} else if (GameManager.getIns().getState() == 2) {
pg.view.visible(icon_hand, false);
pg.view.visible(btn_record, false);
......@@ -272,6 +274,7 @@ cc.Class({
this.playSFX("audio_finish");
pg.view.visible(btn_picture, true);
pg.view.visible(btn_record, false);
} else if (GameManager.getIns().getState() == 6) {
}
......@@ -299,6 +302,10 @@ cc.Class({
onTouchReplay() {
this.playSFX("audio_btns");
},
onTouchPicture() {
this.playSFX("audio_btns");
},
nextStage() {
......
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