Commit e01b96f5 authored by 邱旭's avatar 邱旭

1

parent 52b616e4
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
// localStorage.clear(); // localStorage.clear();
window['testUrl'] = 'http://cuxiaoprexg.m.cnsuning.com/scms/cx521.html?activityId=SL446689024459878400&subactivityId=SUB446689681678090240&businessid=cx521'; window['testUrl'] = 'http://cuxiaoprexg.m.cnsuning.com/scms/cx521.html?activityId=SL446689024459878400&subactivityId=SUB446689681678090240&businessid=cx521';
window['hbRainTime'] = 30; // 红包雨倒计时 window['hbRainTime'] = 30; // 红包雨倒计时
window['plugs'] = [1, 2, 3] window['plugs'] = [1, 2, 3];
// localStorage.clear(); // localStorage.clear();
window['isInvitePage'] = 0; window['isInvitePage'] = 0;
var targetUrl = 'https://gameact.suning.com/sngame-web/api/duiba/private/v1/getLoginUrl.do?appCode=duiba&activityCode=3651404'; var targetUrl = 'https://gameact.suning.com/sngame-web/api/duiba/private/v1/getLoginUrl.do?appCode=duiba&activityCode=3651404';
...@@ -137,9 +137,9 @@ ...@@ -137,9 +137,9 @@
]; ];
// localStorage.clear(); // localStorage.clear();
window['imgver'] = '11112'; window['imgver'] = '11112';
//top 7 ,repeat 13 , bottom 12 //top 8 ,repeat 22 , bottom 3
window['total_level'] = 19 + 13 * 32; window['total_level'] = 8 + 3 + 22 * 20;
window['last_level'] = 425; window['last_level'] = 451;
var sharePic = document.getElementById('pic'); var sharePic = document.getElementById('pic');
......
{"file":"nums.png","frames":{ {"file":"nums.png","frames":{
"9":{"x":74,"y":27,"w":22,"h":25,"offX":0,"offY":0,"sourceW":22,"sourceH":25}, "1":{"x":90,"y":0,"w":13,"h":28,"offX":0,"offY":0,"sourceW":13,"sourceH":28},
"8":{"x":76,"y":0,"w":23,"h":25,"offX":0,"offY":0,"sourceW":23,"sourceH":25}, "9":{"x":46,"y":0,"w":20,"h":28,"offX":0,"offY":0,"sourceW":20,"sourceH":28},
"7":{"x":0,"y":27,"w":23,"h":24,"offX":0,"offY":0,"sourceW":23,"sourceH":24}, "8":{"x":68,"y":0,"w":20,"h":28,"offX":0,"offY":0,"sourceW":20,"sourceH":28},
"6":{"x":26,"y":0,"w":23,"h":25,"offX":0,"offY":0,"sourceW":23,"sourceH":25}, "7":{"x":23,"y":0,"w":21,"h":28,"offX":0,"offY":0,"sourceW":21,"sourceH":28},
"5":{"x":25,"y":27,"w":23,"h":24,"offX":0,"offY":0,"sourceW":23,"sourceH":24}, "6":{"x":45,"y":30,"w":20,"h":28,"offX":0,"offY":0,"sourceW":20,"sourceH":28},
"4":{"x":0,"y":0,"w":24,"h":25,"offX":0,"offY":0,"sourceW":24,"sourceH":25}, "5":{"x":23,"y":30,"w":20,"h":28,"offX":0,"offY":0,"sourceW":20,"sourceH":28},
"3":{"x":101,"y":0,"w":23,"h":25,"offX":0,"offY":0,"sourceW":23,"sourceH":25}, "3":{"x":67,"y":30,"w":20,"h":28,"offX":0,"offY":0,"sourceW":20,"sourceH":28},
"2":{"x":51,"y":0,"w":23,"h":25,"offX":0,"offY":0,"sourceW":23,"sourceH":25}, "0":{"x":0,"y":0,"w":21,"h":28,"offX":0,"offY":0,"sourceW":21,"sourceH":28},
"1":{"x":98,"y":27,"w":16,"h":25,"offX":0,"offY":0,"sourceW":16,"sourceH":25}, "4":{"x":0,"y":30,"w":21,"h":28,"offX":0,"offY":0,"sourceW":21,"sourceH":28},
"0":{"x":50,"y":27,"w":22,"h":25,"offX":0,"offY":0,"sourceW":22,"sourceH":25}}} "2":{"x":89,"y":30,"w":19,"h":28,"offX":0,"offY":0,"sourceW":19,"sourceH":28}}}
\ No newline at end of file \ No newline at end of file
egret/resource/assets/common/nums.png

