Commit 47e7fcc2 authored by wildfirecode's avatar wildfirecode

1

parent e4e3777c
...@@ -134,6 +134,8 @@ export default class SlotPanel extends Panel { ...@@ -134,6 +134,8 @@ export default class SlotPanel extends Panel {
this.addChild(slotWrap) this.addChild(slotWrap)
this.play() this.play()
slotWrap.mask = this.mask slotWrap.mask = this.mask
this.addChild(this['slotWrapTop'])
} }
private renderOptions = (container: any) => { private renderOptions = (container: any) => {
......
...@@ -15,6 +15,10 @@ ...@@ -15,6 +15,10 @@
{ {
"keys": "alertbg_png", "keys": "alertbg_png",
"name": "alert" "name": "alert"
},
{
"name": "preload",
"keys": "conveyor_png,slot_close_png,slot_start_btn_png,slot_wrap-bottom_png,slot_wrap-top_png"
} }
], ],
"resources": [ "resources": [
...@@ -284,6 +288,31 @@ ...@@ -284,6 +288,31 @@
"url": "assets/startScene/closeBtn.png", "url": "assets/startScene/closeBtn.png",
"type": "image", "type": "image",
"name": "closeBtn_png" "name": "closeBtn_png"
},
{
"name": "conveyor_png",
"type": "image",
"url": "assets/slot/conveyor.png"
},
{
"name": "slot_close_png",
"type": "image",
"url": "assets/slot/slot_close.png"
},
{
"name": "slot_start_btn_png",
"type": "image",
"url": "assets/slot/slot_start_btn.png"
},
{
"name": "slot_wrap-bottom_png",
"type": "image",
"url": "assets/slot/slot_wrap-bottom.png"
},
{
"name": "slot_wrap-top_png",
"type": "image",
"url": "assets/slot/slot_wrap-top.png"
} }
] ]
} }
\ No newline at end of file
...@@ -12,6 +12,7 @@ ...@@ -12,6 +12,7 @@
"resource/skins/RuleSkin.exml", "resource/skins/RuleSkin.exml",
"resource/skins/StartSkin.exml", "resource/skins/StartSkin.exml",
"resource/skins/TreasureSkin.exml", "resource/skins/TreasureSkin.exml",
"resource/skins/SlotSkin.exml",
"resource/skins/VScrollBarSkin.exml" "resource/skins/VScrollBarSkin.exml"
], ],
"path": "resource/default.thm.json" "path": "resource/default.thm.json"
......
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