Commit ea324e20 authored by wildfirecode's avatar wildfirecode

1

parent b54e9892
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"map","version":5,"files":["../assets/map/taskicon.png","../assets/map/recordbtn.png","../assets/map/progress2.png","../assets/map/progress1.png","../assets/map/namebg.png","../assets/map/msgTri.png","../assets/map/map_signicon.png","../assets/map/lionMsgBg.png","../assets/map/invite_txtbg.png","../assets/map/invite_icon.png","../assets/map/iconbg.png","../assets/map/icon.png","../assets/map/guideOver.png","../assets/map/guideMoney.png","../assets/map/guideLove.png","../assets/map/guideLevel.png","../assets/map/guideBox.png","../assets/map/friend_avatar.png","../assets/map/avatar.png","../assets/map/animal1.png","../assets/map/ad_icon.png","../assets/map/元宝bg.png","../assets/map/有星星.png","../assets/map/音乐关闭.png","../assets/map/音乐.png","../assets/map/星星bg.png","../assets/map/星星.png","../assets/map/无星星.png","../assets/map/问题.png","../assets/map/退出.png","../assets/map/狮子.png","../assets/map/声音关闭.png","../assets/map/声音.png","../assets/map/设置bg.png","../assets/map/设置.png","../assets/map/光 副本 4.png","../assets/map/关闭 拷贝.png","../assets/map/道具.png","../assets/map/宝箱btn.png","../assets/map/宝箱bg.png","../assets/map/宝箱3.png","../assets/map/宝箱2.png","../assets/map/宝箱1.png","../assets/map/宝箱.png","../assets/map/map明日可领.png","../assets/map/map今日可领.png","../assets/map/map刮现金红包.png","../assets/map/map大转盘.png"]} {"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"map","version":5,"files":["../assets/map/taskicon.png","../assets/map/recordbtn.png","../assets/map/progress2.png","../assets/map/progress1.png","../assets/map/namebg.png","../assets/map/msgTri.png","../assets/map/map_signicon.png","../assets/map/lionMsgBg.png","../assets/map/invite_txtbg.png","../assets/map/invite_icon.png","../assets/map/iconbg.png","../assets/map/icon.png","../assets/map/guideOver.png","../assets/map/guideMoney.png","../assets/map/guideLove.png","../assets/map/guideLevel.png","../assets/map/guideBox.png","../assets/map/friend_avatar.png","../assets/map/avatar.png","../assets/map/animal1.png","../assets/map/ad_icon.png","../assets/map/元宝bg.png","../assets/map/有星星.png","../assets/map/音乐关闭.png","../assets/map/音乐.png","../assets/map/星星bg.png","../assets/map/星星.png","../assets/map/无星星.png","../assets/map/问题.png","../assets/map/退出.png","../assets/map/狮子.png","../assets/map/声音关闭.png","../assets/map/声音.png","../assets/map/设置bg.png","../assets/map/设置.png","../assets/map/光 副本 4.png","../assets/map/关闭 拷贝.png","../assets/map/道具.png","../assets/map/宝箱btn.png","../assets/map/宝箱bg.png","../assets/map/宝箱3.png","../assets/map/宝箱2.png","../assets/map/宝箱1.png","../assets/map/宝箱.png","../assets/map/map明日可领.png","../assets/map/map今日可领.png","../assets/map/map刮现金红包.png","../assets/map/map大转盘.png","../assets/map/有星星2.png","../assets/map/有星星3.png"]}
\ No newline at end of file \ No newline at end of file
egret/resource/assets/map/有星星.png

2.41 KB | W: | H:

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

2.15 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": "taskicon_png,recordbtn_png,progress2_png,progress1_png,namebg_png,msgTri_png,map3_jpg,map2_jpg,map1_jpg,map_signicon_png,lionMsgBg_png,invite_txtbg_png,invite_icon_png,iconbg_png,icon_png,guideOver_png,guideMoney_png,guideLove_png,guideLevel_png,guideBox_png,friend_avatar_png,avatar_png,animal1_png,ad_icon_png,元宝bg_png,有星星_png,音乐关闭_png,音乐_png,星星bg_png,星星_png,无星星_png,问题_png,退出_png,狮子_png,声音关闭_png,声音_png,设置bg_png,设置_png,光 副本 4_png,关闭 拷贝_png,道具_png,宝箱btn_png,宝箱bg_png,宝箱3_png,宝箱2_png,宝箱1_png,宝箱_png,map明日可领_png,map今日可领_png,map刮现金红包_png,map大转盘_png", "keys": "taskicon_png,recordbtn_png,progress2_png,progress1_png,namebg_png,msgTri_png,map3_jpg,map2_jpg,map1_jpg,map_signicon_png,lionMsgBg_png,invite_txtbg_png,invite_icon_png,iconbg_png,icon_png,guideOver_png,guideMoney_png,guideLove_png,guideLevel_png,guideBox_png,friend_avatar_png,avatar_png,animal1_png,ad_icon_png,元宝bg_png,有星星_png,音乐关闭_png,音乐_png,星星bg_png,星星_png,无星星_png,问题_png,退出_png,狮子_png,声音关闭_png,声音_png,设置bg_png,设置_png,光 副本 4_png,关闭 拷贝_png,道具_png,宝箱btn_png,宝箱bg_png,宝箱3_png,宝箱2_png,宝箱1_png,宝箱_png,map明日可领_png,map今日可领_png,map刮现金红包_png,map大转盘_png,有星星2_png,有星星3_png",
"name": "map" "name": "map"
}, },
{ {
...@@ -2942,6 +2942,16 @@ ...@@ -2942,6 +2942,16 @@
"url": "assets/sign/sign_quan8.png", "url": "assets/sign/sign_quan8.png",
"type": "image", "type": "image",
"name": "sign_quan8_png" "name": "sign_quan8_png"
},
{
"url": "assets/map/有星星2.png",
"type": "image",
"name": "有星星2_png"
},
{
"url": "assets/map/有星星3.png",
"type": "image",
"name": "有星星3_png"
} }
] ]
} }
\ 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="67" height="25" xmlns:e="http://ns.egret.com/eui" xmlns:w="http://ns.egret.com/wing">
<e:Image source="无星星_png" /> <e:Image source="无星星_png" />
<e:Rect id="rectmask" width="67" height="25" /> <e:Image id="star1" source="有星星_png" visible="false"/>
<e:Image id="star" source="有星星_png" /> <e:Image id="star2" source="有星星2_png" visible="false"/>
<e:Image id="star3" source="有星星3_png" visible="false"/>
</e:Skin> </e:Skin>
\ No newline at end of file
...@@ -39,6 +39,7 @@ export default class MapBottomPart extends ComponentBase { ...@@ -39,6 +39,7 @@ export default class MapBottomPart extends ComponentBase {
star.loadSkin(); star.start(); star.loadSkin(); star.start();
MapScene.starHash[levelOrder] = star; MapScene.starHash[levelOrder] = star;
icon.addChild(star); icon.addChild(star);
icon.cacheAsBitmap=true;
} }
} }
......
...@@ -22,7 +22,7 @@ export default class MapRpeatPart extends ComponentBase { ...@@ -22,7 +22,7 @@ export default class MapRpeatPart extends ComponentBase {
star.loadSkin(); star.start(); star.loadSkin(); star.start();
MapScene.starHash[levelOrder] = star; MapScene.starHash[levelOrder] = star;
icon.addChild(star); icon.addChild(star);
icon.cacheAsBitmap=true;
} }
this['animal1'].visible = this._index % 2; this['animal1'].visible = this._index % 2;
......
...@@ -26,7 +26,7 @@ import ScratchIcon from "./icon/ScratchIcon"; ...@@ -26,7 +26,7 @@ import ScratchIcon from "./icon/ScratchIcon";
import TurntableIcon from "./icon/TurntableIcon"; import TurntableIcon from "./icon/TurntableIcon";
let doHelpFlag = false; let doHelpFlag = false;
let doScratchHelpFlag = false; // let doScratchHelpFlag = false;
// let adTag = false; // let adTag = false;
export default class MapScene extends Scene { export default class MapScene extends Scene {
static adData; static adData;
...@@ -63,7 +63,7 @@ export default class MapScene extends Scene { ...@@ -63,7 +63,7 @@ export default class MapScene extends Scene {
NetManager.ins.showLog(getlogItem(36)); NetManager.ins.showLog(getlogItem(36));
}, code, dojoin.data); }, code, dojoin.data);
} else { // 刮刮卡 } else { // 刮刮卡
let _code = code.slice(8); const _code = code.slice(8);
NetManager.ins.scratchDoHelp((success, res) => { NetManager.ins.scratchDoHelp((success, res) => {
doHelpFlag = true; doHelpFlag = true;
switch(true) { switch(true) {
...@@ -848,6 +848,7 @@ export default class MapScene extends Scene { ...@@ -848,6 +848,7 @@ export default class MapScene extends Scene {
]; ];
const colorFlilter = new egret.ColorMatrixFilter(colorMatrix); const colorFlilter = new egret.ColorMatrixFilter(colorMatrix);
d.filters = [colorFlilter]; d.filters = [colorFlilter];
d.cacheAsBitmap=true;
} }
get skinKey() { get skinKey() {
......
...@@ -5,21 +5,25 @@ export default class MapStarComp extends ComponentBase { ...@@ -5,21 +5,25 @@ export default class MapStarComp extends ComponentBase {
super.start(); super.start();
this.x = 15; this.x = 15;
this.y=-24; this.y=-24;
this['star'].mask = this['rectmask']
this.setStar(0); this.setStar(0);
} }
setStar(num:number) setStar(num:number)
{ {
this['star1'].visible=false;
this['star2'].visible=false;
this['star3'].visible=false;
if(num ==0) { if(num ==0) {
this['rectmask'].width=0;
}else if(num ==1) { }else if(num ==1) {
this['rectmask'].width=23; this['star1'].visible=true;
} }
else if(num ==2) { else if(num ==2) {
this['rectmask'].width=46; this['star2'].visible=true;
}else if(num ==3) { }else if(num ==3) {
this['rectmask'].width=67; this['star3'].visible=true;
} }
this.cacheAsBitmap=true; this.cacheAsBitmap=true;
} }
......
...@@ -15,6 +15,7 @@ export default class MapTopPart extends ComponentBase { ...@@ -15,6 +15,7 @@ export default class MapTopPart extends ComponentBase {
star.loadSkin(); star.start(); star.loadSkin(); star.start();
MapScene.starHash[levelOrder] = star; MapScene.starHash[levelOrder] = star;
icon.addChild(star); icon.addChild(star);
icon.cacheAsBitmap=true;
} }
......
...@@ -16,6 +16,6 @@ ...@@ -16,6 +16,6 @@
"value":"虚拟商品标识符" "value":"虚拟商品标识符"
}, },
"desc":"OK", "desc":"OK",
"success":1, "success":0,
"timestamp":1572079274940 "timestamp":1572079274940
} }
\ No newline at end of file
...@@ -980,32 +980,22 @@ ...@@ -980,32 +980,22 @@
{ {
"levelNum": 195, "levelNum": 195,
"maxScore": 47440, "maxScore": 47440,
"stars": 3 "stars": 2
}, },
{ {
"levelNum": 196, "levelNum": 196,
"maxScore": 47440, "maxScore": 47440,
"stars": 3 "stars": 1
}, },
{ {
"levelNum": 197, "levelNum": 197,
"maxScore": 47440, "maxScore": 47440,
"stars": 3 "stars": 0
}, },
{ {
"levelNum": 198, "levelNum": 198,
"maxScore": 47440, "maxScore": 47440,
"stars": 3 "stars": 3
},
{
"levelNum": 199,
"maxScore": 47440,
"stars": 3
},
{
"levelNum": 200,
"maxScore": 47440,
"stars": 3
} }
], ],
"remainProp": [ "remainProp": [
......
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