Commit f61c976d authored by huangwenjie's avatar huangwenjie

去除升级到10级的

parent a050fd80
...@@ -334,15 +334,15 @@ export default class PlayScene extends Scene { ...@@ -334,15 +334,15 @@ export default class PlayScene extends Scene {
this.mainFish.anchorOffsetY = this.mainFish.height / 2; this.mainFish.anchorOffsetY = this.mainFish.height / 2;
this.removeEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this); this.removeEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this);
break; break;
case 170: // case 170:
this.currLevel = 10; // this.currLevel = 10;
this.levelUpAni(); // this.levelUpAni();
this.mainFish.width = fishesConfig.config[`lv${this.currLevel}`].uW; // this.mainFish.width = fishesConfig.config[`lv${this.currLevel}`].uW;
this.mainFish.height = fishesConfig.config[`lv${this.currLevel}`].uH; // this.mainFish.height = fishesConfig.config[`lv${this.currLevel}`].uH;
this.mainFish.anchorOffsetX = this.mainFish.width / 2; // this.mainFish.anchorOffsetX = this.mainFish.width / 2;
this.mainFish.anchorOffsetY = this.mainFish.height / 2; // this.mainFish.anchorOffsetY = this.mainFish.height / 2;
this.removeEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this); // this.removeEventListener(egret.Event.ENTER_FRAME, this.onEnterFrame, this);
break; // break;
} }
} else { } else {
// 被吃,游戏结束 // 被吃,游戏结束
......
{ {
"code": 1, "code": 0,
"message": "处理成功", "message": "处理成功",
"success": true, "success": true,
"creditsUpperLimit": 30 "creditsUpperLimit": 30
......
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