Commit d1542273 authored by 邱旭's avatar 邱旭

1

parent b84ce87e
...@@ -177,7 +177,7 @@ ...@@ -177,7 +177,7 @@
"name": "hbcuttime" "name": "hbcuttime"
}, },
{ {
"keys": "hbPrize_bg_png,hbPrize_btn_png,hbPrize_money_png,hbPrize_blood_png,hbPrize_icon1_png,hbPrize_icon3_png,hbPrize_icon2_png", "keys": "hbPrize_bg_png,hbPrize_btn_png,hbPrize_money_png,hbPrize_blood_png,hbPrize_icon1_png,hbPrize_icon3_png,hbPrize_icon2_png,hbp_bg_png",
"name": "hbprize" "name": "hbprize"
}, },
{ {
...@@ -5381,6 +5381,11 @@ ...@@ -5381,6 +5381,11 @@
"url": "assets/sign/lightdi.png", "url": "assets/sign/lightdi.png",
"type": "image", "type": "image",
"name": "lightdi_png" "name": "lightdi_png"
},
{
"url": "assets/hbPrize/hbp_bg.png",
"type": "image",
"name": "hbp_bg_png"
} }
] ]
} }
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="FailSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="FailSkin" width="750" height="1206" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Component y="772.52" skinName="ADSmallSkin" horizontalCenter="0" visible="false" /> <e:Component y="741" skinName="ADSmallSkin" horizontalCenter="0.5" visible="false"/>
<e:Image source="闯关失败_png" y="-94" horizontalCenter="-4.5" /> <e:Image source="闯关失败_png" y="-94" horizontalCenter="-4.5" />
<e:Label id="lvTxt" text="关卡1" y="190" fontFamily="FZY3JW" size="42" textColor="0xffffff" strokeColor="0xff8339" <e:Label id="lvTxt" text="关卡1" y="190" fontFamily="FZY3JW" size="42" textColor="0xffffff" strokeColor="0xff8339"
stroke="3" horizontalCenter="0"/> stroke="3" horizontalCenter="0"/>
......
...@@ -4,9 +4,10 @@ ...@@ -4,9 +4,10 @@
<e:Image id="combglight" source="combglight_png" y="385.32" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/> <e:Image id="combglight" source="combglight_png" y="385.32" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/>
<e:Image id="combglight1" source="combglight_png" y="385.32" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/> <e:Image id="combglight1" source="combglight_png" y="385.32" anchorOffsetX="375" anchorOffsetY="418" horizontalCenter="0"/>
<e:Image y="-145.5" source="hbPrize_bg_png" horizontalCenter="1"/> <e:Image y="-145.5" source="hbPrize_bg_png" horizontalCenter="1"/>
<e:Image id="img" width="508" height="225" source="{data.url}" y="518.96" horizontalCenter="0"/> <e:Image id="img" width="518" height="230" source="{data.url}" y="516.3" horizontalCenter="0"/>
<e:Image id="prop" scaleX="1" scaleY="1" horizontalCenter="-70.5" source="taskPrize_money_png" verticalCenter="15.5"/> <e:Image id="prop" scaleX="1" scaleY="1" horizontalCenter="-63.5" source="taskPrize_money_png" verticalCenter="15.5"/>
<e:Group id="numsgroup" x="376.42" anchorOffsetX="0" width="188" anchorOffsetY="0" height="62" verticalCenter="15.5"> <e:Image source="hbp_bg_png" y="517.96" horizontalCenter="0"/>
<e:Group id="numsgroup" x="384.4" anchorOffsetX="0" width="188" anchorOffsetY="0" height="62" verticalCenter="16">
<e:Label id="nums" text="×8" size="48" verticalCenter="0" verticalAlign="middle" textAlign="center" fontFamily="FZY3JW" textColor="0xC17343" left="0" bold="true"/> <e:Label id="nums" text="×8" size="48" verticalCenter="0" verticalAlign="middle" textAlign="center" fontFamily="FZY3JW" textColor="0xC17343" left="0" bold="true"/>
</e:Group> </e:Group>
<e:Image id="money" source="signprize元宝_png" y="491.4" scaleX="0.8" scaleY="0.8" horizontalCenter="-3" visible="false"/> <e:Image id="money" source="signprize元宝_png" y="491.4" scaleX="0.8" scaleY="0.8" horizontalCenter="-3" visible="false"/>
......
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<e:Group id="propGroup" y="733.77" horizontalCenter="0"> <e:Group id="propGroup" y="733.77" horizontalCenter="0">
<e:Image source="物品奖励_png" x="0" y="0"/> <e:Image source="物品奖励_png" x="0" y="0"/>
<e:Label id="nums" text="×8" size="48" verticalAlign="middle" textAlign="left" fontFamily="FZY3JW" textColor="0xC17343" bold="true" anchorOffsetX="0" width="205" x="278" y="102.24"/> <e:Label id="nums" text="×8" size="48" verticalAlign="middle" textAlign="left" fontFamily="FZY3JW" textColor="0xC17343" bold="true" anchorOffsetX="0" width="205" x="278" y="102.24"/>
<e:Image id="prop" scaleY="0.8" scaleX="0.8" x="173" y="80.24" source="prize_blood_png"/> <e:Image id="prop" scaleY="0.8" scaleX="0.8" x="173" y="81.24" source="prize_blood_png"/>
</e:Group> </e:Group>
<e:Image id="img" width="480" height="214" source="{data.url}" horizontalCenter="0" y="575.76" visible="false"/> <e:Image id="img" width="480" height="214" source="{data.url}" horizontalCenter="0" y="575.76" visible="false"/>
<e:Button id="closeBtn" label="" x="594.5" y="456.01"> <e:Button id="closeBtn" label="" x="594.5" y="456.01">
......
...@@ -1403,7 +1403,7 @@ export default class MainScene extends Scene { ...@@ -1403,7 +1403,7 @@ export default class MainScene extends Scene {
this.stepCircle = new egret.Shape(); this.stepCircle = new egret.Shape();
this.stepCircle.touchEnabled = true; this.stepCircle.touchEnabled = true;
this.stepCircle.graphics.beginFill(0xff0000, 0); this.stepCircle.graphics.beginFill(0xff0000, 0);
this.stepCircle.graphics.drawCircle(181, 125, 90); this.stepCircle.graphics.drawCircle(181, 105, 80);
this.stepCircle.graphics.endFill(); this.stepCircle.graphics.endFill();
this.stepCircle.addEventListener(egret.TouchEvent.TOUCH_TAP, () => { this.stepCircle.addEventListener(egret.TouchEvent.TOUCH_TAP, () => {
this.sendPropUse(PropType.CHANCE_NUM) this.sendPropUse(PropType.CHANCE_NUM)
......
...@@ -22,7 +22,7 @@ export default class FailedPanel extends Panel { ...@@ -22,7 +22,7 @@ export default class FailedPanel extends Panel {
}, this); }, this);
addRankFriendList(68,772.52,this); addRankFriendList(68,741,this);
} }
onTouchTap_closeBtn() { onTouchTap_closeBtn() {
......
...@@ -35,7 +35,7 @@ export class PropGuide extends egret.DisplayObjectContainer { ...@@ -35,7 +35,7 @@ export class PropGuide extends egret.DisplayObjectContainer {
text.textColor = 0xffffff; text.textColor = 0xffffff;
text.size = 20; text.size = 20;
text.x = (750 - 500) / 2; text.x = (750 - 500) / 2;
text.y = offsetY - 92; text.y = offsetY - 80;
text.textAlign = egret.HorizontalAlign.CENTER; text.textAlign = egret.HorizontalAlign.CENTER;
text.width = 500; text.width = 500;
this.addChild(text); this.addChild(text);
...@@ -72,7 +72,7 @@ export class PropGuide extends egret.DisplayObjectContainer { ...@@ -72,7 +72,7 @@ export class PropGuide extends egret.DisplayObjectContainer {
this.bg.graphics.lineTo(750, 1624); this.bg.graphics.lineTo(750, 1624);
this.bg.graphics.lineTo(0, 1624); this.bg.graphics.lineTo(0, 1624);
this.bg.graphics.lineTo(0, 0); this.bg.graphics.lineTo(0, 0);
this.bg.graphics.drawArc(181, 125, 90, 0, Math.PI * 2, true) this.bg.graphics.drawArc(181, 105, 80, 0, Math.PI * 2, true)
this.bg.graphics.endFill(); this.bg.graphics.endFill();
this.msgTxt.text = "点击左上方步数,可为闯关时增加额外5次步数"; this.msgTxt.text = "点击左上方步数,可为闯关时增加额外5次步数";
// this.msgTxt.x = 320; // this.msgTxt.x = 320;
......
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