Commit d0e88819 authored by zhangjinzhou's avatar zhangjinzhou

换皮暂存

parent 87b3cf08
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
}, },
{ {
"name": "preload", "name": "preload",
"keys": "option_left_png,option_right_png,option_scrollbar_png,ex_panda_png,ex_buybtn_png,ex_close_png" "keys": "option_left_png,option_right_png,option_scrollbar_png,ex_panda_png,ex_buybtn_png,ex_close_png,hotballoon_png,道具数量框_png,光线_png,水_半_png,水_空_png,水_满_png,饲料_半_png,饲料_空_png,饲料_满_png"
} }
], ],
"resources": [ "resources": [
...@@ -1285,6 +1285,51 @@ ...@@ -1285,6 +1285,51 @@
"name": "ex_close_png", "name": "ex_close_png",
"type": "image", "type": "image",
"url": "assets/exchange_panel/ex_close.png" "url": "assets/exchange_panel/ex_close.png"
},
{
"name": "hotballoon_png",
"type": "image",
"url": "assets/index_scene/hotballoon.png"
},
{
"name": "道具数量框_png",
"type": "image",
"url": "assets/index_scene/ui/道具数量框.png"
},
{
"name": "光线_png",
"type": "image",
"url": "assets/index_scene/ui/光线.png"
},
{
"name": "水_半_png",
"type": "image",
"url": "assets/index_scene/ui/水_半.png"
},
{
"name": "水_空_png",
"type": "image",
"url": "assets/index_scene/ui/水_空.png"
},
{
"name": "水_满_png",
"type": "image",
"url": "assets/index_scene/ui/水_满.png"
},
{
"name": "饲料_半_png",
"type": "image",
"url": "assets/index_scene/ui/饲料_半.png"
},
{
"name": "饲料_空_png",
"type": "image",
"url": "assets/index_scene/ui/饲料_空.png"
},
{
"name": "饲料_满_png",
"type": "image",
"url": "assets/index_scene/ui/饲料_满.png"
} }
] ]
} }
\ No newline at end of file
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Image y="0" source="ex_bg_png" touchEnabled="false" x="156"/> <e:Image y="0" source="ex_bg_png" touchEnabled="false" x="156"/>
<e:Group id="propGroup" y="126" anchorOffsetX="0" width="437" horizontalCenter="52.5"> <e:Group id="propGroup" y="126" anchorOffsetX="0" width="437" horizontalCenter="52.5" visible="false">
<e:Group id="sp_1_group" x="0" y="0" width="38" height="67" visible="false"> <e:Group id="sp_1_group" x="0" y="0" width="38" height="67" visible="false">
<e:Image y="0" anchorOffsetX="0" width="-78.58" horizontalCenter="0" source="ex_sp1_png"/> <e:Image y="0" anchorOffsetX="0" width="-78.58" horizontalCenter="0" source="ex_sp1_png"/>
<e:Label id="sp_1_label" text="0/0" y="48.8" size="18" horizontalCenter="0" textColor="0xffffff"/> <e:Label id="sp_1_label" text="0/0" y="48.8" size="18" horizontalCenter="0" textColor="0xffffff"/>
...@@ -48,4 +48,6 @@ ...@@ -48,4 +48,6 @@
<e:Label id="stock" text="剩余数量:0" y="555" textColor="0xB2ADA8" size="20" x="140" visible="false"/> <e:Label id="stock" text="剩余数量:0" y="555" textColor="0xB2ADA8" size="20" x="140" visible="false"/>
<e:Image id="titleImg" source="ex_titleImg_png" y="10" height="100" width="100" x="389"/> <e:Image id="titleImg" source="ex_titleImg_png" y="10" height="100" width="100" x="389"/>
<e:Image id="titleMask" source="ex_titleImg_png" y="10" horizontalCenter="64" width="100" height="100"/> <e:Image id="titleMask" source="ex_titleImg_png" y="10" horizontalCenter="64" width="100" height="100"/>
<e:Image source="ex_panda_png" left="0" bottom="0"/>
<e:Label id="newextxt" text="今天我需要「300」袋跟你换实物哦, 或者直接卖给我,每袋可以得「20」欢趣豆。 考虑看看呢?" x="184" y="141" textColor="0x333333" size="24" width="487" textAlign="left" lineSpacing="10"/>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -2,12 +2,12 @@ ...@@ -2,12 +2,12 @@
<e:Skin class="LoadingSceneSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:ns1="*"> <e:Skin class="LoadingSceneSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:ns1="*">
<w:Config id="16e64c53e86"/> <w:Config id="16e64c53e86"/>
<e:Group id="group" horizontalCenter="0" verticalCenter="0" left="0" right="0" bottom="0" top="0"> <e:Group id="group" horizontalCenter="0" verticalCenter="0" left="0" right="0" bottom="0" top="0">
<e:Image id="bg" source="index_bg_png" scaleX="1" scaleY="1" horizontalCenter="0" verticalCenter="0" locked="true"/> <e:Image id="bg" source="index_bg_png" scaleX="1" scaleY="1" horizontalCenter="0" verticalCenter="0"/>
<e:Group id="gameLayer" left="0" right="0" horizontalCenter="0" verticalCenter="0" height="1624"> <e:Group id="gameLayer" left="0" right="0" horizontalCenter="0" verticalCenter="0" height="1624">
</e:Group> </e:Group>
<e:Group id="houseBtn" width="252" height="372" x="0" anchorOffsetX="0" anchorOffsetY="0" verticalCenter="-383"> <e:Group id="houseBtn" width="212" height="300" x="0" anchorOffsetX="0" anchorOffsetY="0" verticalCenter="-330">
</e:Group> </e:Group>
<e:Group id="xiaoEGroup" x="30" anchorOffsetX="0" anchorOffsetY="0" verticalCenter="-148" visible="false"> <e:Group id="xiaoEGroup" x="220" anchorOffsetX="0" anchorOffsetY="0" verticalCenter="-140" visible="false">
<e:Image source="xiaoETip_bg_png" x="0" y="0"/> <e:Image source="xiaoETip_bg_png" x="0" y="0"/>
<e:Label text="哈喽小主人,你想了解哪些内容?" x="26" y="20" textColor="0x785332" size="24" bold="true"/> <e:Label text="哈喽小主人,你想了解哪些内容?" x="26" y="20" textColor="0x785332" size="24" bold="true"/>
<e:Scroller top="60" right="21" left="26" height="160"> <e:Scroller top="60" right="21" left="26" height="160">
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</e:Group> </e:Group>
</e:Scroller> </e:Scroller>
</e:Group> </e:Group>
<e:Group id="xiaoEAnswer" x="30" anchorOffsetX="0" anchorOffsetY="0" touchChildren="true" verticalCenter="-148" visible="false"> <e:Group id="xiaoEAnswer" x="220" anchorOffsetX="0" anchorOffsetY="0" touchChildren="true" verticalCenter="-140" visible="false">
<e:Image source="xiaoETip_bg_png" x="0" y="0"/> <e:Image source="xiaoETip_bg_png" x="0" y="0"/>
<e:Label id="answerTitle" text="哈喽小主人,你想了解哪些内容?" x="26" y="20" size="24" bold="true" textColor="0x785332"/> <e:Label id="answerTitle" text="哈喽小主人,你想了解哪些内容?" x="26" y="20" size="24" bold="true" textColor="0x785332"/>
<e:Scroller width="386" height="138" x="26" y="52"> <e:Scroller width="386" height="138" x="26" y="52">
...@@ -30,9 +30,12 @@ ...@@ -30,9 +30,12 @@
</e:Scroller> </e:Scroller>
<e:Label id="xiaoEIKnow" text="我知道了&gt;" x="315" y="200.04" size="22" bold="true" anchorOffsetX="0" anchorOffsetY="0" textColor="0x785332"/> <e:Label id="xiaoEIKnow" text="我知道了&gt;" x="315" y="200.04" size="22" bold="true" anchorOffsetX="0" anchorOffsetY="0" textColor="0x785332"/>
</e:Group> </e:Group>
<e:Image id="xiaoE" x="24" source="小E_png" verticalCenter="62.5"/> <e:Image id="xiaoE1" x="24" source="小E_png" verticalCenter="62.5" visible="false"/>
<e:Group id="xiaoETip" x="30" anchorOffsetX="0" anchorOffsetY="0" touchChildren="false" verticalCenter="-80" visible="false"> <e:Image id="hotballoon" source="hotballoon_png" x="334.12" y="103.03" locked="true"/>
<e:Group id="xiaoETip" x="180" anchorOffsetX="0" anchorOffsetY="0" touchChildren="false" y="540" visible="false">
<e:Image id="xiaoETipImg" x="0" y="0" scaleX="1" scaleY="1" source="xiaoETip_get_png"/> <e:Image id="xiaoETipImg" x="0" y="0" scaleX="1" scaleY="1" source="xiaoETip_get_png"/>
</e:Group> </e:Group>
<e:Group id="advertBtn" width="303.03" height="212.13" x="339.15" y="103.21" anchorOffsetX="0" anchorOffsetY="0"/>
<e:Group id="xiaoE" width="206.06" height="175.77" x="346.12" y="352.6" anchorOffsetX="0" anchorOffsetY="0"/>
</e:Group> </e:Group>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -2,28 +2,32 @@ ...@@ -2,28 +2,32 @@
<e:Skin class="LoadingSceneSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:ns1="*"> <e:Skin class="LoadingSceneSkin" width="750" height="1624" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:ns1="*">
<w:Config id="16e64c53e86"/> <w:Config id="16e64c53e86"/>
<e:Group id="uiLayer" left="0" right="0" horizontalCenter="0" touchChildren="true" touchEnabled="false" top="0" height="1624"> <e:Group id="uiLayer" left="0" right="0" horizontalCenter="0" touchChildren="true" touchEnabled="false" top="0" height="1624">
<e:Rect fillColor="0xd82020" width="750" height="1624" y="0" visible="false"/>
<e:Group id="propPanel" width="182" height="198" right="0" verticalCenter="452" touchChildren="true" touchEnabled="false"> <e:Group id="propPanel" width="182" height="198" right="0" verticalCenter="452" touchChildren="true" touchEnabled="false">
<e:Group id="speedGroup" y="0" width="171" height="62" right="0" visible="false"> <e:Group id="speedGroup" y="-80" width="171" height="62" right="0">
<e:Image source="加速卡_png" x="0" y="0" touchEnabled="false"/> <e:Image source="道具数量框_png" y="50" x="52"/>
<e:Label id="speedNum" text="× 0" size="28" scaleX="1" scaleY="1" right="0" anchorOffsetX="0" width="108" anchorOffsetY="0" height="50" verticalAlign="middle" verticalCenter="4" touchEnabled="false"/> <e:Image source="加速卡_png" x="66" y="-14" touchEnabled="false"/>
<e:Label id="speedNum" text="× 0" size="28" scaleX="1" scaleY="1" anchorOffsetX="0" width="95" anchorOffsetY="0" height="34" verticalAlign="middle" touchEnabled="false" textAlign="center" y="50" x="52"/>
</e:Group> </e:Group>
<e:Group id="foodGroup" y="71" width="170" height="63" touchEnabled="true" touchChildren="false" right="0" visible="false"> <e:Group id="foodGroup" y="25" width="170" height="63" touchEnabled="true" touchChildren="false" x="11">
<e:Image source="饲料_png" x="0" y="0"/> <e:Image source="道具数量框_png" x="52" y="50"/>
<e:Label id="foodNum" text="× 0" size="28" scaleX="1" scaleY="1" right="0" anchorOffsetX="0" width="108" anchorOffsetY="0" height="50" verticalAlign="middle" verticalCenter="3"/> <e:Image x="66" y="-14" source="饲料_满_png"/>
<e:Label id="foodNum" text="× 0" size="28" scaleX="1" scaleY="1" anchorOffsetX="0" width="95" anchorOffsetY="0" height="34" verticalAlign="middle" x="52" y="50" textAlign="center"/>
</e:Group> </e:Group>
<e:Group id="waterGroup" y="144" touchEnabled="true" touchChildren="false" right="0" visible="false"> <e:Group id="waterGroup" y="130" touchEnabled="true" touchChildren="false" x="11">
<e:Image source="浇水_png" x="0" y="0"/> <e:Image source="道具数量框_png" x="52" y="50"/>
<e:Label id="waterNum" text="× 0" size="28" scaleX="1" scaleY="1" anchorOffsetX="0" right="0" width="108" anchorOffsetY="0" height="50" verticalAlign="middle" verticalCenter="0"/> <e:Image x="66" y="-14" source="水_空_png"/>
<e:Label id="waterNum" text="× 0" size="28" scaleX="1" scaleY="1" anchorOffsetX="0" width="95" anchorOffsetY="0" height="34" verticalAlign="middle" x="52" y="50" textAlign="center"/>
</e:Group> </e:Group>
</e:Group> </e:Group>
<e:Group id="avatarPanel" x="26" width="278" height="81" anchorOffsetX="0" y="253"> <e:Group id="avatarPanel" x="26" width="278" height="81" anchorOffsetX="0" y="253">
<e:Image source="头像面板_png" x="0" y="0"/> <e:Image source="头像面板_png" x="0" y="0"/>
<e:Image id="avatarImg" source="默认头像_png" x="10" y="10" width="62" height="62"/> <e:Image id="avatarImg" source="默认头像_png" x="8" y="10" width="62" height="62"/>
<e:Image id="avatarMask" source="默认头像_png" x="10" y="10" width="62" height="62"/> <e:Image id="avatarMask" source="默认头像_png" x="8" y="10" width="62" height="62"/>
<e:Label id="userName" text="欢趣使者" x="79.5" y="18.16" size="20" textColor="0x8f6846"/> <e:Label id="userName" text="欢趣使者" x="79.5" y="18.16" size="20" textColor="0xffffff"/>
<e:Label id="userGold" text="欢趣豆:0" x="79.5" y="46.83" size="20" textColor="0x8f6846" anchorOffsetX="0" width="174" textAlign="left" wordWrap="false"/> <e:Label id="userGold" text="欢趣豆:0" x="79.5" y="46.83" size="20" anchorOffsetX="0" width="174" textAlign="left" wordWrap="false" textColor="0xffffff"/>
<e:Image id="medal" source="勋章_png" x="44" y="49" visible="false"/> <e:Image id="medal" source="勋章_png" x="44" y="49" visible="false"/>
<e:Group id="tipGroup" x="229" y="-50" scaleX="1" scaleY="1" anchorOffsetX="0" width="461" height="36"> <e:Group id="tipGroup" x="5" y="-50" scaleX="1" scaleY="1" anchorOffsetX="0" width="461" height="36">
<e:Image source="广播__m_png" verticalCenter="0" horizontalCenter="0"/> <e:Image source="广播__m_png" verticalCenter="0" horizontalCenter="0"/>
<e:Group id="tipLabelGroup" x="44" width="417" height="36" verticalCenter="0"> <e:Group id="tipLabelGroup" x="44" width="417" height="36" verticalCenter="0">
<e:Label id="tipLabel1" text="兑换商品每日最终成交数量会随市场价格进行上下波动,每日兑换所需数量请以系统实际展示为准。" x="418" size="20" width="900" textAlign="center" y="2.5" verticalAlign="middle" height="36" wordWrap="false"/> <e:Label id="tipLabel1" text="兑换商品每日最终成交数量会随市场价格进行上下波动,每日兑换所需数量请以系统实际展示为准。" x="418" size="20" width="900" textAlign="center" y="2.5" verticalAlign="middle" height="36" wordWrap="false"/>
...@@ -56,7 +60,7 @@ ...@@ -56,7 +60,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="ruleBtn" label="" anchorOffsetX="37" anchorOffsetY="42" horizontalCenter="301" top="260"> <e:Button id="ruleBtn" label="" anchorOffsetX="37" anchorOffsetY="42" horizontalCenter="301" top="280">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" scaleX.down="0.9" scaleY.down="0.9" source="ui_规则_png" source.down="ui_规则_png" source.disabled="ui_规则_png"/> <e:Image width="100%" height="100%" scaleX.down="0.9" scaleY.down="0.9" source="ui_规则_png" source.down="ui_规则_png" source.disabled="ui_规则_png"/>
...@@ -64,7 +68,7 @@ ...@@ -64,7 +68,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="exchangeBtn" label="" anchorOffsetX="37" anchorOffsetY="42" horizontalCenter="301" top="363"> <e:Button id="exchangeBtn" label="" anchorOffsetX="37" anchorOffsetY="42" horizontalCenter="301" top="408">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" scaleX.down="0.9" scaleY.down="0.9" source="ui_兑换_png" source.down="ui_兑换_png" source.disabled="ui_兑换_png"/> <e:Image width="100%" height="100%" scaleX.down="0.9" scaleY.down="0.9" source="ui_兑换_png" source.down="ui_兑换_png" source.disabled="ui_兑换_png"/>
...@@ -72,7 +76,7 @@ ...@@ -72,7 +76,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="gameGroupBtn" label="" anchorOffsetY="42" anchorOffsetX="37" horizontalCenter="301" top="472"> <e:Button id="gameGroupBtn" label="" anchorOffsetY="42" anchorOffsetX="37" horizontalCenter="301" top="536">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" scaleX.down="0.9" scaleY.down="0.9" source="ui_农耕舍_png" source.down="ui_农耕舍_png" source.disabled="ui_农耕舍_png"/> <e:Image width="100%" height="100%" scaleX.down="0.9" scaleY.down="0.9" source="ui_农耕舍_png" source.down="ui_农耕舍_png" source.disabled="ui_农耕舍_png"/>
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="Land" width="339" height="165" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:ns1="*"> <e:Skin class="Land" width="339" height="165" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing" xmlns:ns1="*">
<e:Image id="land" source="plant_land_none_png" touchEnabled="true" y="0" x="0"/> <e:Image id="land" source="plant_land_none_png" touchEnabled="true" horizontalCenter="0" verticalCenter="0"/>
<e:Image id="fence" source="篱笆_png" width="362" touchEnabled="false" y="-70" x="-15"/> <e:Image id="fence" source="篱笆_png" width="362" touchEnabled="false" y="-70" x="-15"/>
<e:Image id="trough" source="食槽_png" touchEnabled="false" y="70" x="-15"/> <e:Image id="trough" source="食槽_png" touchEnabled="false" y="70" x="-15"/>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -187,7 +187,7 @@ export default class MainUI extends ComponentBase { ...@@ -187,7 +187,7 @@ export default class MainUI extends ComponentBase {
this.tipGroup.scaleX = 1.2; this.tipGroup.scaleX = 1.2;
this.tipGroup.scaleY = 1.2; this.tipGroup.scaleY = 1.2;
this.tipGroup.x -= 80; // this.tipGroup.x -= 80;
this.addEventListener(Event.ENTER_FRAME, this.onUpdate, this); this.addEventListener(Event.ENTER_FRAME, this.onUpdate, this);
} }
......
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