Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
wfc13
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
wildfirecode13
wfc13
Commits
7ce779b6
Commit
7ce779b6
authored
Aug 03, 2021
by
wildfirecode13
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
48dc60d3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
293 additions
and
3 deletions
+293
-3
skin.json
project/resource/skin.json
+291
-1
NewbieScene.ts
project/src/template/NewbieScene.ts
+2
-2
No files found.
project/resource/skin.json
View file @
7ce779b6
{
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:[{
"name"
:
"RulePanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:[{
"name"
:
"ruleBg"
,
"x"
:
28
,
"y"
:
248
,
"type"
:
"sprite"
,
"props"
:{
"source"
:
"ruleBg.png"
}},{
"name"
:
"规则内容"
,
"x"
:
74
,
"y"
:
369
,
"type"
:
"text"
,
"props"
:{
"text"
:
"游戏规则
\n
"
,
"size"
:
30
,
"fillColor"
:
"#000000"
,
"textAlpha"
:
1
},
"id"
:
"ruleTxt"
},{
"name"
:
"我知道了"
,
"x"
:
164
,
"y"
:
1197
,
"type"
:
"button"
,
"props"
:{
"tUp"
:
"我知道了.png"
},
"id"
:
"knowBtn"
},{
"name"
:
"关闭按钮"
,
"x"
:
625
,
"y"
:
272
,
"type"
:
"button"
,
"props"
:{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
}]},{
"name"
:
"StartScene"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:[{
"name"
:
"startSceneBg"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"sprite"
,
"props"
:{
"source"
:
"startSceneBg.jpg"
}},{
"name"
:
"底部按钮区"
,
"x"
:
0
,
"y"
:
1242
,
"type"
:
"container"
,
"children"
:[{
"name"
:
"底部按钮区背景"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"sprite"
,
"props"
:{
"source"
:
"底部按钮区背景.png"
}},{
"name"
:
"icon"
,
"x"
:
56
,
"y"
:
35
,
"type"
:
"container"
,
"children"
:[{
"name"
:
"赚次数按钮"
,
"x"
:
547
,
"y"
:
0
,
"type"
:
"button"
,
"props"
:{
"tUp"
:
"赚次数按钮.png"
},
"id"
:
"taskBtn"
},{
"name"
:
"运动锦鲤按钮"
,
"x"
:
258
,
"y"
:
0
,
"type"
:
"button"
,
"props"
:{
"tUp"
:
"运动锦鲤按钮.png"
},
"id"
:
"lotBtn"
},{
"name"
:
"排行榜按钮"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"button"
,
"props"
:{
"tUp"
:
"排行榜按钮.png"
},
"id"
:
"rankBtn"
}]}]},{
"name"
:
"timesTxt"
,
"x"
:
286
,
"y"
:
1205
,
"type"
:
"text"
,
"props"
:{
"text"
:
"剩余次数:3次"
,
"size"
:
16.00722
,
"fillColor"
:
"#ffffff"
,
"textAlpha"
:
1
},
"id"
:
"timesTxt"
},{
"name"
:
"开始游戏"
,
"x"
:
171
,
"y"
:
1052
,
"type"
:
"button"
,
"props"
:{
"tUp"
:
"开始游戏.png"
},
"id"
:
"startBtn"
},{
"name"
:
"规则按钮"
,
"x"
:
621
,
"y"
:
212
,
"type"
:
"button"
,
"props"
:{
"tUp"
:
"规则按钮.png"
},
"id"
:
"ruleBtn"
},{
"name"
:
"奖品按钮"
,
"x"
:
11
,
"y"
:
212
,
"type"
:
"button"
,
"props"
:{
"tUp"
:
"奖品按钮.png"
},
"id"
:
"recordBtn"
}]},{
"name"
:
"loading"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:[{
"name"
:
"loading_bg"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"sprite"
,
"props"
:{
"source"
:
"loading_bg.png"
}},{
"name"
:
"loading_title"
,
"x"
:
64
,
"y"
:
253
,
"type"
:
"sprite"
,
"props"
:{
"source"
:
"loading_title.png"
}},{
"name"
:
"loading_loading"
,
"x"
:
299
,
"y"
:
1076
,
"type"
:
"sprite"
,
"props"
:{
"source"
:
"loading_loading.png"
}},{
"name"
:
"loading_progress"
,
"x"
:
91
,
"y"
:
1028
,
"type"
:
"container"
,
"children"
:[{
"name"
:
"loading_progressbg"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"sprite"
,
"props"
:{
"source"
:
"loading_progressbg.png"
}},{
"name"
:
"loading_progressfront"
,
"x"
:
8
,
"y"
:
4
,
"type"
:
"sprite"
,
"props"
:{
"source"
:
"loading_progressfront.png"
}}]}]},{
"name"
:
"newbie"
,
"x"
:
-593
,
"y"
:
-3658
,
"type"
:
"container"
,
"children"
:[{
"name"
:
"newbie"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"sprite"
,
"props"
:{
"source"
:
"newbie.png"
}},{
"name"
:
"newbie"
,
"x"
:
863
,
"y"
:
4209
,
"type"
:
"text"
,
"props"
:{
"text"
:
"newbie"
,
"size"
:
72
,
"fillColor"
:
"#000000"
,
"textAlpha"
:
1
}}]},{
"name"
:
"newbie"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:[{
"name"
:
"newbie"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"sprite"
,
"props"
:{
"source"
:
"newbie.png"
}},{
"name"
:
"newbie"
,
"x"
:
270
,
"y"
:
551
,
"type"
:
"text"
,
"props"
:{
"text"
:
"newbie"
,
"size"
:
72
,
"fillColor"
:
"#000000"
,
"textAlpha"
:
1
}}]}]}
{
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"RulePanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"ruleBg"
,
"x"
:
28
,
"y"
:
248
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"ruleBg.png"
}
},
{
"name"
:
"规则内容"
,
"x"
:
74
,
"y"
:
369
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"游戏规则
\n
"
,
"size"
:
30
,
"fillColor"
:
"#000000"
,
"textAlpha"
:
1
},
"id"
:
"ruleTxt"
},
{
"name"
:
"我知道了"
,
"x"
:
164
,
"y"
:
1197
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"我知道了.png"
},
"id"
:
"knowBtn"
},
{
"name"
:
"关闭按钮"
,
"x"
:
625
,
"y"
:
272
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
}
]
},
{
"name"
:
"StartScene"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"startSceneBg"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"startSceneBg.jpg"
}
},
{
"name"
:
"底部按钮区"
,
"x"
:
0
,
"y"
:
1242
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"底部按钮区背景"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"底部按钮区背景.png"
}
},
{
"name"
:
"icon"
,
"x"
:
56
,
"y"
:
35
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"赚次数按钮"
,
"x"
:
547
,
"y"
:
0
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"赚次数按钮.png"
},
"id"
:
"taskBtn"
},
{
"name"
:
"运动锦鲤按钮"
,
"x"
:
258
,
"y"
:
0
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"运动锦鲤按钮.png"
},
"id"
:
"lotBtn"
},
{
"name"
:
"排行榜按钮"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"排行榜按钮.png"
},
"id"
:
"rankBtn"
}
]
}
]
},
{
"name"
:
"timesTxt"
,
"x"
:
286
,
"y"
:
1205
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"剩余次数:3次"
,
"size"
:
16.00722
,
"fillColor"
:
"#ffffff"
,
"textAlpha"
:
1
},
"id"
:
"timesTxt"
},
{
"name"
:
"开始游戏"
,
"x"
:
171
,
"y"
:
1052
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"开始游戏.png"
},
"id"
:
"startBtn"
},
{
"name"
:
"规则按钮"
,
"x"
:
621
,
"y"
:
212
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"规则按钮.png"
},
"id"
:
"ruleBtn"
},
{
"name"
:
"奖品按钮"
,
"x"
:
11
,
"y"
:
212
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"奖品按钮.png"
},
"id"
:
"recordBtn"
}
]
},
{
"name"
:
"loading"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"loading_bg"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"loading_bg.png"
}
},
{
"name"
:
"loading_title"
,
"x"
:
64
,
"y"
:
253
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"loading_title.png"
}
},
{
"name"
:
"loading_loading"
,
"x"
:
299
,
"y"
:
1076
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"loading_loading.png"
}
},
{
"name"
:
"loading_progress"
,
"x"
:
91
,
"y"
:
1028
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"loading_progressbg"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"loading_progressbg.png"
}
},
{
"name"
:
"loading_progressfront"
,
"x"
:
8
,
"y"
:
4
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"loading_progressfront.png"
}
}
]
}
]
},
{
"name"
:
"newbie"
,
"x"
:
-593
,
"y"
:
-3658
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"newbie"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"newbie.png"
}
},
{
"name"
:
"newbie"
,
"x"
:
863
,
"y"
:
4209
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"newbie"
,
"size"
:
72
,
"fillColor"
:
"#000000"
,
"textAlpha"
:
1
}
}
]
},
{
"name"
:
"newbie"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"newbie"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"newbie.png"
}
},
{
"name"
:
"newbie"
,
"x"
:
270
,
"y"
:
551
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"newbie"
,
"size"
:
72
,
"fillColor"
:
"#000000"
,
"textAlpha"
:
1
}
}
]
}
]
}
\ No newline at end of file
project/src/template/NewbieScene.ts
View file @
7ce779b6
...
@@ -4,12 +4,12 @@ export class NewbieScene extends Scene {
...
@@ -4,12 +4,12 @@ export class NewbieScene extends Scene {
get
skinName
()
{
return
"newbie"
}
get
skinName
()
{
return
"newbie"
}
initUi
()
{
initUi
()
{
super
.
initUi
()
}
}
async
start
(
data
)
{
async
start
(
data
)
{
super
.
start
()
super
.
start
()
console
.
log
(
this
);
}
}
initEvents
()
{
initEvents
()
{
...
...
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