2.98 KB | W: | H:

egret/resource/assets/common/nums.png

5.12 KB | W: | H:

egret/resource/assets/common/nums.png
egret/resource/assets/common/nums.png
egret/resource/assets/common/nums.png
egret/resource/assets/common/nums.png
  • 2-up
  • Swipe
  • Onion skin
{"file":"nums3.png","frames":{ {"file":"nums3.png","frames":{
"9":{"x":74,"y":27,"w":22,"h":25,"offX":0,"offY":0,"sourceW":22,"sourceH":25}, "7":{"x":23,"y":0,"w":19,"h":26,"offX":0,"offY":1,"sourceW":19,"sourceH":28},
"8":{"x":76,"y":0,"w":23,"h":25,"offX":0,"offY":0,"sourceW":23,"sourceH":25}, "9":{"x":0,"y":56,"w":19,"h":26,"offX":0,"offY":1,"sourceW":19,"sourceH":28},
"7":{"x":0,"y":27,"w":23,"h":24,"offX":0,"offY":0,"sourceW":23,"sourceH":24}, "8":{"x":0,"y":84,"w":19,"h":26,"offX":0,"offY":1,"sourceW":19,"sourceH":28},
"6":{"x":26,"y":0,"w":23,"h":25,"offX":0,"offY":0,"sourceW":23,"sourceH":25}, "6":{"x":21,"y":28,"w":19,"h":26,"offX":0,"offY":1,"sourceW":19,"sourceH":28},
"5":{"x":25,"y":27,"w":23,"h":24,"offX":0,"offY":0,"sourceW":23,"sourceH":24}, "4":{"x":0,"y":0,"w":21,"h":26,"offX":0,"offY":1,"sourceW":21,"sourceH":28},
"4":{"x":0,"y":0,"w":24,"h":25,"offX":0,"offY":0,"sourceW":24,"sourceH":25}, "5":{"x":44,"y":0,"w":18,"h":26,"offX":0,"offY":1,"sourceW":18,"sourceH":28},
"3":{"x":101,"y":0,"w":23,"h":25,"offX":0,"offY":0,"sourceW":23,"sourceH":25}, "3":{"x":21,"y":56,"w":19,"h":26,"offX":0,"offY":1,"sourceW":19,"sourceH":28},
"2":{"x":51,"y":0,"w":23,"h":25,"offX":0,"offY":0,"sourceW":23,"sourceH":25}, "1":{"x":42,"y":56,"w":12,"h":26,"offX":0,"offY":1,"sourceW":12,"sourceH":28},
"1":{"x":98,"y":27,"w":16,"h":25,"offX":0,"offY":0,"sourceW":16,"sourceH":25}, "2":{"x":42,"y":28,"w":19,"h":26,"offX":0,"offY":1,"sourceW":19,"sourceH":28},
"0":{"x":50,"y":27,"w":22,"h":25,"offX":0,"offY":0,"sourceW":22,"sourceH":25}}} "0":{"x":0,"y":28,"w":19,"h":26,"offX":0,"offY":1,"sourceW":19,"sourceH":28}}}
\ No newline at end of file \ No newline at end of file
egret/resource/assets/common/nums3.png

4.93 KB | W: | H:

egret/resource/assets/common/nums3.png

4.82 KB | W: | H:

egret/resource/assets/common/nums3.png
egret/resource/assets/common/nums3.png
egret/resource/assets/common/nums3.png
egret/resource/assets/common/nums3.png
  • 2-up
  • Swipe
  • Onion skin
egret/resource/assets/map/icon.png

9.52 KB | W: | H:

egret/resource/assets/map/icon.png

10 KB | W: | H:

egret/resource/assets/map/icon.png
egret/resource/assets/map/icon.png
egret/resource/assets/map/icon.png
egret/resource/assets/map/icon.png
  • 2-up
  • Swipe
  • Onion skin
egret/resource/assets/map/map1.jpg

173 KB | W: | H:

egret/resource/assets/map/map1.jpg

484 KB | W: | H:

egret/resource/assets/map/map1.jpg
egret/resource/assets/map/map1.jpg
egret/resource/assets/map/map1.jpg
egret/resource/assets/map/map1.jpg
  • 2-up
  • Swipe
  • Onion skin
