diff --git a/assets/Scene/GameScene.fire b/assets/Scene/GameScene.fire index fb4838e..49d92c7 100644 --- a/assets/Scene/GameScene.fire +++ b/assets/Scene/GameScene.fire @@ -15337,8 +15337,8 @@ 0, 0, 1, - 2, - 2, + 0.01, + 0.01, 2 ] }, @@ -29379,6 +29379,7 @@ "__id__": 323 }, "_enabled": true, + "btn_Touch": false, "_id": "81dQXmYrVK3771lwjUo7gt" }, { diff --git a/assets/Script/Map.ts b/assets/Script/Map.ts index 79f9ac5..0793dfc 100644 --- a/assets/Script/Map.ts +++ b/assets/Script/Map.ts @@ -1554,6 +1554,7 @@ export default class MapConroler extends cc.Component { if (this.blockNum == 0 && !this.gameWin && !this.gameOver) { // alert("游戏成功"); // MiniGameSdk.API.showToast(cc.fx.GameConfig.GM_INFO.level); + this.setOtherLevel(); this.gameWin = true; if (cc.fx.GameConfig.GM_INFO.hp < cc.fx.GameConfig.GM_INFO.hp_Max) { console.log("恢复一点体力", cc.fx.GameConfig.GM_INFO.level); @@ -3162,6 +3163,12 @@ export default class MapConroler extends cc.Component { .start(); } + setOtherLevel() { + if (cc.fx.GameConfig.GM_INFO.otherLevel == 1) { + cc.fx.GameConfig.GM_INFO.level = 2; + } + } + update(dt) {