Commit f61c976d authored by huangwenjie's avatar huangwenjie

去除升级到10级的

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