Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
db-game-template
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
崔立强
db-game-template
Commits
47e7fcc2
Commit
47e7fcc2
authored
Dec 12, 2018
by
wildfirecode
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e4e3777c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
32 additions
and
0 deletions
+32
-0
SlotPanel.ts
egret/libs/new_wx/components/SlotPanel.ts
+2
-0
default.res.json
egret/resource/default.res.json
+29
-0
default.thm.json
egret/resource/default.thm.json
+1
-0
No files found.
egret/libs/new_wx/components/SlotPanel.ts
View file @
47e7fcc2
...
@@ -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
)
=>
{
...
...
egret/resource/default.res.json
View file @
47e7fcc2
...
@@ -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
egret/resource/default.thm.json
View file @
47e7fcc2
...
@@ -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"
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment