Commit d17d9f4a authored by 熊东起's avatar 熊东起

game

parent 652b5b54
...@@ -231,6 +231,7 @@ export default class StackHigh extends FYGE.Container { ...@@ -231,6 +231,7 @@ export default class StackHigh extends FYGE.Container {
} }
/** 倒计时 */ /** 倒计时 */
downTimer() { downTimer() {
if(this.pause) return;
if (this.timing) { if (this.timing) {
if (this.timer > 0) { if (this.timer > 0) {
if (MTimer.deltaTime > 0) { if (MTimer.deltaTime > 0) {
...@@ -384,7 +385,7 @@ export default class StackHigh extends FYGE.Container { ...@@ -384,7 +385,7 @@ export default class StackHigh extends FYGE.Container {
await this.cat.onHitAway(dir); await this.cat.onHitAway(dir);
this.playZoom("out"); this.playZoom("out");
FYGE.Tween.get(this) FYGE.Tween.get(this)
.wait(3000) .wait(2000)
.call(() => { .call(() => {
this.gameOver(); this.gameOver();
}); });
......
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