Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
babycare_xiaoxiao
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
王剑峰
babycare_xiaoxiao
Commits
db960913
Commit
db960913
authored
Jul 07, 2020
by
wjf
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
l
parent
436e3050
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1610 additions
and
550 deletions
+1610
-550
RES.ts
module/RES.ts
+2
-1
aa.js
scripts/aa.js
+22
-0
psdH.js
scripts/psdH.js
+12
-1
SkinJson.1.ts
src/SkinJson.1.ts
+1026
-0
SkinJson.ts
src/SkinJson.ts
+548
-548
No files found.
module/RES.ts
View file @
db960913
...
...
@@ -444,7 +444,8 @@ export namespace RES {
//@ts-ignore
var
data
:
SkinInt
=
typeof
(
skin
)
==
'string'
?
getSkinDataByName
(
skin
)
:
skin
;
if
(
!
data
.
children
||
!
data
.
children
.
length
)
return
;
for
(
var
i
=
data
.
children
.
length
-
1
;
i
>=
0
;
i
--
)
{
// for (var i = data.children.length - 1; i >= 0; i--) {
for
(
var
i
=
0
;
i
<
data
.
children
.
length
;
i
++
)
{
var
child
=
data
.
children
[
i
];
if
(
child
.
type
==
"skin"
)
continue
;
var
dis
=
con
.
addChild
(
getDisplayByData
(
child
));
...
...
scripts/aa.js
0 → 100644
View file @
db960913
var
fs
=
require
(
"fs"
);
var
iconv
=
require
(
'iconv-lite'
);
//读取json文件
var
data
=
iconv
.
decode
(
fs
.
readFileSync
(
"./resource/skin.json"
),
"utf-8"
);
//GBK
//反序列化
data
=
JSON
.
parse
(
data
);
//eval(data)
reverseChildren
(
data
);
const
outJsonData
=
JSON
.
stringify
(
data
,
""
,
"
\
t"
);
var
endPath
=
'./src/'
;
var
endFile
=
`export const SkinJson =
${
outJsonData
}
`
fs
.
writeFileSync
(
endPath
+
"SkinJson.ts"
,
endFile
);
/**
*
* @param {*} arr
*/
function
reverseChildren
(
arr
)
{
arr
.
children
.
reverse
();
arr
.
children
.
forEach
(
element
=>
{
if
(
element
.
children
&&
element
.
children
.
length
)
reverseChildren
(
element
)
});
}
\ No newline at end of file
scripts/psdH.js
View file @
db960913
...
...
@@ -3,7 +3,7 @@ var PSD = require('psd');
var
path
=
require
(
'path'
);
// const mkdirp = require('mkdirp');
//千万别再执行,否则覆盖
//
return
return
var
options
=
{
//导出图片的目录,没有就导在psd所在目录
outImgDir
:
"./resource/"
,
...
...
@@ -50,6 +50,8 @@ files.forEach(async function (psdFileName) {
}
else
{
const
groupName
=
rootNode
.
_children
[
i
].
name
;
//颠倒一下
// group111._children.reverse()
queueNodes
.
push
(
group111
.
_children
);
queueNodesIndex
.
push
(
0
);
queueNodesName
.
push
(
undefined
);
...
...
@@ -113,6 +115,8 @@ files.forEach(async function (psdFileName) {
}
//单纯的组
else
{
//颠倒一下
// node._children.reverse()
queueNodes
.
push
(
node
.
_children
);
queueNodesIndex
[
queueIndex
]
=
nodesIndex
;
queueNodesIndex
.
push
(
0
);
...
...
@@ -263,6 +267,8 @@ files.forEach(async function (psdFileName) {
//导出所有的数据
if
(
options
.
outJsonDir
)
{
//倒转一下所有children的层级
const
outJsonData
=
JSON
.
stringify
(
rootStructure
/*.group*/
,
""
,
"
\
t"
);
const
outJsonDirPath
=
path
.
resolve
(
options
.
outJsonDir
);
const
outJsonPath
=
path
.
join
(
outJsonDirPath
,
'skin.json'
);
...
...
@@ -300,3 +306,8 @@ function saveAsPng(dirName, name, node, format = "png") {
}
function
reverseChildren
(
arr
)
{
arr
.
reverse
();
if
(
arr
.
children
)
reverseChildren
(
arr
.
children
)
}
src/SkinJson.1.ts
0 → 100644
View file @
db960913
export
const
SkinJson
=
{
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"UseToolPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"再想想"
,
"x"
:
93
,
"y"
:
745
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"再想想.png"
},
"id"
:
"consideBtn"
},
{
"name"
:
"确定"
,
"x"
:
383
,
"y"
:
745
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"确定.png"
},
"id"
:
"sureBtn"
},
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"文案"
,
"x"
:
168
,
"y"
:
619
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"确认使用步数道具+10步吗?"
,
"size"
:
34
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"msgTxt"
},
{
"name"
:
"使用道具背景"
,
"x"
:
55
,
"y"
:
498
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"使用道具背景.png"
}
}
]
},
{
"name"
:
"FreePowerPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"开心收下"
,
"x"
:
163
,
"y"
:
900
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"开心收下.png"
},
"id"
:
"acceptBtn"
},
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"圆圈"
,
"x"
:
55
,
"y"
:
267
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"圆圈.png"
}
}
]
},
{
"name"
:
"CreditsOutPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"赚取积分"
,
"x"
:
163
,
"y"
:
745
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"赚取积分.png"
},
"id"
:
"earnBtn"
},
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"积分不足背景"
,
"x"
:
55
,
"y"
:
498
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"积分不足背景.png"
}
}
]
},
{
"name"
:
"ExchangeSucPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"知道啦"
,
"x"
:
163
,
"y"
:
745
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"知道啦.png"
},
"id"
:
"knowBtn"
},
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"兑换成功背景"
,
"x"
:
55
,
"y"
:
337
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"兑换成功背景.png"
}
}
]
},
{
"name"
:
"ToolsOutPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"再想想"
,
"x"
:
93
,
"y"
:
745
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"再想想.png"
},
"id"
:
"consideBtn"
},
{
"name"
:
"确定"
,
"x"
:
383
,
"y"
:
745
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"确定.png"
},
"id"
:
"sureBtn"
},
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"文案"
,
"x"
:
203
,
"y"
:
650
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"要消耗200积分兑换码?"
,
"size"
:
34
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"msgTxt"
},
{
"name"
:
"道具不足背景"
,
"x"
:
55
,
"y"
:
498
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"道具不足背景.png"
}
}
]
},
{
"name"
:
"TaskPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"关闭按钮"
,
"x"
:
671
,
"y"
:
708
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"按钮1"
,
"x"
:
526
,
"y"
:
923
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"去完成.png"
,
"tDisable"
:
"去完成灰.png"
},
"id"
:
"taskBtn1"
},
{
"name"
:
"按钮2"
,
"x"
:
526
,
"y"
:
1102
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"去完成.png"
,
"tDisable"
:
"去完成灰.png"
},
"id"
:
"taskBtn2"
},
{
"name"
:
"按钮3"
,
"x"
:
526
,
"y"
:
1282
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"去完成.png"
,
"tDisable"
:
"去完成灰.png"
},
"id"
:
"taskBtn3"
},
{
"name"
:
"按钮4"
,
"x"
:
525
,
"y"
:
1462
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"去完成.png"
,
"tDisable"
:
"去完成灰.png"
},
"id"
:
"taskBtn4"
},
{
"name"
:
"任务背景"
,
"x"
:
0
,
"y"
:
579
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"任务背景.png"
}
}
]
},
{
"name"
:
"RulePanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
410
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"规则只要字体颜色和大小,到时删掉"
,
"x"
:
96
,
"y"
:
549
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"1、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。
\n
\
r2、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。
\
r
\
r3、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。
\
r
\
r4、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。"
,
"size"
:
26
,
"fillColor"
:
"#892a1a"
,
"textAlpha"
:
1
}
},
{
"name"
:
"活动规则背景"
,
"x"
:
55
,
"y"
:
438
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"活动规则背景.png"
}
}
]
},
{
"name"
:
"BuyPowerPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"文案"
,
"x"
:
426
,
"y"
:
682
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"+1"
,
"size"
:
36
,
"fillColor"
:
"#ffffff"
,
"textAlpha"
:
1
},
"id"
:
"msgTxt"
},
{
"name"
:
"无字按钮底"
,
"x"
:
163
,
"y"
:
805
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"无字按钮底.png"
},
"id"
:
"exchangeBtn"
},
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"增加体力背景"
,
"x"
:
55
,
"y"
:
498
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"增加体力背景.png"
}
}
]
},
{
"name"
:
"NoEnergyPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"体力不足按钮"
,
"x"
:
163
,
"y"
:
880
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"体力不足按钮.png"
},
"id"
:
"okBtn"
},
{
"name"
:
"体力不足Bg"
,
"x"
:
55
,
"y"
:
497
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"体力不足Bg.png"
}
}
]
},
{
"name"
:
"StartPanelPrize"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"prize"
,
"x"
:
130
,
"y"
:
903
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"prize.png"
}
},
{
"name"
:
"开始闯关要能量"
,
"x"
:
163
,
"y"
:
1120
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"开始闯关要能量.png"
},
"id"
:
"startBtn"
},
{
"name"
:
"动物"
,
"x"
:
154
,
"y"
:
692
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"动物.png"
}
},
{
"name"
:
"提示文案"
,
"x"
:
206
,
"y"
:
849
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"通关参与抽奖,最高可赢得"
,
"size"
:
28
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"tipsTex"
},
{
"name"
:
"关卡数"
,
"x"
:
312
,
"y"
:
519
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"第 6 关"
,
"size"
:
24.78875
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"checkTex"
},
{
"name"
:
"关卡弹窗Bg"
,
"x"
:
55
,
"y"
:
266
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"关卡弹窗Bg.png"
}
}
]
},
{
"name"
:
"StartPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"动物"
,
"x"
:
154
,
"y"
:
693
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"动物.png"
}
},
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"关卡文字"
,
"x"
:
312
,
"y"
:
519
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"第 6 关"
,
"size"
:
24.78875
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"checkTex"
},
{
"name"
:
"提示文案"
,
"x"
:
221
,
"y"
:
847
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"本关满星可获得随机道具"
,
"size"
:
28
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"tipsTex"
},
{
"name"
:
"开始闯关不要能量"
,
"x"
:
163
,
"y"
:
899
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"开始闯关不要能量.png"
},
"id"
:
"startBtn2"
},
{
"name"
:
"开始闯关要能量"
,
"x"
:
163
,
"y"
:
899
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"开始闯关要能量.png"
},
"id"
:
"startBtn"
},
{
"name"
:
"开始闯关Bg"
,
"x"
:
55
,
"y"
:
266
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"开始闯关Bg.png"
}
}
]
},
{
"name"
:
"FailedPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"失败重新闯关"
,
"x"
:
163
,
"y"
:
957
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"失败重新闯关.png"
},
"id"
:
"againBtn"
},
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"提示文案"
,
"x"
:
224
,
"y"
:
611
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"再接再厉!
\n
再闯3关可参与抽奖!"
,
"size"
:
36
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"tipsTex"
},
{
"name"
:
"关卡文字"
,
"x"
:
300
,
"y"
:
519
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"第 24 关"
,
"size"
:
24.78875
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"checkTex"
},
{
"name"
:
"失败Bg"
,
"x"
:
55
,
"y"
:
276
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"失败Bg.png"
}
}
]
},
{
"name"
:
"NoStepBtn"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"步数耗尽结束按钮"
,
"x"
:
93
,
"y"
:
845
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"步数耗尽结束按钮.png"
},
"id"
:
"overBtn"
},
{
"name"
:
"步数耗尽复活"
,
"x"
:
383
,
"y"
:
845
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"步数耗尽复活.png"
},
"id"
:
"liveBtn"
},
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"提示文案"
,
"x"
:
163
,
"y"
:
661
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"消耗20积分可复活 ,步数+5
\n
确认复活吗?"
,
"size"
:
34
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"tipsTex"
},
{
"name"
:
"步数耗尽Bg"
,
"x"
:
55
,
"y"
:
498
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"步数耗尽Bg.png"
}
}
]
},
{
"name"
:
"SuccessPrizePanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"star"
,
"x"
:
145
,
"y"
:
601
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"star.png"
}
},
{
"name"
:
"道具"
,
"x"
:
124
,
"y"
:
858
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"道具"
,
"x"
:
76
,
"y"
:
24
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"道具.png"
}
},
{
"name"
:
"步数道具 x1"
,
"x"
:
265
,
"y"
:
85
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"步数道具 x1"
,
"size"
:
30
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
}
},
{
"name"
:
"圆角矩形 648"
,
"x"
:
0
,
"y"
:
0
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"圆角矩形 648.png"
}
}
]
},
{
"name"
:
"红包奖励"
,
"x"
:
130
,
"y"
:
870
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"红包奖励.png"
}
},
{
"name"
:
"提示文案"
,
"x"
:
182
,
"y"
:
810
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"太厉害了!获得抽奖资格!"
,
"size"
:
34
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"tipsTex"
},
{
"name"
:
"关卡文字"
,
"x"
:
300
,
"y"
:
519
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"第 24 关"
,
"size"
:
24.78875
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"checkTex"
},
{
"name"
:
"按钮-继续闯关"
,
"x"
:
383
,
"y"
:
1095
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"按钮-继续闯关.png"
}
},
{
"name"
:
"继续闯关小"
,
"x"
:
93
,
"y"
:
1095
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"继续闯关小.png"
},
"id"
:
"againBtn"
},
{
"name"
:
"继续闯关大"
,
"x"
:
163
,
"y"
:
1086
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"继续闯关大.png"
},
"id"
:
"noPrizeAgainBtn"
},
{
"name"
:
"闯关成功"
,
"x"
:
55
,
"y"
:
266
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"闯关成功.png"
}
}
]
},
{
"name"
:
"SuccessNoPrizePanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"star"
,
"x"
:
145
,
"y"
:
601
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"star.png"
}
},
{
"name"
:
"提示文案"
,
"x"
:
210
,
"y"
:
797
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"太厉害了!
\n
再闯6关就即可抽奖!"
,
"size"
:
36
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"tipsTex"
},
{
"name"
:
"关卡文字"
,
"x"
:
300
,
"y"
:
519
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"第 24 关"
,
"size"
:
24.78875
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"checkTex"
},
{
"name"
:
"闯关成功不满星按钮"
,
"x"
:
91
,
"y"
:
955
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"闯关成功不满星按钮.png"
},
"id"
:
"againBtn"
},
{
"name"
:
"继续闯关小"
,
"x"
:
381
,
"y"
:
955
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"继续闯关小.png"
},
"id"
:
"continueBtn"
},
{
"name"
:
"继续闯关大"
,
"x"
:
163
,
"y"
:
935
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"继续闯关大.png"
},
"id"
:
"totalContinueBtn"
},
{
"name"
:
"闯关成功Bg"
,
"x"
:
55
,
"y"
:
266
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"闯关成功Bg.png"
}
}
]
}
]
}
\ No newline at end of file
src/SkinJson.ts
View file @
db960913
...
...
@@ -4,126 +4,91 @@ export const SkinJson = {
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"
UseTool
Panel"
,
"name"
:
"
SuccessNoPrize
Panel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"
再想想
"
,
"x"
:
93
,
"y"
:
745
,
"name"
:
"
闯关成功Bg
"
,
"x"
:
55
,
"y"
:
266
,
"alpha"
:
1
,
"type"
:
"
button
"
,
"type"
:
"
sprite
"
,
"props"
:
{
"tUp"
:
"再想想.png"
},
"id"
:
"consideBtn"
"source"
:
"闯关成功Bg.png"
}
},
{
"name"
:
"
确定
"
,
"x"
:
38
3
,
"y"
:
74
5
,
"name"
:
"
继续闯关大
"
,
"x"
:
16
3
,
"y"
:
93
5
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"
确定
.png"
"tUp"
:
"
继续闯关大
.png"
},
"id"
:
"
sur
eBtn"
"id"
:
"
totalContinu
eBtn"
},
{
"name"
:
"
关闭按钮
"
,
"x"
:
63
1
,
"y"
:
470
,
"name"
:
"
继续闯关小
"
,
"x"
:
38
1
,
"y"
:
955
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"
关闭按钮
.png"
"tUp"
:
"
继续闯关小
.png"
},
"id"
:
"c
los
eBtn"
"id"
:
"c
ontinu
eBtn"
},
{
"name"
:
"
文案
"
,
"x"
:
168
,
"y"
:
619
,
"name"
:
"
闯关成功不满星按钮
"
,
"x"
:
91
,
"y"
:
955
,
"alpha"
:
1
,
"type"
:
"
text
"
,
"type"
:
"
button
"
,
"props"
:
{
"text"
:
"确认使用步数道具+10步吗?"
,
"size"
:
34
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
"tUp"
:
"闯关成功不满星按钮.png"
},
"id"
:
"
msgTxt
"
"id"
:
"
againBtn
"
},
{
"name"
:
"使用道具背景"
,
"x"
:
55
,
"y"
:
498
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"使用道具背景.png"
}
}
]
},
{
"name"
:
"FreePowerPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"开心收下"
,
"x"
:
163
,
"y"
:
900
,
"name"
:
"关卡文字"
,
"x"
:
300
,
"y"
:
519
,
"alpha"
:
1
,
"type"
:
"
button
"
,
"type"
:
"
text
"
,
"props"
:
{
"tUp"
:
"开心收下.png"
"text"
:
"第 24 关"
,
"size"
:
24.78875
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"
acceptBtn
"
"id"
:
"
checkTex
"
},
{
"name"
:
"
关闭按钮
"
,
"x"
:
631
,
"y"
:
470
,
"name"
:
"
提示文案
"
,
"x"
:
210
,
"y"
:
797
,
"alpha"
:
1
,
"type"
:
"
button
"
,
"type"
:
"
text
"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
"text"
:
"太厉害了!
\n
再闯6关就即可抽奖!"
,
"size"
:
36
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"
closeBtn
"
"id"
:
"
tipsTex
"
},
{
"name"
:
"
圆圈
"
,
"x"
:
5
5
,
"y"
:
267
,
"name"
:
"
star
"
,
"x"
:
14
5
,
"y"
:
601
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"
圆圈
.png"
"source"
:
"
star
.png"
}
}
]
},
{
"name"
:
"CreditsOutPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"赚取积分"
,
"x"
:
163
,
"y"
:
745
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"赚取积分.png"
},
"id"
:
"earnBtn"
},
{
"name"
:
"关闭按钮"
,
...
...
@@ -135,269 +100,188 @@ export const SkinJson = {
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"积分不足背景"
,
"x"
:
55
,
"y"
:
498
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"积分不足背景.png"
}
}
]
},
{
"name"
:
"
ExchangeSuc
Panel"
,
"name"
:
"
SuccessPrize
Panel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"
知道啦
"
,
"x"
:
163
,
"y"
:
745
,
"name"
:
"
闯关成功
"
,
"x"
:
55
,
"y"
:
266
,
"alpha"
:
1
,
"type"
:
"
button
"
,
"type"
:
"
sprite
"
,
"props"
:
{
"tUp"
:
"知道啦.png"
},
"id"
:
"knowBtn"
"source"
:
"闯关成功.png"
}
},
{
"name"
:
"
关闭按钮
"
,
"x"
:
631
,
"y"
:
470
,
"name"
:
"
继续闯关大
"
,
"x"
:
163
,
"y"
:
1086
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"
关闭按钮
.png"
"tUp"
:
"
继续闯关大
.png"
},
"id"
:
"
close
Btn"
"id"
:
"
noPrizeAgain
Btn"
},
{
"name"
:
"兑换成功背景"
,
"x"
:
55
,
"y"
:
337
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"兑换成功背景.png"
}
}
]
},
{
"name"
:
"ToolsOutPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"再想想"
,
"name"
:
"继续闯关小"
,
"x"
:
93
,
"y"
:
74
5
,
"y"
:
109
5
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"
再想想
.png"
"tUp"
:
"
继续闯关小
.png"
},
"id"
:
"
conside
Btn"
"id"
:
"
again
Btn"
},
{
"name"
:
"
确定
"
,
"name"
:
"
按钮-继续闯关
"
,
"x"
:
383
,
"y"
:
74
5
,
"y"
:
109
5
,
"alpha"
:
1
,
"type"
:
"
button
"
,
"type"
:
"
sprite
"
,
"props"
:
{
"tUp"
:
"确定.png"
},
"id"
:
"sureBtn"
"source"
:
"按钮-继续闯关.png"
}
},
{
"name"
:
"关
闭按钮
"
,
"x"
:
631
,
"y"
:
470
,
"name"
:
"关
卡文字
"
,
"x"
:
300
,
"y"
:
519
,
"alpha"
:
1
,
"type"
:
"
button
"
,
"type"
:
"
text
"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
"text"
:
"第 24 关"
,
"size"
:
24.78875
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"c
loseBtn
"
"id"
:
"c
heckTex
"
},
{
"name"
:
"文案"
,
"x"
:
203
,
"y"
:
65
0
,
"name"
:
"
提示
文案"
,
"x"
:
182
,
"y"
:
81
0
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"
要消耗200积分兑换码?
"
,
"text"
:
"
太厉害了!获得抽奖资格!
"
,
"size"
:
34
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"
msgTxt
"
"id"
:
"
tipsTex
"
},
{
"name"
:
"
道具不足背景
"
,
"x"
:
55
,
"y"
:
498
,
"name"
:
"
红包奖励
"
,
"x"
:
130
,
"y"
:
870
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"
道具不足背景
.png"
"source"
:
"
红包奖励
.png"
}
}
]
},
{
"name"
:
"TaskPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"关闭按钮"
,
"x"
:
671
,
"y"
:
708
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"按钮1"
,
"x"
:
526
,
"y"
:
923
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"去完成.png"
,
"tDisable"
:
"去完成灰.png"
},
"id"
:
"taskBtn1"
},
{
"name"
:
"按钮2"
,
"x"
:
526
,
"y"
:
1102
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"去完成.png"
,
"tDisable"
:
"去完成灰.png"
},
"id"
:
"taskBtn2"
},
{
"name"
:
"按钮3"
,
"x"
:
526
,
"y"
:
1282
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"去完成.png"
,
"tDisable"
:
"去完成灰.png"
},
"id"
:
"taskBtn3"
},
{
"name"
:
"按钮4"
,
"x"
:
525
,
"y"
:
1462
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"去完成.png"
,
"tDisable"
:
"去完成灰.png"
},
"id"
:
"taskBtn4"
"name"
:
"道具"
,
"x"
:
124
,
"y"
:
858
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"圆角矩形 648"
,
"x"
:
0
,
"y"
:
0
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"圆角矩形 648.png"
}
},
{
"name"
:
"步数道具 x1"
,
"x"
:
265
,
"y"
:
85
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"步数道具 x1"
,
"size"
:
30
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
}
},
{
"name"
:
"道具"
,
"x"
:
76
,
"y"
:
24
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"道具.png"
}
}
]
},
{
"name"
:
"
任务背景
"
,
"x"
:
0
,
"y"
:
579
,
"name"
:
"
star
"
,
"x"
:
145
,
"y"
:
601
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"
任务背景
.png"
"source"
:
"
star
.png"
}
}
]
},
{
"name"
:
"RulePanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
},
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
4
1
0
,
"y"
:
4
7
0
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"规则只要字体颜色和大小,到时删掉"
,
"x"
:
96
,
"y"
:
549
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"1、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。
\n
\
r2、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。
\
r
\
r3、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。
\
r
\
r4、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。"
,
"size"
:
26
,
"fillColor"
:
"#892a1a"
,
"textAlpha"
:
1
}
},
{
"name"
:
"活动规则背景"
,
"x"
:
55
,
"y"
:
438
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"活动规则背景.png"
}
}
]
},
{
"name"
:
"
BuyPowerPanel
"
,
"name"
:
"
NoStepBtn
"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"
文案
"
,
"x"
:
426
,
"y"
:
682
,
"name"
:
"
步数耗尽Bg
"
,
"x"
:
55
,
"y"
:
498
,
"alpha"
:
1
,
"type"
:
"
text
"
,
"type"
:
"
sprite
"
,
"props"
:
{
"text"
:
"+1"
,
"size"
:
36
,
"fillColor"
:
"#ffffff"
,
"textAlpha"
:
1
},
"id"
:
"msgTxt"
"source"
:
"步数耗尽Bg.png"
}
},
{
"name"
:
"
无字按钮底
"
,
"name"
:
"
提示文案
"
,
"x"
:
163
,
"y"
:
805
,
"y"
:
661
,
"alpha"
:
1
,
"type"
:
"
button
"
,
"type"
:
"
text
"
,
"props"
:
{
"tUp"
:
"无字按钮底.png"
"text"
:
"消耗20积分可复活 ,步数+5
\n
确认复活吗?"
,
"size"
:
34
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"
exchangeBtn
"
"id"
:
"
tipsTex
"
},
{
"name"
:
"关闭按钮"
,
...
...
@@ -411,23 +295,73 @@ export const SkinJson = {
"id"
:
"closeBtn"
},
{
"name"
:
"
增加体力背景
"
,
"x"
:
55
,
"y"
:
498
,
"name"
:
"
步数耗尽复活
"
,
"x"
:
383
,
"y"
:
845
,
"alpha"
:
1
,
"type"
:
"
sprite
"
,
"type"
:
"
button
"
,
"props"
:
{
"source"
:
"增加体力背景.png"
}
"tUp"
:
"步数耗尽复活.png"
},
"id"
:
"liveBtn"
},
{
"name"
:
"步数耗尽结束按钮"
,
"x"
:
93
,
"y"
:
845
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"步数耗尽结束按钮.png"
},
"id"
:
"overBtn"
}
]
},
{
"name"
:
"
NoEnergy
Panel"
,
"name"
:
"
Failed
Panel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"失败Bg"
,
"x"
:
55
,
"y"
:
276
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"失败Bg.png"
}
},
{
"name"
:
"关卡文字"
,
"x"
:
300
,
"y"
:
519
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"第 24 关"
,
"size"
:
24.78875
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"checkTex"
},
{
"name"
:
"提示文案"
,
"x"
:
224
,
"y"
:
611
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"再接再厉!
\n
再闯3关可参与抽奖!"
,
"size"
:
36
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"tipsTex"
},
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
...
...
@@ -440,59 +374,38 @@ export const SkinJson = {
"id"
:
"closeBtn"
},
{
"name"
:
"
体力不足按钮
"
,
"name"
:
"
失败重新闯关
"
,
"x"
:
163
,
"y"
:
880
,
"y"
:
957
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"
体力不足按钮
.png"
"tUp"
:
"
失败重新闯关
.png"
},
"id"
:
"okBtn"
},
{
"name"
:
"体力不足Bg"
,
"x"
:
55
,
"y"
:
497
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"体力不足Bg.png"
}
"id"
:
"againBtn"
}
]
},
{
"name"
:
"StartPanel
Prize
"
,
"name"
:
"StartPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"prize"
,
"x"
:
130
,
"y"
:
903
,
"name"
:
"开始闯关Bg"
,
"x"
:
55
,
"y"
:
266
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"
prize
.png"
"source"
:
"
开始闯关Bg
.png"
}
},
{
"name"
:
"开始闯关要能量"
,
"x"
:
163
,
"y"
:
1120
,
"y"
:
899
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
...
...
@@ -501,23 +414,24 @@ export const SkinJson = {
"id"
:
"startBtn"
},
{
"name"
:
"
动物
"
,
"x"
:
1
54
,
"y"
:
692
,
"name"
:
"
开始闯关不要能量
"
,
"x"
:
1
63
,
"y"
:
899
,
"alpha"
:
1
,
"type"
:
"
sprite
"
,
"type"
:
"
button
"
,
"props"
:
{
"source"
:
"动物.png"
}
"tUp"
:
"开始闯关不要能量.png"
},
"id"
:
"startBtn2"
},
{
"name"
:
"提示文案"
,
"x"
:
2
06
,
"y"
:
84
9
,
"x"
:
2
21
,
"y"
:
84
7
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"
通关参与抽奖,最高可赢得
"
,
"text"
:
"
本关满星可获得随机道具
"
,
"size"
:
28
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
...
...
@@ -525,7 +439,7 @@ export const SkinJson = {
"id"
:
"tipsTex"
},
{
"name"
:
"关卡
数
"
,
"name"
:
"关卡
文字
"
,
"x"
:
312
,
"y"
:
519
,
"alpha"
:
1
,
...
...
@@ -539,46 +453,46 @@ export const SkinJson = {
"id"
:
"checkTex"
},
{
"name"
:
"关卡弹窗Bg"
,
"x"
:
55
,
"y"
:
266
,
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"动物"
,
"x"
:
154
,
"y"
:
693
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"
关卡弹窗Bg
.png"
"source"
:
"
动物
.png"
}
}
]
},
{
"name"
:
"StartPanel"
,
"name"
:
"StartPanel
Prize
"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"
动物
"
,
"x"
:
154
,
"y"
:
693
,
"name"
:
"
关卡弹窗Bg
"
,
"x"
:
55
,
"y"
:
266
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"
动物
.png"
"source"
:
"
关卡弹窗Bg
.png"
}
},
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"关卡文字"
,
"name"
:
"关卡数"
,
"x"
:
312
,
"y"
:
519
,
"alpha"
:
1
,
...
...
@@ -593,12 +507,12 @@ export const SkinJson = {
},
{
"name"
:
"提示文案"
,
"x"
:
2
21
,
"y"
:
84
7
,
"x"
:
2
06
,
"y"
:
84
9
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"
本关满星可获得随机道具
"
,
"text"
:
"
通关参与抽奖,最高可赢得
"
,
"size"
:
28
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
...
...
@@ -606,20 +520,19 @@ export const SkinJson = {
"id"
:
"tipsTex"
},
{
"name"
:
"
开始闯关不要能量
"
,
"x"
:
1
63
,
"y"
:
899
,
"name"
:
"
动物
"
,
"x"
:
1
54
,
"y"
:
692
,
"alpha"
:
1
,
"type"
:
"
button
"
,
"type"
:
"
sprite
"
,
"props"
:
{
"tUp"
:
"开始闯关不要能量.png"
},
"id"
:
"startBtn2"
"source"
:
"动物.png"
}
},
{
"name"
:
"开始闯关要能量"
,
"x"
:
163
,
"y"
:
899
,
"y"
:
1120
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
...
...
@@ -628,33 +541,54 @@ export const SkinJson = {
"id"
:
"startBtn"
},
{
"name"
:
"
开始闯关Bg
"
,
"x"
:
55
,
"y"
:
266
,
"name"
:
"
prize
"
,
"x"
:
130
,
"y"
:
903
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"
开始闯关Bg
.png"
"source"
:
"
prize
.png"
}
},
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
}
]
},
{
"name"
:
"
Failed
Panel"
,
"name"
:
"
NoEnergy
Panel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"失败重新闯关"
,
"name"
:
"体力不足Bg"
,
"x"
:
55
,
"y"
:
497
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"体力不足Bg.png"
}
},
{
"name"
:
"体力不足按钮"
,
"x"
:
163
,
"y"
:
957
,
"y"
:
880
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"
失败重新闯关
.png"
"tUp"
:
"
体力不足按钮
.png"
},
"id"
:
"
again
Btn"
"id"
:
"
ok
Btn"
},
{
"name"
:
"关闭按钮"
,
...
...
@@ -666,268 +600,299 @@ export const SkinJson = {
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
}
]
},
{
"name"
:
"BuyPowerPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"增加体力背景"
,
"x"
:
55
,
"y"
:
498
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"增加体力背景.png"
}
},
{
"name"
:
"
提示文案
"
,
"x"
:
224
,
"y"
:
611
,
"name"
:
"
关闭按钮
"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"
text
"
,
"type"
:
"
button
"
,
"props"
:
{
"text"
:
"再接再厉!
\n
再闯3关可参与抽奖!"
,
"size"
:
36
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
"tUp"
:
"关闭按钮.png"
},
"id"
:
"
tipsTex
"
"id"
:
"
closeBtn
"
},
{
"name"
:
"
关卡文字
"
,
"x"
:
300
,
"y"
:
519
,
"name"
:
"
无字按钮底
"
,
"x"
:
163
,
"y"
:
805
,
"alpha"
:
1
,
"type"
:
"
text
"
,
"type"
:
"
button
"
,
"props"
:
{
"text"
:
"第 24 关"
,
"size"
:
24.78875
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
"tUp"
:
"无字按钮底.png"
},
"id"
:
"
checkTex
"
"id"
:
"
exchangeBtn
"
},
{
"name"
:
"
失败Bg
"
,
"x"
:
55
,
"y"
:
276
,
"name"
:
"
文案
"
,
"x"
:
426
,
"y"
:
682
,
"alpha"
:
1
,
"type"
:
"
sprite
"
,
"type"
:
"
text
"
,
"props"
:
{
"source"
:
"失败Bg.png"
}
"text"
:
"+1"
,
"size"
:
36
,
"fillColor"
:
"#ffffff"
,
"textAlpha"
:
1
},
"id"
:
"msgTxt"
}
]
},
{
"name"
:
"
NoStepBtn
"
,
"name"
:
"
RulePanel
"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"
步数耗尽结束按钮
"
,
"x"
:
93
,
"y"
:
845
,
"name"
:
"
活动规则背景
"
,
"x"
:
55
,
"y"
:
438
,
"alpha"
:
1
,
"type"
:
"
button
"
,
"type"
:
"
sprite
"
,
"props"
:
{
"tUp"
:
"步数耗尽结束按钮.png"
},
"id"
:
"overBtn"
"source"
:
"活动规则背景.png"
}
},
{
"name"
:
"
步数耗尽复活
"
,
"x"
:
383
,
"y"
:
845
,
"name"
:
"
规则只要字体颜色和大小,到时删掉
"
,
"x"
:
96
,
"y"
:
549
,
"alpha"
:
1
,
"type"
:
"
button
"
,
"type"
:
"
text
"
,
"props"
:
{
"tUp"
:
"步数耗尽复活.png"
},
"id"
:
"liveBtn"
"text"
:
"1、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。
\n
\
r2、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。
\
r
\
r3、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。
\
r
\
r4、这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案,这里是活动规则文案。"
,
"size"
:
26
,
"fillColor"
:
"#892a1a"
,
"textAlpha"
:
1
}
},
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
"y"
:
4
7
0
,
"y"
:
4
1
0
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
},
{
"name"
:
"提示文案"
,
"x"
:
163
,
"y"
:
661
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"消耗20积分可复活 ,步数+5
\n
确认复活吗?"
,
"size"
:
34
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"tipsTex"
},
{
"name"
:
"步数耗尽Bg"
,
"x"
:
55
,
"y"
:
498
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"步数耗尽Bg.png"
}
}
]
},
{
"name"
:
"
SuccessPrize
Panel"
,
"name"
:
"
Task
Panel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"
关闭按钮
"
,
"x"
:
631
,
"y"
:
470
,
"name"
:
"
任务背景
"
,
"x"
:
0
,
"y"
:
579
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"任务背景.png"
}
},
{
"name"
:
"按钮4"
,
"x"
:
525
,
"y"
:
1462
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
"tUp"
:
"去完成.png"
,
"tDisable"
:
"去完成灰.png"
},
"id"
:
"
closeBtn
"
"id"
:
"
taskBtn4
"
},
{
"name"
:
"star"
,
"x"
:
145
,
"y"
:
601
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"name"
:
"按钮3"
,
"x"
:
526
,
"y"
:
1282
,
"type"
:
"button"
,
"props"
:
{
"source"
:
"star.png"
}
"tUp"
:
"去完成.png"
,
"tDisable"
:
"去完成灰.png"
},
"id"
:
"taskBtn3"
},
{
"name"
:
"道具"
,
"x"
:
124
,
"y"
:
858
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"道具"
,
"x"
:
76
,
"y"
:
24
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"道具.png"
}
},
{
"name"
:
"步数道具 x1"
,
"x"
:
265
,
"y"
:
85
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"步数道具 x1"
,
"size"
:
30
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
}
},
{
"name"
:
"圆角矩形 648"
,
"x"
:
0
,
"y"
:
0
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"圆角矩形 648.png"
}
}
]
"name"
:
"按钮2"
,
"x"
:
526
,
"y"
:
1102
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"去完成.png"
,
"tDisable"
:
"去完成灰.png"
},
"id"
:
"taskBtn2"
},
{
"name"
:
"按钮1"
,
"x"
:
526
,
"y"
:
923
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"去完成.png"
,
"tDisable"
:
"去完成灰.png"
},
"id"
:
"taskBtn1"
},
{
"name"
:
"红包奖励"
,
"x"
:
130
,
"y"
:
870
,
"name"
:
"关闭按钮"
,
"x"
:
671
,
"y"
:
708
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"关闭按钮.png"
},
"id"
:
"closeBtn"
}
]
},
{
"name"
:
"ToolsOutPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"道具不足背景"
,
"x"
:
55
,
"y"
:
498
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"
红包奖励
.png"
"source"
:
"
道具不足背景
.png"
}
},
{
"name"
:
"
提示
文案"
,
"x"
:
182
,
"y"
:
81
0
,
"name"
:
"文案"
,
"x"
:
203
,
"y"
:
65
0
,
"alpha"
:
1
,
"type"
:
"text"
,
"props"
:
{
"text"
:
"
太厉害了!获得抽奖资格!
"
,
"text"
:
"
要消耗200积分兑换码?
"
,
"size"
:
34
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"
tipsTex
"
"id"
:
"
msgTxt
"
},
{
"name"
:
"关
卡文字
"
,
"x"
:
300
,
"y"
:
519
,
"name"
:
"关
闭按钮
"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"
text
"
,
"type"
:
"
button
"
,
"props"
:
{
"text"
:
"第 24 关"
,
"size"
:
24.78875
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
"tUp"
:
"关闭按钮.png"
},
"id"
:
"c
heckTex
"
"id"
:
"c
loseBtn
"
},
{
"name"
:
"
按钮-继续闯关
"
,
"name"
:
"
确定
"
,
"x"
:
383
,
"y"
:
109
5
,
"y"
:
74
5
,
"alpha"
:
1
,
"type"
:
"
sprite
"
,
"type"
:
"
button
"
,
"props"
:
{
"source"
:
"按钮-继续闯关.png"
}
"tUp"
:
"确定.png"
},
"id"
:
"sureBtn"
},
{
"name"
:
"
继续闯关小
"
,
"name"
:
"
再想想
"
,
"x"
:
93
,
"y"
:
109
5
,
"y"
:
74
5
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"
继续闯关小
.png"
"tUp"
:
"
再想想
.png"
},
"id"
:
"againBtn"
"id"
:
"consideBtn"
}
]
},
{
"name"
:
"ExchangeSucPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"兑换成功背景"
,
"x"
:
55
,
"y"
:
337
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"兑换成功背景.png"
}
},
{
"name"
:
"
继续闯关大
"
,
"x"
:
163
,
"y"
:
1086
,
"name"
:
"
关闭按钮
"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"
继续闯关大
.png"
"tUp"
:
"
关闭按钮
.png"
},
"id"
:
"
noPrizeAgain
Btn"
"id"
:
"
close
Btn"
},
{
"name"
:
"
闯关成功
"
,
"x"
:
55
,
"y"
:
266
,
"name"
:
"
知道啦
"
,
"x"
:
163
,
"y"
:
745
,
"alpha"
:
1
,
"type"
:
"
sprite
"
,
"type"
:
"
button
"
,
"props"
:
{
"source"
:
"闯关成功.png"
}
"tUp"
:
"知道啦.png"
},
"id"
:
"knowBtn"
}
]
},
{
"name"
:
"
SuccessNoPrize
Panel"
,
"name"
:
"
CreditsOut
Panel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"积分不足背景"
,
"x"
:
55
,
"y"
:
498
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"积分不足背景.png"
}
},
{
"name"
:
"关闭按钮"
,
"x"
:
631
,
...
...
@@ -940,85 +905,120 @@ export const SkinJson = {
"id"
:
"closeBtn"
},
{
"name"
:
"star"
,
"x"
:
145
,
"y"
:
601
,
"name"
:
"赚取积分"
,
"x"
:
163
,
"y"
:
745
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"赚取积分.png"
},
"id"
:
"earnBtn"
}
]
},
{
"name"
:
"FreePowerPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"圆圈"
,
"x"
:
55
,
"y"
:
267
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"
star
.png"
"source"
:
"
圆圈
.png"
}
},
{
"name"
:
"
提示文案
"
,
"x"
:
210
,
"y"
:
797
,
"name"
:
"
关闭按钮
"
,
"x"
:
631
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"
text
"
,
"type"
:
"
button
"
,
"props"
:
{
"text"
:
"太厉害了!
\n
再闯6关就即可抽奖!"
,
"size"
:
36
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
"tUp"
:
"关闭按钮.png"
},
"id"
:
"
tipsTex
"
"id"
:
"
closeBtn
"
},
{
"name"
:
"
关卡文字
"
,
"x"
:
300
,
"y"
:
519
,
"name"
:
"
开心收下
"
,
"x"
:
163
,
"y"
:
900
,
"alpha"
:
1
,
"type"
:
"
text
"
,
"type"
:
"
button
"
,
"props"
:
{
"text"
:
"第 24 关"
,
"size"
:
24.78875
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
"tUp"
:
"开心收下.png"
},
"id"
:
"checkTex"
"id"
:
"acceptBtn"
}
]
},
{
"name"
:
"UseToolPanel"
,
"x"
:
0
,
"y"
:
0
,
"type"
:
"container"
,
"children"
:
[
{
"name"
:
"使用道具背景"
,
"x"
:
55
,
"y"
:
498
,
"alpha"
:
1
,
"type"
:
"sprite"
,
"props"
:
{
"source"
:
"使用道具背景.png"
}
},
{
"name"
:
"
闯关成功不满星按钮
"
,
"x"
:
91
,
"y"
:
955
,
"name"
:
"
文案
"
,
"x"
:
168
,
"y"
:
619
,
"alpha"
:
1
,
"type"
:
"
button
"
,
"type"
:
"
text
"
,
"props"
:
{
"tUp"
:
"闯关成功不满星按钮.png"
"text"
:
"确认使用步数道具+10步吗?"
,
"size"
:
34
,
"fillColor"
:
"#df5942"
,
"textAlpha"
:
1
},
"id"
:
"
againBtn
"
"id"
:
"
msgTxt
"
},
{
"name"
:
"
继续闯关小
"
,
"x"
:
38
1
,
"y"
:
955
,
"name"
:
"
关闭按钮
"
,
"x"
:
63
1
,
"y"
:
470
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"
继续闯关小
.png"
"tUp"
:
"
关闭按钮
.png"
},
"id"
:
"c
ontinu
eBtn"
"id"
:
"c
los
eBtn"
},
{
"name"
:
"
继续闯关大
"
,
"x"
:
16
3
,
"y"
:
93
5
,
"name"
:
"
确定
"
,
"x"
:
38
3
,
"y"
:
74
5
,
"alpha"
:
1
,
"type"
:
"button"
,
"props"
:
{
"tUp"
:
"
继续闯关大
.png"
"tUp"
:
"
确定
.png"
},
"id"
:
"
totalContinu
eBtn"
"id"
:
"
sur
eBtn"
},
{
"name"
:
"
闯关成功Bg
"
,
"x"
:
55
,
"y"
:
266
,
"name"
:
"
再想想
"
,
"x"
:
93
,
"y"
:
745
,
"alpha"
:
1
,
"type"
:
"
sprite
"
,
"type"
:
"
button
"
,
"props"
:
{
"source"
:
"闯关成功Bg.png"
}
"tUp"
:
"再想想.png"
},
"id"
:
"consideBtn"
}
]
}
...
...
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