Commit 95e96fe7 authored by 邱旭's avatar 邱旭

1

parent 60657823
...@@ -4,23 +4,23 @@ ...@@ -4,23 +4,23 @@
</w:Declarations> </w:Declarations>
<e:Image x="0" y="0" source="playSceneBg_jpg"/> <e:Image x="0" y="0" source="playSceneBg_jpg"/>
<e:Image y="247" source="targetBoard_png" x="174"/> <e:Image source="lef_png" y="-2" x="0"/>
<e:Image y="0" source="progressDown_png" horizontalCenter="0"/> <e:Image y="199.5" source="targetBoard_png" x="174"/>
<e:Image id="starProgress" x="138" y="206.85" source="starProgress_png"/> <e:Image y="-47.5" source="progressDown_png" horizontalCenter="0"/>
<e:Image x="69" y="-17" source="stepsBoard_png"/> <e:Image id="starProgress" x="138" y="159.35" source="starProgress_png"/>
<e:Image x="171.5" y="213.85" source="dangqianfenshu_png"/> <e:Image x="69" y="-64.5" source="stepsBoard_png"/>
<e:Image x="171.5" y="166.35" source="dangqianfenshu_png"/>
<e:Label id="targetScoreTxt" touchEnabled="false" size="26" width="292.85" anchorOffsetY="0" height="36" textAlign="center" anchorOffsetX="0" verticalAlign="middle" fontFamily="Microsoft YaHei" text="目标分数" y="282.35" textColor="0x9d4a06" bold="true" horizontalCenter="0.5"/> <e:Label id="targetScoreTxt" touchEnabled="false" size="26" width="292.85" anchorOffsetY="0" height="36" textAlign="center" anchorOffsetX="0" verticalAlign="middle" fontFamily="Microsoft YaHei" text="目标分数" y="234.85" textColor="0x9d4a06" bold="true" horizontalCenter="0.5"/>
<e:Image source="lef_png" y="-2" x="0"/> <e:Group id="settingAll" width="89" height="203" x="641" y="5.5" anchorOffsetY="0">
<e:Group id="settingAll" width="89" height="203" x="641" y="53" anchorOffsetY="0">
<e:Group id="settingGroup" width="72" height="282" x="8" y="29" anchorOffsetX="0" visible="false"> <e:Group id="settingGroup" width="72" height="282" x="8" y="29" anchorOffsetX="0" visible="false">
<e:Image y="-13.03" source="mainSettingBg_png" horizontalCenter="0"/> <e:Image y="-13.03" source="mainSettingBg_png" horizontalCenter="0"/>
<e:Image id="questionBtn" y="53" source="mainQuestionBtn_png" horizontalCenter="1"/> <e:Image id="questionBtn" y="53" source="mainQuestionBtn_png" horizontalCenter="1"/>
......
...@@ -598,24 +598,24 @@ export default class MainScene extends Scene { ...@@ -598,24 +598,24 @@ export default class MainScene extends Scene {
var chapterTxt = new ChapterNum(); var chapterTxt = new ChapterNum();
chapterTxt.num = `第${this.chapter}关` // >> 0; chapterTxt.num = `第${this.chapter}关` // >> 0;
chapterTxt.x = 520; chapterTxt.x = 520;
chapterTxt.y = 145; chapterTxt.y = 97.5;
this.addChild(chapterTxt) this.addChild(chapterTxt)
//步数 //步数
this.stepNumber = new StepNumber(); this.stepNumber = new StepNumber();
this.stepNumber.x = 175; this.stepNumber.x = 175;
this.stepNumber.y = 131; this.stepNumber.y = 83.5;
this.addChild(this.stepNumber); this.addChild(this.stepNumber);
//步数初始化 //步数初始化
this.steps = this.chapterData.stepCount; this.steps = this.chapterData.stepCount;
//当前分数 //当前分数
var curScoreNum = new CurScoreNum(); var curScoreNum = new CurScoreNum();
curScoreNum.x = 284; curScoreNum.x = 284;
curScoreNum.y = 217.5; curScoreNum.y = 170;
this.addChild(curScoreNum); this.addChild(curScoreNum);
//初始换道具容器 //初始换道具容器
this.propBtnCon = new PropBtnCon(); this.propBtnCon = new PropBtnCon();
this.propBtnCon.y = 269 + Tool.gameAreaHeight// + 55; this.propBtnCon.y = 299 + Tool.gameAreaHeight// + 55;
this.addChild(this.propBtnCon); this.addChild(this.propBtnCon);
//按钮的事件 //按钮的事件
this.propBtnCon.boomBtn.addEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_boomBtn, this) this.propBtnCon.boomBtn.addEventListener(egret.TouchEvent.TOUCH_TAP, this.onTap_boomBtn, this)
...@@ -690,7 +690,7 @@ export default class MainScene extends Scene { ...@@ -690,7 +690,7 @@ export default class MainScene extends Scene {
} }
this.elementTargets = new ElementTargets(this.passElements); this.elementTargets = new ElementTargets(this.passElements);
this.elementTargets.x = 375; this.elementTargets.x = 375;
this.elementTargets.y = 255; this.elementTargets.y = 207.5; // 255
this.addChild(this.elementTargets); this.addChild(this.elementTargets);
this.targetScoreTxt.visible = false; this.targetScoreTxt.visible = false;
} else { } else {
......
...@@ -102,7 +102,7 @@ export class ScoreProgress { ...@@ -102,7 +102,7 @@ export class ScoreProgress {
// window['aaa'] = mask; // window['aaa'] = mask;
mask.graphics.beginFill(0xff0000, 1); mask.graphics.beginFill(0xff0000, 1);
mask.graphics.drawRoundRect(138, 203, 0, 41, 50); mask.graphics.drawRoundRect(138, 151.5, 0, 41, 50);
mask.graphics.endFill(); mask.graphics.endFill();
this.starProgress.mask = mask; this.starProgress.mask = mask;
p.addChild(mask); p.addChild(mask);
...@@ -111,15 +111,15 @@ export class ScoreProgress { ...@@ -111,15 +111,15 @@ export class ScoreProgress {
var textureStar = RES.getRes("unlightedStar_png"); var textureStar = RES.getRes("unlightedStar_png");
this.star1 = new eui.Image(textureStar); // width (27 * 2) this.star1 = new eui.Image(textureStar); // width (27 * 2)
this.star1.x = 383; // 410 this.star1.x = 383; // 410
this.star1.y = 201; this.star1.y = 153.5; // 201
p.addChild(this.star1); p.addChild(this.star1);
this.star2 = new eui.Image(textureStar); this.star2 = new eui.Image(textureStar);
this.star2.x = 469; // 496 this.star2.x = 469; // 496
this.star2.y = 201; this.star2.y = 153.5;
p.addChild(this.star2); p.addChild(this.star2);
this.star3 = new eui.Image(textureStar); this.star3 = new eui.Image(textureStar);
this.star3.x = 556; // 583 this.star3.x = 556; // 583
this.star3.y = 201; this.star3.y = 153.5;
p.addChild(this.star3); p.addChild(this.star3);
} }
} }
\ No newline at end of file
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