Commit 951e94ee authored by wildfirecode's avatar wildfirecode

1

parent 731809b5
{"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"slot","version":5,"files":["../assets/slot/slot_wrap-top.png","../assets/slot/slot_wrap-top.png","../assets/slot/slot_wrap-bottom.png","../assets/slot/slot_wrap-bottom.png","../assets/slot/slot_start_btn.png","../assets/slot/slot_start_btn.png","../assets/slot/slot_close.png","../assets/slot/slot_close.png","../assets/slot/conveyor.png","../assets/slot/conveyor.png"]} {"options":{"layoutMath":"2","sizeMode":"2n","useExtension":1,"layoutGap":1,"extend":0},"projectName":"slot","version":5,"files":["../assets/slot/slot_wrap-top.png","../assets/slot/slot_wrap-bottom.png","../assets/slot/slot_start_btn.png","../assets/slot/slot_close.png","../assets/slot/conveyor.png"]}
\ No newline at end of file \ No newline at end of file
...@@ -16,10 +16,6 @@ ...@@ -16,10 +16,6 @@
"keys": "alertbg_png", "keys": "alertbg_png",
"name": "alert" "name": "alert"
}, },
{
"keys": "slot_wrap-top2_png,slot_wrap-top_png,slot_wrap-bottom2_png,slot_wrap-bottom_png,slot_start_btn2_png,slot_start_btn_png,slot_close2_png,slot_close_png,conveyor2_png,conveyor_png",
"name": "slot"
},
{ {
"keys": "wheel_png,rotate_start_btn_png,rotate_close_png,light_png", "keys": "wheel_png,rotate_start_btn_png,rotate_close_png,light_png",
"name": "rotate" "name": "rotate"
...@@ -27,6 +23,10 @@ ...@@ -27,6 +23,10 @@
{ {
"keys": "PrizePanelX_png,prizePanelUseBtn_png,prizePanelbg_png", "keys": "PrizePanelX_png,prizePanelUseBtn_png,prizePanelbg_png",
"name": "prize" "name": "prize"
},
{
"keys": "slot_wrap-top_png,slot_wrap-bottom_png,slot_start_btn_png,slot_close_png,conveyor_png",
"name": "slot"
} }
], ],
"resources": [ "resources": [
...@@ -297,31 +297,6 @@ ...@@ -297,31 +297,6 @@
"type": "image", "type": "image",
"name": "closeBtn_png" "name": "closeBtn_png"
}, },
{
"url": "assets/slot/conveyor.png",
"type": "image",
"name": "conveyor_png"
},
{
"url": "assets/slot/slot_close.png",
"type": "image",
"name": "slot_close_png"
},
{
"url": "assets/slot/slot_start_btn.png",
"type": "image",
"name": "slot_start_btn_png"
},
{
"url": "assets/slot/slot_wrap-bottom.png",
"type": "image",
"name": "slot_wrap-bottom_png"
},
{
"url": "assets/slot/slot_wrap-top.png",
"type": "image",
"name": "slot_wrap-top_png"
},
{ {
"url": "assets/treasure/hand.png", "url": "assets/treasure/hand.png",
"type": "image", "type": "image",
...@@ -338,49 +313,49 @@ ...@@ -338,49 +313,49 @@
"name": "treasurebg22_png" "name": "treasurebg22_png"
}, },
{ {
"url": "assets/slot/conveyor.png", "url": "assets/rotate/light.png",
"type": "image", "type": "image",
"name": "conveyor2_png" "name": "light_png"
}, },
{ {
"url": "assets/slot/slot_close.png", "url": "assets/rotate/wheel.png",
"type": "image", "type": "image",
"name": "slot_close2_png" "name": "wheel_png"
}, },
{ {
"url": "assets/slot/slot_start_btn.png", "url": "assets/rotate/rotate_start_btn.png",
"type": "image", "type": "image",
"name": "slot_start_btn2_png" "name": "rotate_start_btn_png"
}, },
{ {
"url": "assets/slot/slot_wrap-bottom.png", "url": "assets/rotate/rotate_close.png",
"type": "image", "type": "image",
"name": "slot_wrap-bottom2_png" "name": "rotate_close_png"
}, },
{ {
"url": "assets/slot/slot_wrap-top.png", "url": "assets/slot/slot_wrap-top.png",
"type": "image", "type": "image",
"name": "slot_wrap-top2_png" "name": "slot_wrap-top_png"
}, },
{ {
"url": "assets/rotate/light.png", "url": "assets/slot/slot_wrap-bottom.png",
"type": "image", "type": "image",
"name": "light_png" "name": "slot_wrap-bottom_png"
}, },
{ {
"url": "assets/rotate/wheel.png", "url": "assets/slot/slot_start_btn.png",
"type": "image", "type": "image",
"name": "wheel_png" "name": "slot_start_btn_png"
}, },
{ {
"url": "assets/rotate/rotate_start_btn.png", "url": "assets/slot/slot_close.png",
"type": "image", "type": "image",
"name": "rotate_start_btn_png" "name": "slot_close_png"
}, },
{ {
"url": "assets/rotate/rotate_close.png", "url": "assets/slot/conveyor.png",
"type": "image", "type": "image",
"name": "rotate_close_png" "name": "conveyor_png"
} }
] ]
} }
\ No newline at end of file
...@@ -126,7 +126,7 @@ ...@@ -126,7 +126,7 @@
</e:Skin> </e:Skin>
</e:skinName> </e:skinName>
</e:Button> </e:Button>
<e:Button id="treasureBtn" label="宝箱" y="74" scaleX="1" scaleY="1" left="598"> <e:Button id="treasureBtn" label="宝箱" y="74" scaleX="1" scaleY="1" left="598" visible="false">
<e:skinName> <e:skinName>
<e:Skin states="up,down,disabled"> <e:Skin states="up,down,disabled">
<e:Image width="100%" height="100%" source="rankBtn_png" source.down="rankBtn_png" source.disabled="rankBtn_png"/> <e:Image width="100%" height="100%" source="rankBtn_png" source.down="rankBtn_png" source.disabled="rankBtn_png"/>
......
...@@ -42,7 +42,8 @@ const check = (_this: StartScene) => { ...@@ -42,7 +42,8 @@ const check = (_this: StartScene) => {
} }
else if (i.label == LabelType.egg) { else if (i.label == LabelType.egg) {
_this._egretRender.remove(i); _this._egretRender.remove(i);
PanelCtrl.instance.show(ModuleTypes.SLOT_PANEL); PanelCtrl.instance.show(ModuleTypes.TREASURE_PANEL);
// PanelCtrl.instance.show(ModuleTypes.SLOT_PANEL);
} }
else if (i.label == LabelType.candy) { else if (i.label == LabelType.candy) {
_this._egretRender.remove(i); _this._egretRender.remove(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