Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
O
OP26
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
OP26
Commits
2cce1d42
Commit
2cce1d42
authored
Jul 04, 2022
by
范雪寒
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 替换uuid与脚本文件改名
parent
567cf825
Changes
69
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
69 changed files
with
207 additions
and
942 deletions
+207
-942
OP26.meta
assets/OP26.meta
+1
-15
audios.meta
assets/OP26/audios.meta
+1
-1
complate.mp3.meta
assets/OP26/audios/complate.mp3.meta
+1
-1
endEffect.mp3.meta
assets/OP26/audios/endEffect.mp3.meta
+1
-1
nn.mp3.meta
assets/OP26/audios/nn.mp3.meta
+1
-1
qbtc.mp3.meta
assets/OP26/audios/qbtc.mp3.meta
+1
-1
right.mp3.meta
assets/OP26/audios/right.mp3.meta
+1
-1
right1.mp3.meta
assets/OP26/audios/right1.mp3.meta
+1
-1
right2.mp3.meta
assets/OP26/audios/right2.mp3.meta
+1
-1
tip.mp3.meta
assets/OP26/audios/tip.mp3.meta
+1
-1
wrong.mp3.meta
assets/OP26/audios/wrong.mp3.meta
+1
-1
wrong1.mp3.meta
assets/OP26/audios/wrong1.mp3.meta
+1
-1
wrong2.mp3.meta
assets/OP26/audios/wrong2.mp3.meta
+1
-1
dragonBones.meta
assets/OP26/dragonBones.meta
+1
-1
cat.meta
assets/OP26/dragonBones/cat.meta
+1
-1
mao_ske.json.meta
assets/OP26/dragonBones/cat/mao_ske.json.meta
+1
-1
mao_tex.json.meta
assets/OP26/dragonBones/cat/mao_tex.json.meta
+1
-1
mao_tex.png.meta
assets/OP26/dragonBones/cat/mao_tex.png.meta
+3
-3
star.meta
assets/OP26/dragonBones/star.meta
+1
-1
star_ske.json.meta
assets/OP26/dragonBones/star/star_ske.json.meta
+1
-1
star_tex.json.meta
assets/OP26/dragonBones/star/star_tex.json.meta
+1
-1
star_tex.png.meta
assets/OP26/dragonBones/star/star_tex.png.meta
+3
-3
fonts.meta
assets/OP26/fonts.meta
+1
-1
MuliBold_YzEVy.ttf.meta
assets/OP26/fonts/MuliBold_YzEVy.ttf.meta
+1
-1
scene.meta
assets/OP26/scene.meta
+1
-1
OP26.fire
assets/OP26/scene/OP26.fire
+34
-34
OP26.fire.meta
assets/OP26/scene/OP26.fire.meta
+1
-1
OP26.js
assets/OP26/scene/OP26.js
+2
-2
OP26.js.meta
assets/OP26/scene/OP26.js.meta
+1
-1
script.meta
assets/OP26/script.meta
+1
-1
common.meta
assets/OP26/script/common.meta
+1
-1
OP26_view.js
assets/OP26/script/common/OP26_view.js
+0
-0
OP26_view.js.meta
assets/OP26/script/common/OP26_view.js.meta
+1
-1
_preDefine.js.meta
assets/OP26/script/common/_preDefine.js.meta
+1
-1
eff_welldown.js.meta
assets/OP26/script/common/eff_welldown.js.meta
+1
-1
utils.js.meta
assets/OP26/script/common/utils.js.meta
+1
-1
game.meta
assets/OP26/script/game.meta
+1
-1
OP26_demo_03_fireworks_2.js
assets/OP26/script/game/OP26_demo_03_fireworks_2.js
+0
-0
OP26_demo_03_fireworks_2.js.meta
assets/OP26/script/game/OP26_demo_03_fireworks_2.js.meta
+1
-1
OP26_item.js
assets/OP26/script/game/OP26_item.js
+0
-0
OP26_item.js.meta
assets/OP26/script/game/OP26_item.js.meta
+1
-1
OP26_nodEndEffect.js
assets/OP26/script/game/OP26_nodEndEffect.js
+0
-0
OP26_nodEndEffect.js.meta
assets/OP26/script/game/OP26_nodEndEffect.js.meta
+1
-1
OP26_speaker.js
assets/OP26/script/game/OP26_speaker.js
+0
-0
OP26_speaker.js.meta
assets/OP26/script/game/OP26_speaker.js.meta
+9
-0
enum.js.meta
assets/OP26/script/game/enum.js.meta
+1
-1
exchangeNode.js.meta
assets/OP26/script/game/exchangeNode.js.meta
+1
-1
handMove.js.meta
assets/OP26/script/game/handMove.js.meta
+1
-1
runtime.js.meta
assets/OP26/script/game/runtime.js.meta
+1
-1
speaker.js.meta
assets/OP26/script/game/speaker.js.meta
+0
-9
manager.meta
assets/OP26/script/manager.meta
+1
-1
data_mgr.js.meta
assets/OP26/script/manager/data_mgr.js.meta
+1
-1
event_mgr.js.meta
assets/OP26/script/manager/event_mgr.js.meta
+1
-1
local_storage.js.meta
assets/OP26/script/manager/local_storage.js.meta
+1
-1
res_mgr.js.meta
assets/OP26/script/manager/res_mgr.js.meta
+1
-1
snd_mgr.js.meta
assets/OP26/script/manager/snd_mgr.js.meta
+1
-1
textures.meta
assets/OP26/textures.meta
+1
-1
bg.png.meta
assets/OP26/textures/bg.png.meta
+3
-3
bg_back.jpg.meta
assets/OP26/textures/bg_back.jpg.meta
+3
-3
bg_circle.png.meta
assets/OP26/textures/bg_circle.png.meta
+3
-3
bg_desk.png.meta
assets/OP26/textures/bg_desk.png.meta
+3
-3
btn_next.png.meta
assets/OP26/textures/btn_next.png.meta
+3
-3
btn_restart.png.meta
assets/OP26/textures/btn_restart.png.meta
+3
-3
btn_return.png.meta
assets/OP26/textures/btn_return.png.meta
+3
-3
icon_apple.png.meta
assets/OP26/textures/icon_apple.png.meta
+3
-3
icon_hand.png.meta
assets/OP26/textures/icon_hand.png.meta
+3
-3
spt_effLight.png.meta
assets/OP26/textures/spt_effLight.png.meta
+3
-3
buildCocos.js
bin/buildCocos.js
+79
-0
package-lock.json
package-lock.json
+1
-801
No files found.
assets/OP26.meta
View file @
2cce1d42
{
"ver": "1.1.2",
"uuid": "b0424d37-546e-4a90-b58d-0095c4a526aa",
"isBundle": false,
"bundleName": "",
"priority": 1,
"compressionType": {},
"optimizeHotUpdate": {},
"inlineSpriteFrames": {},
"isRemoteBundle": {
"ios": false,
"android": false
},
"subMetas": {}
}
\ No newline at end of file
{"ver":"1.1.2","uuid":"e9510d6a-8f9e-4795-8fe5-44102de390b3","isBundle":false,"bundleName":"","priority":1,"compressionType":{},"optimizeHotUpdate":{},"inlineSpriteFrames":{},"isRemoteBundle":{"ios":false,"android":false},"subMetas":{}}
\ No newline at end of file
assets/OP26/audios.meta
View file @
2cce1d42
{
"ver": "1.1.2",
"uuid": "5
d424944-2765-4f54-a75c-cd5808c14214
",
"uuid": "5
279edc2-a658-4834-8b6a-c1969f391bcc
",
"isBundle": false,
"bundleName": "",
"priority": 1,
...
...
assets/OP26/audios/complate.mp3.meta
View file @
2cce1d42
{
"ver": "2.0.1",
"uuid": "0b
836691-59da-47d3-b65d-9d34409866c5
",
"uuid": "0b
1a57de-7ad8-46a7-8502-4cffedae0430
",
"downloadMode": 0,
"duration": 1.476,
"subMetas": {}
...
...
assets/OP26/audios/endEffect.mp3.meta
View file @
2cce1d42
{
"ver": "2.0.1",
"uuid": "
99dd4c7d-aa09-4a76-b624-baafb64454d7
",
"uuid": "
6fcd7945-f2cf-462f-ab1a-af29d0072f04
",
"downloadMode": 0,
"duration": 2.1956,
"subMetas": {}
...
...
assets/OP26/audios/nn.mp3.meta
View file @
2cce1d42
{
"ver": "2.0.1",
"uuid": "
59aecbca-5ac1-4d93-b786-587f5551c052
",
"uuid": "
71fe09b0-2b10-4ba0-a8b5-7f41d37aeaa4
",
"downloadMode": 0,
"duration": 0.168,
"subMetas": {}
...
...
assets/OP26/audios/qbtc.mp3.meta
View file @
2cce1d42
{
"ver": "2.0.1",
"uuid": "
f299987f-a34e-4b4a-9213-4bdacd4038fb
",
"uuid": "
8d12f00b-e1db-4650-9b59-a8574978138f
",
"downloadMode": 0,
"duration": 0.626939,
"subMetas": {}
...
...
assets/OP26/audios/right.mp3.meta
View file @
2cce1d42
{
"ver": "2.0.1",
"uuid": "
4e0c732a-352e-4d2a-b7cc-7e36fb356813
",
"uuid": "
30e4375a-7da2-4adb-ad5c-6d6638e71d7b
",
"downloadMode": 0,
"duration": 0.365714,
"subMetas": {}
...
...
assets/OP26/audios/right1.mp3.meta
View file @
2cce1d42
{
"ver": "2.0.1",
"uuid": "
1bce209e-9aa7-4fd2-8285-648c325608a6
",
"uuid": "
0a567ac7-db3f-4757-ac70-e9211e87f462
",
"downloadMode": 0,
"duration": 0.972,
"subMetas": {}
...
...
assets/OP26/audios/right2.mp3.meta
View file @
2cce1d42
{
"ver": "2.0.1",
"uuid": "
af3658e8-cacb-4ee4-800c-0638485c6cae
",
"uuid": "
9246154b-0dde-4305-afcb-f116854ba247
",
"downloadMode": 0,
"duration": 0.864,
"subMetas": {}
...
...
assets/OP26/audios/tip.mp3.meta
View file @
2cce1d42
{
"ver": "2.0.1",
"uuid": "
15f9ced0-4319-4a2d-b9c8-e9829bc1083d
",
"uuid": "
fc564b12-5997-4653-8096-b8296dfb3b13
",
"downloadMode": 0,
"duration": 1.188,
"subMetas": {}
...
...
assets/OP26/audios/wrong.mp3.meta
View file @
2cce1d42
{
"ver": "2.0.1",
"uuid": "
351a2b74-3dde-443c-8eca-8da7fbc2ab11
",
"uuid": "
586a79f4-1509-4849-94f0-4686e93e2b7e
",
"downloadMode": 0,
"duration": 0.365714,
"subMetas": {}
...
...
assets/OP26/audios/wrong1.mp3.meta
View file @
2cce1d42
{
"ver": "2.0.1",
"uuid": "
e874d9c3-5a64-44a5-b781-4c78f60591de
",
"uuid": "
19915c7d-d6d3-4cae-b14a-a32f6fd13ca0
",
"downloadMode": 0,
"duration": 1.188,
"subMetas": {}
...
...
assets/OP26/audios/wrong2.mp3.meta
View file @
2cce1d42
{
"ver": "2.0.1",
"uuid": "
52dab8a5-e3a8-4336-bca9-f61e43afbc36
",
"uuid": "
d406f568-2734-4d90-af10-6fa72cfd9b45
",
"downloadMode": 0,
"duration": 0.936,
"subMetas": {}
...
...
assets/OP26/dragonBones.meta
View file @
2cce1d42
{
"ver": "1.1.2",
"uuid": "
de4edf6a-9d9c-4944-ad11-bae6dc218abc
",
"uuid": "
6564a36d-434c-4f16-a206-a06b7786e908
",
"isBundle": false,
"bundleName": "",
"priority": 1,
...
...
assets/OP26/dragonBones/cat.meta
View file @
2cce1d42
{
"ver": "1.1.2",
"uuid": "b
42cca04-f6a1-437c-a5a4-a26df5850116
",
"uuid": "b
ccb4ffd-7e70-4e70-a42d-6484d346c9f8
",
"isBundle": false,
"bundleName": "",
"priority": 1,
...
...
assets/OP26/dragonBones/cat/mao_ske.json.meta
View file @
2cce1d42
{
"ver": "1.0.1",
"uuid": "
da7c9495-a1e6-4f5f-b767-7e294dedd137
",
"uuid": "
a4314297-cc65-4087-b9d9-3b2ce45ecded
",
"subMetas": {}
}
\ No newline at end of file
assets/OP26/dragonBones/cat/mao_tex.json.meta
View file @
2cce1d42
{
"ver": "1.0.1",
"uuid": "
6e322c97-a8fa-4fec-8a9a-25fd2592dc3
8",
"uuid": "
b0086c17-52c5-4266-9e78-151aeeab138
8",
"subMetas": {}
}
\ No newline at end of file
assets/OP26/dragonBones/cat/mao_tex.png.meta
View file @
2cce1d42
{
"ver": "2.3.5",
"uuid": "
cfe3b7eb-b6b8-4580-9eda-26f82e22fca3
",
"uuid": "
de5c2a5c-1198-4805-9fa3-e250ff37cac0
",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
...
...
@@ -13,8 +13,8 @@
"subMetas": {
"mao_tex": {
"ver": "1.0.4",
"uuid": "7
e2f2cd1-9054-480e-a463-70878504b649
",
"rawTextureUuid": "
cfe3b7eb-b6b8-4580-9eda-26f82e22fca3
",
"uuid": "7
9b01f3b-4889-422f-b57c-1cadc1b325e2
",
"rawTextureUuid": "
de5c2a5c-1198-4805-9fa3-e250ff37cac0
",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
...
...
assets/OP26/dragonBones/star.meta
View file @
2cce1d42
{
"ver": "1.1.2",
"uuid": "
15f525e3-3ad1-4898-9266-4962da44a66
7",
"uuid": "
2ff1d09c-6dc8-4487-8398-ad1023053e1
7",
"isBundle": false,
"bundleName": "",
"priority": 1,
...
...
assets/OP26/dragonBones/star/star_ske.json.meta
View file @
2cce1d42
{
"ver": "1.0.1",
"uuid": "
bf26c5f2-4b9c-40ed-81e9-eaef026b4629
",
"uuid": "
cfb7a1ba-9ac7-4b76-8b51-c4f224e21991
",
"subMetas": {}
}
\ No newline at end of file
assets/OP26/dragonBones/star/star_tex.json.meta
View file @
2cce1d42
{
"ver": "1.0.1",
"uuid": "
9d752e16-14eb-442e-9d61-65cd27710649
",
"uuid": "
ebec5df7-aef6-4bc5-915c-b96a22e3b662
",
"subMetas": {}
}
\ No newline at end of file
assets/OP26/dragonBones/star/star_tex.png.meta
View file @
2cce1d42
{
"ver": "2.3.5",
"uuid": "
efc3f7e2-3240-4ab5-a08b-0c435a20a9b
7",
"uuid": "
c4a46265-fe0a-49c0-9388-4efd85a6993
7",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
...
...
@@ -13,8 +13,8 @@
"subMetas": {
"star_tex": {
"ver": "1.0.4",
"uuid": "
db52e98c-7036-4119-b65a-eeecbe26cec8
",
"rawTextureUuid": "
efc3f7e2-3240-4ab5-a08b-0c435a20a9b
7",
"uuid": "
acfb94a0-a702-47af-b88e-978f272f0b3f
",
"rawTextureUuid": "
c4a46265-fe0a-49c0-9388-4efd85a6993
7",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
...
...
assets/OP26/fonts.meta
View file @
2cce1d42
{
"ver": "1.1.2",
"uuid": "
2f51a847-add1-4bd6-a0f5-4c1e8e18121d
",
"uuid": "
5c9b8816-a550-4e77-a95a-3be228f35678
",
"isBundle": false,
"bundleName": "",
"priority": 1,
...
...
assets/OP26/fonts/MuliBold_YzEVy.ttf.meta
View file @
2cce1d42
{
"ver": "1.1.0",
"uuid": "
568ae1c9-cb99-47d5-8c4e-d81f867a415f
",
"uuid": "
01e14d47-4a59-4156-afd9-5380e1e644f7
",
"subMetas": {}
}
\ No newline at end of file
assets/OP26/scene.meta
View file @
2cce1d42
{
"ver": "1.1.2",
"uuid": "
7598f340-b43a-4f62-84d2-527466599970
",
"uuid": "
621356b3-9082-41d5-afd6-07535d4afd75
",
"isBundle": false,
"bundleName": "",
"priority": 1,
...
...
assets/OP26/scene/OP26.fire
View file @
2cce1d42
...
...
@@ -64,7 +64,7 @@
"_groupIndex": 0,
"groupIndex": 0,
"autoReleaseAssets": false,
"_id": "
6cb7e3d1-1490-4254-a3a6-f41d17b47d98
"
"_id": "
706163b4-d6d1-4389-895c-794587afe789
"
},
{
"__type__": "cc.Node",
...
...
@@ -362,7 +362,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
735a1488-afe5-47be-bd00-08b3101a32d
2"
"__uuid__": "
1a4ee318-3a34-480e-97f6-9135ab7fa15
2"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -542,7 +542,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
5bb955c5-5f5e-4a17-80ca-63e8a67d7cb0
"
"__uuid__": "
7e5a8a89-d649-415d-85f5-e2aa87d24f95
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -915,7 +915,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
1087a2bf-b4ec-42b3-8ac2-1ed5c4835605
"
"__uuid__": "
23c1eb04-64c6-4ee4-9d84-8b8fae0a7834
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -1210,7 +1210,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
9fc070b9-c795-4286-ab64-fda0ed90a7c2
"
"__uuid__": "
2474e4c5-e0d8-4f7d-9ca7-a0cd4a8155a7
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -1304,7 +1304,7 @@
"__id__": 2
},
"component": "",
"_componentId": "
2c469iR4IpNfbLtO3QtORY
1",
"_componentId": "
99f0enaNOdDzbWRrj9wgcs
1",
"handler": "onBtnReStart",
"customEventData": ""
},
...
...
@@ -1386,7 +1386,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
2649c132-7a23-4bf6-bbed-8e5bba2cac10
"
"__uuid__": "
b73b9f51-4591-404e-8a74-b3f2db14b49a
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -1588,7 +1588,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
f8fbed6a-a3ff-402a-81ba-74093fe4a539
"
"__uuid__": "
98503cb3-f4b0-4bd2-beb5-513c59c0ff2c
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -1787,7 +1787,7 @@
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "
4802879a-b24f-4ba7-b6ed-041beb64e848
"
"__uuid__": "
a36e4363-ce13-4033-acc0-7e2f08c88450
"
},
"_type": 0,
"_sizeMode": 1,
...
...
@@ -2009,7 +2009,7 @@
"_cacheMode": 0,
"playTimes": 1,
"premultipliedAlpha": false,
"_armatureKey": "
bf26c5f2-4b9c-40ed-81e9-eaef026b4629#9d752e16-14eb-442e-9d61-65cd27710649
",
"_armatureKey": "
cfb7a1ba-9ac7-4b76-8b51-c4f224e21991#ebec5df7-aef6-4bc5-915c-b96a22e3b662
",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
...
...
@@ -2017,10 +2017,10 @@
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "
bf26c5f2-4b9c-40ed-81e9-eaef026b4629
"
"__uuid__": "
cfb7a1ba-9ac7-4b76-8b51-c4f224e21991
"
},
"_N$dragonAtlasAsset": {
"__uuid__": "
9d752e16-14eb-442e-9d61-65cd27710649
"
"__uuid__": "
ebec5df7-aef6-4bc5-915c-b96a22e3b662
"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 1,
...
...
@@ -2058,7 +2058,7 @@
"_id": "990vnW+4NDkbaQEJ9JCj0B"
},
{
"__type__": "
5d281qF/qNNe76egnLhRzGR
",
"__type__": "
4f541Rk07BNBpE7nTd0Ohhw
",
"_name": "",
"_objFlags": 0,
"node": {
...
...
@@ -2291,7 +2291,7 @@
"__id__": 2
},
"component": "",
"_componentId": "
2c469iR4IpNfbLtO3QtORY
1",
"_componentId": "
99f0enaNOdDzbWRrj9wgcs
1",
"handler": "onBtnCheckCat",
"customEventData": ""
},
...
...
@@ -2314,7 +2314,7 @@
"_cacheMode": 0,
"playTimes": -1,
"premultipliedAlpha": false,
"_armatureKey": "
da7c9495-a1e6-4f5f-b767-7e294dedd137#6e322c97-a8fa-4fec-8a9a-25fd2592dc3
8",
"_armatureKey": "
a4314297-cc65-4087-b9d9-3b2ce45ecded#b0086c17-52c5-4266-9e78-151aeeab138
8",
"_accTime": 0,
"_playCount": 0,
"_frameCache": null,
...
...
@@ -2322,10 +2322,10 @@
"_playing": false,
"_armatureCache": null,
"_N$dragonAsset": {
"__uuid__": "
da7c9495-a1e6-4f5f-b767-7e294dedd137
"
"__uuid__": "
a4314297-cc65-4087-b9d9-3b2ce45ecded
"
},
"_N$dragonAtlasAsset": {
"__uuid__": "
6e322c97-a8fa-4fec-8a9a-25fd2592dc3
8"
"__uuid__": "
b0086c17-52c5-4266-9e78-151aeeab138
8"
},
"_N$_defaultArmatureIndex": 0,
"_N$_animationIndex": 0,
...
...
@@ -2527,7 +2527,7 @@
"_id": "27oJBo5bZCIpkH3vJkrEF7"
},
{
"__type__": "
e57511eKsVITLa+RrTyPLcp
",
"__type__": "
9a306iLOjxJVKiXRXBD02Zf
",
"_name": "",
"_objFlags": 0,
"node": {
...
...
@@ -2536,41 +2536,41 @@
"_enabled": true,
"eff_audio": [
{
"__uuid__": "
f299987f-a34e-4b4a-9213-4bdacd4038fb
"
"__uuid__": "
8d12f00b-e1db-4650-9b59-a8574978138f
"
},
{
"__uuid__": "
59aecbca-5ac1-4d93-b786-587f5551c052
"
"__uuid__": "
71fe09b0-2b10-4ba0-a8b5-7f41d37aeaa4
"
},
{
"__uuid__": "0b
836691-59da-47d3-b65d-9d34409866c5
"
"__uuid__": "0b
1a57de-7ad8-46a7-8502-4cffedae0430
"
},
{
"__uuid__": "
15f9ced0-4319-4a2d-b9c8-e9829bc1083d
"
"__uuid__": "
fc564b12-5997-4653-8096-b8296dfb3b13
"
},
{
"__uuid__": "
4e0c732a-352e-4d2a-b7cc-7e36fb356813
"
"__uuid__": "
30e4375a-7da2-4adb-ad5c-6d6638e71d7b
"
},
{
"__uuid__": "
351a2b74-3dde-443c-8eca-8da7fbc2ab11
"
"__uuid__": "
586a79f4-1509-4849-94f0-4686e93e2b7e
"
},
{
"__uuid__": "
99dd4c7d-aa09-4a76-b624-baafb64454d7
"
"__uuid__": "
6fcd7945-f2cf-462f-ab1a-af29d0072f04
"
}
],
"eff_right": [
{
"__uuid__": "
1bce209e-9aa7-4fd2-8285-648c325608a6
"
"__uuid__": "
0a567ac7-db3f-4757-ac70-e9211e87f462
"
},
{
"__uuid__": "
af3658e8-cacb-4ee4-800c-0638485c6cae
"
"__uuid__": "
9246154b-0dde-4305-afcb-f116854ba247
"
}
],
"eff_error": [
{
"__uuid__": "
e874d9c3-5a64-44a5-b781-4c78f60591de
"
"__uuid__": "
19915c7d-d6d3-4cae-b14a-a32f6fd13ca0
"
},
{
"__uuid__": "
52dab8a5-e3a8-4336-bca9-f61e43afbc36
"
"__uuid__": "
d406f568-2734-4d90-af10-6fa72cfd9b45
"
}
],
"_id": "b6mbjgRkRFnaxtyq52WlFU"
...
...
@@ -2884,7 +2884,7 @@
"_lineHeight": 100,
"_enableWrapText": true,
"_N$file": {
"__uuid__": "
568ae1c9-cb99-47d5-8c4e-d81f867a415f
"
"__uuid__": "
01e14d47-4a59-4156-afd9-5380e1e644f7
"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
...
...
@@ -2917,7 +2917,7 @@
"_id": "edGG23vOdIkLJFuLNmoJmj"
},
{
"__type__": "
ab5f49envlATruhlpBUvO95
",
"__type__": "
67668VhpaNFUaIoAMoEa5P2
",
"_name": "",
"_objFlags": 0,
"node": {
...
...
@@ -2977,7 +2977,7 @@
"_id": "29zXboiXFBKoIV4PQ2liTe"
},
{
"__type__": "
2c469iR4IpNfbLtO3QtORY
1",
"__type__": "
99f0enaNOdDzbWRrj9wgcs
1",
"_name": "",
"_objFlags": 0,
"node": {
...
...
@@ -3014,7 +3014,7 @@
"_id": "a3k/TXqjBMt7XYMYXMWKhs"
},
{
"__type__": "
fb71dj6TwJDf6Yla2pAmoDP
",
"__type__": "
ace0f8S1d9G25dvPRXirvp9
",
"_name": "",
"_objFlags": 0,
"node": {
...
...
@@ -3038,7 +3038,7 @@
"_id": "5eOVDDzARGnoMLcNXyk5ml"
},
{
"__type__": "
f57a59UdqdP8ov6RSRR9Byx
",
"__type__": "
e5e413q3hFN3LUjwTNOp/Ph
",
"_name": "",
"_objFlags": 0,
"node": {
...
...
assets/OP26/scene/OP26.fire.meta
View file @
2cce1d42
{
"ver": "1.2.9",
"uuid": "
6cb7e3d1-1490-4254-a3a6-f41d17b47d98
",
"uuid": "
706163b4-d6d1-4389-895c-794587afe789
",
"asyncLoadAssets": false,
"autoReleaseAssets": false,
"subMetas": {}
...
...
assets/OP26/scene/OP26.js
View file @
2cce1d42
...
...
@@ -114,7 +114,7 @@ var game = cc.Class({
for
(
var
i
=
0
;
i
<
itemArr
.
length
;
i
++
)
{
let
newItem
=
cc
.
instantiate
(
this
.
Item
);
//更新子项
var
com
=
newItem
.
getChildByName
(
"
item
"
).
getComponent
(
"
item
"
);
var
com
=
newItem
.
getChildByName
(
"
item
"
).
getComponent
(
"
OP26_
item
"
);
let
itemInfo
=
itemArr
[
i
];
com
.
updateUI
(
itemInfo
);
newItem
.
active
=
true
;
...
...
@@ -330,7 +330,7 @@ var game = cc.Class({
//显示结束效果界面
showEndEffect
()
{
this
.
nodEndEffect
.
getComponent
(
"
nodEndEffect
"
).
onShow
();
this
.
nodEndEffect
.
getComponent
(
"
OP26_
nodEndEffect
"
).
onShow
();
},
showRestartBtn
()
{
...
...
assets/OP26/scene/OP26.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
2c469891-e08a-4d7d-b2ed-3b742d3916
35",
"uuid": "
99f0e9da-34e7-43cd-b591-ae3f7081cb
35",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script.meta
View file @
2cce1d42
{
"ver": "1.1.2",
"uuid": "
3c871b09-63a5-4601-9f78-9897ddbc50fe
",
"uuid": "
064f82a2-9ccc-4622-bde7-e2389052d030
",
"isBundle": false,
"bundleName": "",
"priority": 1,
...
...
assets/OP26/script/common.meta
View file @
2cce1d42
{
"ver": "1.1.2",
"uuid": "
9199e755-6e4e-40bf-96ff-b26b935e9c99
",
"uuid": "
c9e18888-6d56-4b49-bf54-67880648aa84
",
"isBundle": false,
"bundleName": "",
"priority": 1,
...
...
assets/OP26/script/common/view.js
→
assets/OP26/script/common/
OP26_
view.js
View file @
2cce1d42
File moved
assets/OP26/script/
game/item
.js.meta
→
assets/OP26/script/
common/OP26_view
.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "a
b5f4f5e-9ef9-404e-bba1-969054bcef79
",
"uuid": "a
ce0ff12-d5df-46db-976f-3d15e2aefa7d
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script/common/_preDefine.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
53290cc2-6310-451f-928b-990179d00b99
",
"uuid": "
ed027650-eef1-4d4a-8607-96089bfe5c0d
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script/common/eff_welldown.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
b637a61d-21a5-4bea-bc84-eec1b5e12ef0
",
"uuid": "
3d5901e6-b64e-4c68-84e4-fe328af12cca
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script/common/utils.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
7ba78998-9836-41a6-a234-c3f16a93ca1e
",
"uuid": "
ed5ab02d-69fc-44a5-8740-5188e91eda54
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script/game.meta
View file @
2cce1d42
{
"ver": "1.1.2",
"uuid": "
bd3c0fc9-1223-4ef8-96c1-b4521d346add
",
"uuid": "
51ebc409-ee43-4999-82a4-5e4dca42eca3
",
"isBundle": false,
"bundleName": "",
"priority": 1,
...
...
assets/OP26/script/game/demo_03_fireworks_2.js
→
assets/OP26/script/game/
OP26_
demo_03_fireworks_2.js
View file @
2cce1d42
File moved
assets/OP26/script/
common/view
.js.meta
→
assets/OP26/script/
game/OP26_demo_03_fireworks_2
.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
fb71d8fa-4f02-437f-a625-6b6a409a80cf
",
"uuid": "
e5e41dea-de11-4ddc-b523-c1334ea7f3e1
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script/game/item.js
→
assets/OP26/script/game/
OP26_
item.js
View file @
2cce1d42
File moved
assets/OP26/script/game/
nodEndEffect
.js.meta
→
assets/OP26/script/game/
OP26_item
.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
5d281a85-fea3-4d7b-be9e-8272e1473191
",
"uuid": "
67668561-a5a3-4551-a228-00ca046b93f6
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script/game/nodEndEffect.js
→
assets/OP26/script/game/
OP26_
nodEndEffect.js
View file @
2cce1d42
File moved
assets/OP26/script/game/
demo_03_fireworks_2
.js.meta
→
assets/OP26/script/game/
OP26_nodEndEffect
.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
f57a5f54-76a7-4ff2-8bfa-452451f41cb1
",
"uuid": "
4f541464-d3b0-4d06-913b-9d37743a1870
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script/game/speaker.js
→
assets/OP26/script/game/
OP26_
speaker.js
View file @
2cce1d42
File moved
assets/OP26/script/game/OP26_speaker.js.meta
0 → 100644
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "9a30688b-3a3c-4954-a897-457043d3665f",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
assets/OP26/script/game/enum.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
3fe8722e-f0cb-4a2d-8dd6-498811924c76
",
"uuid": "
b64f00d1-5463-4462-bc33-b0a4ebf89ba1
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script/game/exchangeNode.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
86edab97-2a4a-4d23-9c40-9c28ecca5364
",
"uuid": "
186dc013-01b2-41d2-992d-7b3ad5d3c13b
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script/game/handMove.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
5b6c7912-3493-46f1-b08c-1298e2566bad
",
"uuid": "
14bf3b4d-27e6-46f5-8be0-13c67bffa8aa
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script/game/runtime.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
e314ccd0-b192-413d-a7c9-7c5b01d54c61
",
"uuid": "
8e7b7ed3-a57d-4263-a5e9-b475d589bc10
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script/game/speaker.js.meta
deleted
100644 → 0
View file @
567cf825
{
"ver": "1.0.8",
"uuid": "e5751d5e-2ac5-484c-b6be-46b4f23cb729",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
"loadPluginInEditor": false,
"subMetas": {}
}
\ No newline at end of file
assets/OP26/script/manager.meta
View file @
2cce1d42
{
"ver": "1.1.2",
"uuid": "
9cb6d864-d4df-40f8-8f83-2a97e4556266
",
"uuid": "
5a457342-688a-4ffe-84aa-c6b0973ecc12
",
"isBundle": false,
"bundleName": "",
"priority": 1,
...
...
assets/OP26/script/manager/data_mgr.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
700e8a00-f472-42e6-b42c-d47cafaaead4
",
"uuid": "
6884b693-9180-46af-bbcd-137ebb64530e
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script/manager/event_mgr.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
38562de1-c2c5-4a3a-8664-aa181c4870b
a",
"uuid": "
dadc89a3-a102-4839-9bff-92201d0dcdc
a",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script/manager/local_storage.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
c17c1ad0-a74e-4b0f-8059-1401bce2484a
",
"uuid": "
521c3ad5-b219-48a0-a311-c787e539f3e8
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script/manager/res_mgr.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
5e20d23d-5c47-42e6-8e33-856bcee5cf27
",
"uuid": "
8afd281e-973a-4a8e-ba9a-ae081879d2da
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/script/manager/snd_mgr.js.meta
View file @
2cce1d42
{
"ver": "1.0.8",
"uuid": "
91f4535b-56b4-4449-b3ce-b72bdab4d088
",
"uuid": "
28ceaade-6a8e-4ad8-8bc7-a99bdbf31c7b
",
"isPlugin": false,
"loadPluginInWeb": true,
"loadPluginInNative": true,
...
...
assets/OP26/textures.meta
View file @
2cce1d42
{
"ver": "1.1.2",
"uuid": "c
d0dc47d-af97-4cad-a807-b6e43c9e71bc
",
"uuid": "c
a6bc1a8-0af0-42c6-8098-6fd7f8fa3ef6
",
"isBundle": false,
"bundleName": "",
"priority": 1,
...
...
assets/OP26/textures/bg.png.meta
View file @
2cce1d42
{
"ver": "2.3.5",
"uuid": "
9f9f8fbc-125b-4137-bb11-ae8959fd8797
",
"uuid": "
18687265-e68e-48ae-a6cd-7c914cad5228
",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
...
...
@@ -13,8 +13,8 @@
"subMetas": {
"bg": {
"ver": "1.0.4",
"uuid": "
f8fbed6a-a3ff-402a-81ba-74093fe4a539
",
"rawTextureUuid": "
9f9f8fbc-125b-4137-bb11-ae8959fd8797
",
"uuid": "
98503cb3-f4b0-4bd2-beb5-513c59c0ff2c
",
"rawTextureUuid": "
18687265-e68e-48ae-a6cd-7c914cad5228
",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
...
...
assets/OP26/textures/bg_back.jpg.meta
View file @
2cce1d42
{
"ver": "2.3.5",
"uuid": "
5424a88e-6ab1-4956-a66b-4d15a33efd27
",
"uuid": "
7d1d60fd-28e3-4016-a9f1-520d5c47fea2
",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
...
...
@@ -13,8 +13,8 @@
"subMetas": {
"bg_back": {
"ver": "1.0.4",
"uuid": "
735a1488-afe5-47be-bd00-08b3101a32d
2",
"rawTextureUuid": "
5424a88e-6ab1-4956-a66b-4d15a33efd27
",
"uuid": "
1a4ee318-3a34-480e-97f6-9135ab7fa15
2",
"rawTextureUuid": "
7d1d60fd-28e3-4016-a9f1-520d5c47fea2
",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
...
...
assets/OP26/textures/bg_circle.png.meta
View file @
2cce1d42
{
"ver": "2.3.5",
"uuid": "
8fb29d85-6ff0-4e5f-a214-aa41c9d1fce5
",
"uuid": "
476fd208-330c-4c02-89be-d7db13b8c3f1
",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
...
...
@@ -13,8 +13,8 @@
"subMetas": {
"bg_circle": {
"ver": "1.0.4",
"uuid": "
9fc070b9-c795-4286-ab64-fda0ed90a7c2
",
"rawTextureUuid": "
8fb29d85-6ff0-4e5f-a214-aa41c9d1fce5
",
"uuid": "
2474e4c5-e0d8-4f7d-9ca7-a0cd4a8155a7
",
"rawTextureUuid": "
476fd208-330c-4c02-89be-d7db13b8c3f1
",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
...
...
assets/OP26/textures/bg_desk.png.meta
View file @
2cce1d42
{
"ver": "2.3.5",
"uuid": "
93c811ef-25f5-4678-abe7-0b90efa5c80f
",
"uuid": "
e0ec0325-3af2-41a7-a448-a25216b1f422
",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
...
...
@@ -13,8 +13,8 @@
"subMetas": {
"bg_desk": {
"ver": "1.0.4",
"uuid": "
5bb955c5-5f5e-4a17-80ca-63e8a67d7cb0
",
"rawTextureUuid": "
93c811ef-25f5-4678-abe7-0b90efa5c80f
",
"uuid": "
7e5a8a89-d649-415d-85f5-e2aa87d24f95
",
"rawTextureUuid": "
e0ec0325-3af2-41a7-a448-a25216b1f422
",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
...
...
assets/OP26/textures/btn_next.png.meta
View file @
2cce1d42
{
"ver": "2.3.5",
"uuid": "
94dc9d9a-440f-476f-97f9-ba6902108a15
",
"uuid": "
b847b67d-5d9d-41c9-ac9d-22cce1688adc
",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
...
...
@@ -13,8 +13,8 @@
"subMetas": {
"btn_next": {
"ver": "1.0.4",
"uuid": "
b298ae16-aa70-4212-a5db-895e05c05c63
",
"rawTextureUuid": "
94dc9d9a-440f-476f-97f9-ba6902108a15
",
"uuid": "
7d9aab7e-a8b6-4c16-a94f-ce04e2938e2c
",
"rawTextureUuid": "
b847b67d-5d9d-41c9-ac9d-22cce1688adc
",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
...
...
assets/OP26/textures/btn_restart.png.meta
View file @
2cce1d42
{
"ver": "2.3.5",
"uuid": "
767a3547-c096-4ec6-afed-321401e32736
",
"uuid": "
d92f829d-173e-4742-8ce6-b5f6478050b8
",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
...
...
@@ -13,8 +13,8 @@
"subMetas": {
"btn_restart": {
"ver": "1.0.4",
"uuid": "
2649c132-7a23-4bf6-bbed-8e5bba2cac10
",
"rawTextureUuid": "
767a3547-c096-4ec6-afed-321401e32736
",
"uuid": "
b73b9f51-4591-404e-8a74-b3f2db14b49a
",
"rawTextureUuid": "
d92f829d-173e-4742-8ce6-b5f6478050b8
",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
...
...
assets/OP26/textures/btn_return.png.meta
View file @
2cce1d42
{
"ver": "2.3.5",
"uuid": "
75d861c1-04df-4767-94f7-334e4340f5e7
",
"uuid": "
c69909e3-6bee-488e-9b79-e01bad57da18
",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
...
...
@@ -13,8 +13,8 @@
"subMetas": {
"btn_return": {
"ver": "1.0.4",
"uuid": "
faac180c-70b6-4236-827f-c271eec3fce6
",
"rawTextureUuid": "
75d861c1-04df-4767-94f7-334e4340f5e7
",
"uuid": "
d797d08b-75bc-4e9a-abd6-8c6690607c8e
",
"rawTextureUuid": "
c69909e3-6bee-488e-9b79-e01bad57da18
",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
...
...
assets/OP26/textures/icon_apple.png.meta
View file @
2cce1d42
{
"ver": "2.3.5",
"uuid": "
457d15c0-2fa1-4e90-831d-bd70517a1cf6
",
"uuid": "
9d150605-866a-4a3a-9173-5f4447204888
",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
...
...
@@ -13,8 +13,8 @@
"subMetas": {
"icon_apple": {
"ver": "1.0.4",
"uuid": "
f55c9f84-8b05-4b39-9471-083542762d5a
",
"rawTextureUuid": "
457d15c0-2fa1-4e90-831d-bd70517a1cf6
",
"uuid": "
2a86ba8f-24c1-44aa-b2c4-3e310bdbd6e7
",
"rawTextureUuid": "
9d150605-866a-4a3a-9173-5f4447204888
",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
...
...
assets/OP26/textures/icon_hand.png.meta
View file @
2cce1d42
{
"ver": "2.3.5",
"uuid": "
ab55e4dc-09fe-4073-860b-166efcee0377
",
"uuid": "
0b333b9c-4b21-4d1e-92fc-e15fceb27a0c
",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
...
...
@@ -13,8 +13,8 @@
"subMetas": {
"icon_hand": {
"ver": "1.0.4",
"uuid": "
1087a2bf-b4ec-42b3-8ac2-1ed5c4835605
",
"rawTextureUuid": "
ab55e4dc-09fe-4073-860b-166efcee0377
",
"uuid": "
23c1eb04-64c6-4ee4-9d84-8b8fae0a7834
",
"rawTextureUuid": "
0b333b9c-4b21-4d1e-92fc-e15fceb27a0c
",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
...
...
assets/OP26/textures/spt_effLight.png.meta
View file @
2cce1d42
{
"ver": "2.3.5",
"uuid": "
e895900a-8c08-4f2d-9e90-e42cd803b326
",
"uuid": "
84d271a9-cfe1-4291-a45a-e15f5e08afd1
",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
...
...
@@ -13,8 +13,8 @@
"subMetas": {
"spt_effLight": {
"ver": "1.0.4",
"uuid": "
4802879a-b24f-4ba7-b6ed-041beb64e848
",
"rawTextureUuid": "
e895900a-8c08-4f2d-9e90-e42cd803b326
",
"uuid": "
a36e4363-ce13-4033-acc0-7e2f08c88450
",
"rawTextureUuid": "
84d271a9-cfe1-4291-a45a-e15f5e08afd1
",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
...
...
bin/buildCocos.js
View file @
2cce1d42
...
...
@@ -330,6 +330,83 @@ async function replaceUuids() {
}
console
.
log
(
'
build_step_0 完成~!
'
);
const
sceneName
=
getFolderName
(
path
);
let
scriptUUids
=
[];
await
fileForEach
(
path
,
(
path
)
=>
{
const
nameList
=
path
.
split
(
'
.
'
);
if
(
nameList
[
nameList
.
length
-
1
]
==
'
meta
'
)
{
if
([
'
js
'
,
'
ts
'
].
includes
(
nameList
[
nameList
.
length
-
2
]))
{
const
scriptNameList
=
nameList
[
nameList
.
length
-
3
].
split
(
'
/
'
);
const
scriptName
=
scriptNameList
[
scriptNameList
.
length
-
1
];
const
data
=
JSON
.
parse
(
fs
.
readFileSync
(
path
));
scriptUUids
.
push
({
uuid
:
data
.
uuid
,
shortUuid
:
getShortUuid
(
data
.
uuid
),
scriptName
:
scriptName
,
fileName
:
nameList
[
nameList
.
length
-
3
]
+
'
.
'
+
nameList
[
nameList
.
length
-
2
],
});
}
}
});
await
fileForEach
(
path
,
(
path
)
=>
{
const
nameList
=
path
.
split
(
'
.
'
);
const
expectNameList
=
[
'
fire
'
,
'
prefab
'
];
if
(
expectNameList
.
includes
(
nameList
[
nameList
.
length
-
1
]))
{
const
data
=
fs
.
readFileSync
(
path
);
scriptUUids
.
forEach
(
uuiddata
=>
{
if
(
uuiddata
.
scriptName
==
sceneName
)
{
uuiddata
.
includes
=
false
;
return
;
}
if
(
data
.
includes
(
uuiddata
.
shortUuid
))
{
uuiddata
.
includes
=
true
;
}
else
{
uuiddata
.
includes
=
false
;
}
});
}
});
scriptUUids
=
scriptUUids
.
filter
(
uuiddata
=>
uuiddata
.
includes
);
await
fileForEach
(
path
,
(
path
)
=>
{
const
nameList
=
path
.
split
(
'
.
'
);
const
expectNameList
=
[
'
js
'
,
'
ts
'
];
if
(
expectNameList
.
includes
(
nameList
[
nameList
.
length
-
1
]))
{
const
data
=
fs
.
readFileSync
(
path
);
scriptUUids
.
forEach
(
uuiddata
=>
{
const
strList
=
[
`.getComponent("
${
uuiddata
.
scriptName
}
")`
,
`.getComponent('
${
uuiddata
.
scriptName
}
')`
,
`.getComponent(\`
${
uuiddata
.
scriptName
}
\`)`
];
strList
.
forEach
(
str
=>
{
if
(
data
.
includes
(
str
))
{
fileReplace
(
path
,
str
,
`.getComponent("
${
sceneName
}
_
${
uuiddata
.
scriptName
}
")`
);
}
});
});
}
});
scriptUUids
.
forEach
((
uuiddata
)
=>
{
const
data
=
fs
.
readFileSync
(
uuiddata
.
fileName
);
const
metaData
=
fs
.
readFileSync
(
uuiddata
.
fileName
+
'
.meta
'
);
const
new_fileName
=
`
${
sceneName
}
_
${
uuiddata
.
scriptName
}
`
;
const
newPath
=
uuiddata
.
fileName
.
split
(
'
/
'
).
map
((
str
,
idx
,
arr
)
=>
{
if
(
idx
==
arr
.
length
-
1
)
{
const
nameList
=
str
.
split
(
'
.
'
);
return
`
${
new_fileName
}
.
${
nameList
[
nameList
.
length
-
1
]}
`
;
}
return
str
;
}).
join
(
'
/
'
);
fs
.
writeFileSync
(
newPath
,
data
);
fs
.
rmSync
(
uuiddata
.
fileName
);
fs
.
writeFileSync
(
newPath
+
'
.meta
'
,
metaData
);
fs
.
rmSync
(
uuiddata
.
fileName
+
'
.meta
'
);
});
console
.
log
(
scriptUUids
.
map
(
uuiddata
=>
uuiddata
.
scriptName
));
}
function
replaceIndexHtml
()
{
...
...
@@ -339,6 +416,8 @@ function replaceIndexHtml() {
module
.
exports
=
{
replaceUuids
:
replaceUuids
,
build
:
async
function
()
{
const
startTime
=
new
Date
().
getTime
();
...
...
package-lock.json
View file @
2cce1d42
This diff is collapsed.
Click to expand it.
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