egret/resource/assets/map/map3.jpg

186 KB | W: | H:

egret/resource/assets/map/map3.jpg

249 KB | W: | H:

egret/resource/assets/map/map3.jpg
egret/resource/assets/map/map3.jpg
egret/resource/assets/map/map3.jpg
egret/resource/assets/map/map3.jpg
  • 2-up
  • Swipe
  • Onion skin
egret/resource/assets/map/无星星.png

2.47 KB | W: | H:

egret/resource/assets/map/无星星.png

3.18 KB | W: | H:

egret/resource/assets/map/无星星.png
egret/resource/assets/map/无星星.png
egret/resource/assets/map/无星星.png
egret/resource/assets/map/无星星.png
  • 2-up
  • Swipe
  • Onion skin
egret/resource/assets/map/有星星.png

2.15 KB | W: | H:

egret/resource/assets/map/有星星.png

3.98 KB | W: | H:

egret/resource/assets/map/有星星.png
egret/resource/assets/map/有星星.png
egret/resource/assets/map/有星星.png
egret/resource/assets/map/有星星.png
  • 2-up
  • Swipe
  • Onion skin
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"name": "buy3" "name": "buy3"
}, },
{ {
"keys": "宝箱_png,宝箱1_png,宝箱2_png,宝箱3_png,宝箱bg_png,宝箱btn_png,道具_png,关闭 拷贝_png,光 副本 4_png,设置_png,设置bg_png,声音_png,声音关闭_png,狮子_png,退出_png,问题_png,无星星_png,星星_png,星星bg_png,音乐_png,音乐关闭_png,有星星_png,有星星2_png,有星星3_png,元宝bg_png,ad_icon_png,animal1_png,avatar_png,friend_avatar_png,guideBox_png,guideLevel_png,guideLove_png,guideMoney_png,guideOver_png,icon_png,iconbg_png,icongray_png,invite_icon_png,invite_txtbg_png,lionMsgBg_png,map_signicon_png,map1_jpg,map2_jpg,map2+_png,map2+bg_png,map2红包大作战_png,map2热门引导_png,map2周一红包雨_png,map3_jpg,map大转盘_png,map刮现金红包_png,map今日可领_png,map明日可领_png,maphot_png,msgTri_png,namebg_png,progress1_png,progress2_png,recordbtn_png,taskicon_png,map2+bg2_png,mapredbagicom_png,maplight2_png,taskBtn_png,txtbg_blue_png,txtbg_orange_png,txtbg_purple_png,mapredbagicom2_png", "keys": "宝箱_png,宝箱1_png,宝箱2_png,宝箱3_png,宝箱bg_png,宝箱btn_png,道具_png,关闭 拷贝_png,光 副本 4_png,设置_png,设置bg_png,声音_png,声音关闭_png,狮子_png,退出_png,问题_png,无星星_png,星星_png,星星bg_png,音乐_png,音乐关闭_png,有星星_png,有星星2_png,有星星3_png,元宝bg_png,ad_icon_png,animal1_png,avatar_png,friend_avatar_png,guideBox_png,guideLevel_png,guideLove_png,guideMoney_png,guideOver_png,icon_png,iconbg_png,icongray_png,invite_icon_png,invite_txtbg_png,lionMsgBg_png,map_signicon_png,map1_jpg,map2_jpg,map2+_png,map2+bg_png,map2红包大作战_png,map2热门引导_png,map2周一红包雨_png,map3_jpg,map大转盘_png,map刮现金红包_png,map今日可领_png,map明日可领_png,maphot_png,msgTri_png,namebg_png,progress1_png,progress2_png,recordbtn_png,taskicon_png,map2+bg2_png,mapredbagicom_png,maplight2_png,taskBtn_png,txtbg_blue_png,txtbg_orange_png,txtbg_purple_png,mapredbagicom2_png,iconnow_png",
"name": "map" "name": "map"
}, },
{ {
...@@ -4483,6 +4483,11 @@ ...@@ -4483,6 +4483,11 @@
"url": "assets/mainScene/ele33_1.png", "url": "assets/mainScene/ele33_1.png",
"type": "image", "type": "image",
"name": "ele33_1_png" "name": "ele33_1_png"
},
{
"url": "assets/map/iconnow.png",
"type": "image",
"name": "iconnow_png"
} }
] ]
} }
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="AvatarSkin" width="79" height="85" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="AvatarSkin" width="95" height="104" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image source="friend_avatar_png"/> <e:Image source="friend_avatar_png" anchorOffsetX="0" anchorOffsetY="0"/>
<e:Group x="8.5" y="8.8"> <e:Group x="8.5" y="8.8" width="77" height="77">
<e:Image id="avatar" y="0" source="" width="64" height="64" x="0"/> <e:Image id="avatar" y="0" source="" width="77" height="77" x="0" anchorOffsetX="0" anchorOffsetY="0"/>
<e:Rect id="avatarMask" width="64" height="64" y="0" ellipseWidth="64" ellipseHeight="64"/> <e:Rect id="avatarMask" width="77" height="77" y="0" ellipseWidth="999" ellipseHeight="999" anchorOffsetY="0" x="1"/>
</e:Group> </e:Group>
</e:Skin> </e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="MapBottomSkin" width="750" height="1530" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="MapBottomSkin" width="750" height="528" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image source="map3_jpg" x="0" y="0"/> <e:Image source="map3_jpg" x="0" y="0"/>
<e:Group x="389" y="44" id="icon0"> <e:Group x="505.97" y="62" id="icon0">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt0" width="76" x="12" y="18.69" text="60" font="nums_fnt" textAlign="center"/> <e:BitmapLabel id="txt0" width="76" x="12" y="18.69" text="60" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group id="icon1" x="541.97" y="148.44"> <e:Group id="icon1" x="553.97" y="176">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt1" width="76" x="12" y="18.69" text="61" font="nums_fnt" textAlign="center"/> <e:BitmapLabel id="txt1" width="76" x="12" y="18.69" text="61" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="524" y="331" id="icon2"> <e:Group x="556" y="314" id="icon2">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt2" width="76" x="12" y="18.69" text="62" font="nums_fnt" textAlign="center"/> <e:BitmapLabel id="txt2" width="76" x="12" y="18.69" text="62" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="329.94" y="403" id="icon3">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt3" width="76" x="12" y="18.69" text="63" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="83" y="513" id="icon4">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt4" width="76" x="12" y="18.69" text="64" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="304" y="660" id="icon5">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt5" width="76" x="12" y="18.69" text="65" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="297.01" y="829.69" id="icon6">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt6" width="76" x="12" y="18.69" text="66" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="149.01" y="949.69" id="icon7">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt7" width="76" x="12" y="18.69" text="67" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="317.01" y="1052.69" id="icon8">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt8" width="76" x="12" y="18.69" text="68" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="507.01" y="1148.69" id="icon9">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt9" width="76" x="12" y="18.69" text="69" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="377.01" y="1209.69" id="icon10">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt10" width="76" x="12" y="18.69" text="70" font="nums_fnt" textAlign="center"/>
</e:Group>
<e:Group x="252.01" y="1282.69" id="icon11">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt11" width="76" x="12" y="18.69" text="71" font="nums_fnt" textAlign="center"/>
</e:Group>
</e:Skin> </e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="MapRepeatPartSkin" width="750" height="1477" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="MapRepeatPartSkin" width="750" height="2297" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image source="map2_jpg"/> <e:Image source="map2_jpg"/>
<e:Group x="351" y="26" id="icon0"> <e:Group x="249" y="4" id="icon0">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt0" width="76" x="12" y="18.69" text="1" font="nums_fnt" textAlign="center"/> <e:BitmapLabel id="txt0" width="76" x="12" y="18.69" text="1" textAlign="center" font="nums_fnt"/>
</e:Group> </e:Group>
<e:Group x="196" y="158" id="icon1"> <e:Group x="405" y="55" id="icon1">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt1" width="76" x="12" y="18.69" text="2" font="nums_fnt" textAlign="center"/> <e:BitmapLabel id="txt1" width="76" x="12" y="18.69" text="2" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="143" y="302" id="icon2"> <e:Group x="520" y="160" id="icon2">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt2" width="76" x="12" y="18.69" text="3" font="nums_fnt" textAlign="center"/> <e:BitmapLabel id="txt2" width="76" x="12" y="18.69" text="3" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="235" y="435" id="icon3"> <e:Group x="532" y="315" id="icon3">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt3" width="76" x="12" y="18.69" text="4" font="nums_fnt" textAlign="center"/> <e:BitmapLabel id="txt3" width="76" x="12" y="18.69" text="4" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="348" y="547" id="icon4"> <e:Group x="444" y="431" id="icon4">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt4" width="76" x="12" y="18.69" text="5" font="nums_fnt" textAlign="center"/> <e:BitmapLabel id="txt4" width="76" x="12" y="18.69" text="5" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="499" y="674" id="icon5"> <e:Group x="294" y="529" id="icon5">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt5" width="76" x="12" y="18.69" text="6" font="nums_fnt" textAlign="center"/> <e:BitmapLabel id="txt5" width="76" x="12" y="18.69" text="6" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="390" y="821" id="icon6"> <e:Group x="136" y="594" id="icon6">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt6" width="76" x="12" y="18.69" text="7" font="nums_fnt" textAlign="center"/> <e:BitmapLabel id="txt6" width="76" x="12" y="18.69" text="7" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="218" y="897" id="icon7"> <e:Group x="93" y="714" id="icon7">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt7" width="76" x="12" y="18.69" text="8" font="nums_fnt" textAlign="center"/> <e:BitmapLabel id="txt7" width="76" x="12" y="18.69" text="8" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="28" y="969" id="icon8"> <e:Group x="189" y="820" id="icon8">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt8" width="76" x="12" y="18.69" text="9" font="nums_fnt" textAlign="center"/> <e:BitmapLabel id="txt8" width="76" x="12" y="18.69" text="9" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="237" y="1072" id="icon9"> <e:Group x="319" y="900" id="icon9">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel id="txt9" width="76" x="12" y="18.69" text="10" font="nums_fnt" textAlign="center"/> <e:BitmapLabel id="txt9" width="76" x="12" y="18.69" text="10" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="377" y="1137" id="icon10"> <e:Group x="455" y="970" id="icon10">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="11" font="nums_fnt" textAlign="center" id="txt10"/> <e:BitmapLabel width="76" x="12" y="18.69" text="11" font="nums_fnt" textAlign="center" id="txt10"/>
</e:Group> </e:Group>
<e:Group x="508" y="1254" id="icon11"> <e:Group x="433" y="1098" id="icon11">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="12" font="nums_fnt" textAlign="center" id="txt11"/> <e:BitmapLabel width="76" x="12" y="18.69" text="12" font="nums_fnt" textAlign="center" id="txt11"/>
</e:Group> </e:Group>
<e:Group x="359" y="1367" id="icon12"> <e:Group x="299" y="1164" id="icon12">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="13" font="nums_fnt" textAlign="center" id="txt12"/> <e:BitmapLabel width="76" x="12" y="18.69" text="13" font="nums_fnt" textAlign="center" id="txt12"/>
</e:Group> </e:Group>
<e:Group x="175" y="1245" id="icon13">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="14" font="nums_fnt" textAlign="center" id="txt13"/>
</e:Group>
<e:Group x="95" y="1380" id="icon14">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="15" font="nums_fnt" textAlign="center" id="txt14"/>
</e:Group>
<e:Group x="171" y="1493" id="icon15">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="16" font="nums_fnt" textAlign="center" id="txt15"/>
</e:Group>
<e:Group x="337" y="1548" id="icon16">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="17" font="nums_fnt" textAlign="center" id="txt16"/>
</e:Group>
<e:Group x="495" y="1611" id="icon17">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="18" font="nums_fnt" textAlign="center" id="txt17"/>
</e:Group>
<e:Group x="546" y="1734" id="icon18">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="19" font="nums_fnt" textAlign="center" id="txt18"/>
</e:Group>
<e:Group x="558" y="1882" id="icon19">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="20" font="nums_fnt" textAlign="center" id="txt19"/>
</e:Group>
<e:Group x="491" y="2023" id="icon20">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="21" font="nums_fnt" textAlign="center" id="txt20"/>
</e:Group>
<e:Group x="392" y="2180" id="icon21">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="22" font="nums_fnt" textAlign="center" id="txt21"/>
</e:Group>
<e:Image id="animal1" source="狮子_png" x="188" y="607" visible="false"/> <e:Image id="animal1" source="狮子_png" x="188" y="607" visible="false"/>
<e:Image id="animal2" source="animal1_png" x="232" y="567.5" visible="false"/> <e:Image id="animal2" source="animal1_png" x="232" y="567.5" visible="false"/>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="recordBtn" label="" x="606.14" y="175" locked="true"> <e:Button id="recordBtn" label="" x="597" y="174.57" locked="true">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="recordbtn_png" source.down="recordbtn_png" source.disabled="recordbtn_png"/> <e:Image width="100%" height="100%" source="recordbtn_png" source.down="recordbtn_png" source.disabled="recordbtn_png"/>
...@@ -79,7 +79,7 @@ ...@@ -79,7 +79,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Group id="signGroup" x="26.69" y="172.57"> <e:Group id="signGroup" x="26.69" y="172.57" locked="true">
<e:Button id="signBtn" label="" y="0" horizontalCenter="0"> <e:Button id="signBtn" label="" y="0" horizontalCenter="0">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
...@@ -93,7 +93,7 @@ ...@@ -93,7 +93,7 @@
<e:Image id="sign_s2" source="map明日可领_png" x="1.33" y="0" visible="false"/> <e:Image id="sign_s2" source="map明日可领_png" x="1.33" y="0" visible="false"/>
</e:Group> </e:Group>
</e:Group> </e:Group>
<e:Group id="inviteGroup" x="16.69" y="323.76"> <e:Group id="inviteGroup" x="16.69" y="323.76" locked="true">
<e:Button id="inviteBtn" label="" x="10" y="1.54"> <e:Button id="inviteBtn" label="" x="10" y="1.54">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
...@@ -107,7 +107,7 @@ ...@@ -107,7 +107,7 @@
<e:Label id="inviteTips" text="立即到账" horizontalCenter="0" verticalCenter="0" verticalAlign="middle" textAlign="center" textColor="0xffffff" size="18" fontFamily="FZY3JW"/> <e:Label id="inviteTips" text="立即到账" horizontalCenter="0" verticalCenter="0" verticalAlign="middle" textAlign="center" textColor="0xffffff" size="18" fontFamily="FZY3JW"/>
</e:Group> </e:Group>
</e:Group> </e:Group>
<e:Group id="turnTableGroup" x="564.5" y="475" anchorOffsetX="0" width="159"> <e:Group id="turnTableGroup" x="564.5" y="475" anchorOffsetX="0" width="159" locked="true">
<e:Button id="turnTableBtn" label="" x="33.36" y="0"> <e:Button id="turnTableBtn" label="" x="33.36" y="0">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
...@@ -121,7 +121,7 @@ ...@@ -121,7 +121,7 @@
<e:Label id="turnTableTips" text="立即到" horizontalCenter="0" verticalCenter="0" verticalAlign="middle" textAlign="center" textColor="0xFFFFFF" size="18" fontFamily="FZY3JW"/> <e:Label id="turnTableTips" text="立即到" horizontalCenter="0" verticalCenter="0" verticalAlign="middle" textAlign="center" textColor="0xFFFFFF" size="18" fontFamily="FZY3JW"/>
</e:Group> </e:Group>
</e:Group> </e:Group>
<e:Group id="scratchGroup" y="631" right="27"> <e:Group id="scratchGroup" y="631" right="25" locked="true">
<e:Button id="scratchBtn" label="" y="0" x="-5.32"> <e:Button id="scratchBtn" label="" y="0" x="-5.32">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
...@@ -135,7 +135,7 @@ ...@@ -135,7 +135,7 @@
<e:Label id="scratchTips" text="立即到" horizontalCenter="0" verticalCenter="0" verticalAlign="middle" textAlign="center" textColor="0xFFFFFF" size="18" fontFamily="FZY3JW"/> <e:Label id="scratchTips" text="立即到" horizontalCenter="0" verticalCenter="0" verticalAlign="middle" textAlign="center" textColor="0xFFFFFF" size="18" fontFamily="FZY3JW"/>
</e:Group> </e:Group>
</e:Group> </e:Group>
<e:Group id="taskGroup" y="325" right="30"> <e:Group id="taskGroup" y="325" right="30" locked="true">
<e:Button id="taskBtn" label="" y="0"> <e:Button id="taskBtn" label="" y="0">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
...@@ -150,7 +150,7 @@ ...@@ -150,7 +150,7 @@
</e:Group> </e:Group>
</e:Group> </e:Group>
<e:Group id="activitys" x="13.4" y="620.55" touchEnabled="false"> <e:Group id="activitys" x="13.4" y="620.55" touchEnabled="false">
<e:Group id="actIconsGroup" x="12.12" y="0"> <e:Group id="actIconsGroup" x="-8.88" y="-4">
<e:Image id="actIconsBg2" source="map2+bg_png" x="-27.15" y="0" visible="false"/> <e:Image id="actIconsBg2" source="map2+bg_png" x="-27.15" y="0" visible="false"/>
<e:Image id="actIconsBg1" x="-29.27" y="10" source="map2+bg2_png" visible="false"/> <e:Image id="actIconsBg1" x="-29.27" y="10" source="map2+bg2_png" visible="false"/>
<e:Group id="hbRainGroup" x="5" y="158" width="120" height="120"> <e:Group id="hbRainGroup" x="5" y="158" width="120" height="120">
...@@ -167,10 +167,10 @@ ...@@ -167,10 +167,10 @@
<e:Image id="act2Btn" source="map2红包大作战_png" x="0" y="0"/> <e:Image id="act2Btn" source="map2红包大作战_png" x="0" y="0"/>
</e:Group> </e:Group>
</e:Group> </e:Group>
<e:Image id="actsShowBtn" source="map2+_png" x="4.98" y="1"/> <e:Image id="actsShowBtn" source="map2+_png" x="9.29" y="17.45"/>
<e:Image id="actTips" source="maphot_png" x="94.82" y="-4.56"/> <e:Image id="actTips" source="maphot_png" x="96.82" y="3.44"/>
</e:Group> </e:Group>
<e:Group id="settingsx" scaleX="1" scaleY="1" touchEnabled="false" bottom="23" left="30"> <e:Group id="settingsx" scaleX="1" scaleY="1" touchEnabled="false" bottom="23" left="30" locked="true">
<e:Group id="settingGroup" verticalCenter="0" horizontalCenter="0" visible="false"> <e:Group id="settingGroup" verticalCenter="0" horizontalCenter="0" visible="false">
<e:Image id="settingbg" source="设置bg_png" verticalCenter="0" horizontalCenter="0" scale9Grid="44,0,250,89"/> <e:Image id="settingbg" source="设置bg_png" verticalCenter="0" horizontalCenter="0" scale9Grid="44,0,250,89"/>
<e:Button id="musicBtn" label="" horizontalCenter="-39" verticalCenter="0"> <e:Button id="musicBtn" label="" horizontalCenter="-39" verticalCenter="0">
......
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="MapTop" width="750" height="1240" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="MapTop" width="750" height="1275" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image source="map1_jpg" x="0" y="0"/> <e:Image source="map1_jpg" x="0" y="0"/>
<e:Group x="315" y="492" id="icon0"> <e:Group x="417" y="587" id="icon0">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="1" font="nums_fnt" textAlign="center"/> <e:BitmapLabel width="76" x="12" y="18.69" text="1" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group id="icon1" x="196" y="550.35"> <e:Group id="icon1" x="455" y="691">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="2.66" y="2.66"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="2" font="nums_fnt" textAlign="center"/> <e:BitmapLabel width="76" x="12" y="18.69" text="2" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="142" y="744" id="icon2"> <e:Group x="321.67" y="751.66" id="icon2">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="3" font="nums_fnt" textAlign="center"/> <e:BitmapLabel width="76" x="12" y="18.69" text="3" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="360" y="803" id="icon3"> <e:Group x="271.99" y="852.99" id="icon3">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="4" font="nums_fnt" textAlign="center"/> <e:BitmapLabel width="76" x="12" y="18.69" text="4" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="551" y="810" id="icon4"> <e:Group x="376.99" y="939.98" id="icon4">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="5" font="nums_fnt" textAlign="center"/> <e:BitmapLabel width="76" x="12" y="18.69" text="5" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="440" y="975" id="icon5"> <e:Group x="447.33" y="1028.99" id="icon5">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="6" font="nums_fnt" textAlign="center"/> <e:BitmapLabel width="76" x="12" y="18.69" text="6" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="297.01" y="1089.69" id="icon6"> <e:Group x="324.67" y="1088.99" id="icon6">
<e:Image source="icon_png" x="0" y="0"/> <e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="7" font="nums_fnt" textAlign="center"/> <e:BitmapLabel width="76" x="12" y="18.69" text="7" font="nums_fnt" textAlign="center"/>
</e:Group> </e:Group>
<e:Group x="180.01" y="1170.31" id="icon7">
<e:Image source="icon_png" x="0" y="0"/>
<e:BitmapLabel width="76" x="12" y="18.69" text="8" font="nums_fnt" textAlign="center"/>
</e:Group>
</e:Skin> </e:Skin>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<e:Skin class="StarSkin" width="67" height="25" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing"> <e:Skin class="StarSkin" width="76" height="31" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image source="无星星_png" /> <e:Image source="无星星_png" horizontalCenter="0" verticalCenter="0"/>
<e:Image id="star1" source="有星星_png" visible="false"/> <e:Image id="star1" source="有星星_png" horizontalCenter="0" verticalCenter="0" visible="false"/>
<e:Image id="star2" source="有星星2_png" visible="false"/> <e:Image id="star2" source="有星星2_png" horizontalCenter="0" verticalCenter="0" visible="false"/>
<e:Image id="star3" source="有星星3_png" visible="false"/> <e:Image id="star3" source="有星星3_png" horizontalCenter="0" verticalCenter="0" visible="false"/>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -8,7 +8,7 @@ import MapRpeatPart from "./MapRpeatPart"; ...@@ -8,7 +8,7 @@ import MapRpeatPart from "./MapRpeatPart";
import { getRepeatCount } from "../startScene/StartScene"; import { getRepeatCount } from "../startScene/StartScene";
export default class MapBottomPart extends ComponentBase { export default class MapBottomPart extends ComponentBase {
static LEVEL_NUMS = 12; static LEVEL_NUMS = 3;
getTxt(i): eui.BitmapLabel { return this[`txt${i}`]; } getTxt(i): eui.BitmapLabel { return this[`txt${i}`]; }
start({repeatHeight,topHeight}) { start({repeatHeight,topHeight}) {
super.start(); super.start();
......
...@@ -6,7 +6,7 @@ import setGray from "../setGray"; ...@@ -6,7 +6,7 @@ import setGray from "../setGray";
import { showToast } from "../../libs/new_wx/ctrls/toastCtrl"; import { showToast } from "../../libs/new_wx/ctrls/toastCtrl";
export default class MapRpeatPart extends ComponentBase { export default class MapRpeatPart extends ComponentBase {
static LEVEL_NUMS = 13; static LEVEL_NUMS = 22;
private _index; private _index;
private _topHeight; private _topHeight;
constructor(i,topHeight) { constructor(i,topHeight) {
...@@ -46,8 +46,8 @@ export default class MapRpeatPart extends ComponentBase { ...@@ -46,8 +46,8 @@ export default class MapRpeatPart extends ComponentBase {
// console.log(icon['visibleY'] ); // console.log(icon['visibleY'] );
} }
this['animal1'].visible = this._index % 2; // this['animal1'].visible = this._index % 2;
this['animal2'].visible = !this['animal1'].visible; // this['animal2'].visible = !this['animal1'].visible;
} }
getIcon(i) { return this[`icon${i}`]; } getIcon(i) { return this[`icon${i}`]; }
......
This diff is collapsed.
...@@ -3,28 +3,29 @@ import ComponentBase from "../../libs/new_wx/components/ComponentBase"; ...@@ -3,28 +3,29 @@ import ComponentBase from "../../libs/new_wx/components/ComponentBase";
export default class MapStarComp extends ComponentBase { export default class MapStarComp extends ComponentBase {
start() { start() {
super.start(); super.start();
this.x = 15; this.x = 13;
this.y=-24; this.y = 67;
this.setStar(0); this.setStar(0);
} }
setStar(num:number) setStar(num: number) {
{ this['star1'].visible = false;
this['star1'].visible=false; this['star2'].visible = false;
this['star2'].visible=false; this['star3'].visible = false;
this['star3'].visible=false;
if(num ==0) { if(num == 0) {
}else if(num ==1) { } else if(num == 1) {
this['star1'].visible=true; this['star1'].visible = true;
} } else if(num == 2) {
else if(num ==2) { this['star2'].visible = true;
this['star2'].visible=true; } else if(num == 3) {
}else if(num ==3) { this['star3'].visible = true;
this['star3'].visible=true;
} }
} }
get skinKey(): string { return 'Star' }
get skinKey(): string {
return 'Star'
}
} }
\ No newline at end of file
...@@ -4,7 +4,7 @@ import MapStarComp from "./MapStarComp"; ...@@ -4,7 +4,7 @@ import MapStarComp from "./MapStarComp";
import { createData } from "../startScene/StartScene"; import { createData } from "../startScene/StartScene";
export default class MapTopPart extends ComponentBase { export default class MapTopPart extends ComponentBase {
static LEVEL_NUMS = 7; static LEVEL_NUMS = 8;
start() { start() {
super.start(); super.start();
for (let i = 0; i < MapTopPart.LEVEL_NUMS; i++) { for (let i = 0; i < MapTopPart.LEVEL_NUMS; i++) {
......
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