Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
TNGD_CaveCruiser
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
SparkProjects
TNGD_CaveCruiser
Commits
83ea78f6
Commit
83ea78f6
authored
Oct 08, 2024
by
haiyoucuv
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传
parent
c07209ee
Changes
26
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
26 changed files
with
1552 additions
and
33 deletions
+1552
-33
ErrorPanel.meta
assets/Bundles/ErrorPanel.meta
+11
-0
ErrorPanel.prefab
assets/Bundles/ErrorPanel/ErrorPanel.prefab
+771
-0
ErrorPanel.prefab.meta
assets/Bundles/ErrorPanel/ErrorPanel.prefab.meta
+13
-0
png.meta
assets/Bundles/ErrorPanel/png.meta
+9
-0
ErrorPanel.pac
assets/Bundles/ErrorPanel/png/ErrorPanel.pac
+3
-0
ErrorPanel.pac.meta
assets/Bundles/ErrorPanel/png/ErrorPanel.pac.meta
+1
-0
Game unavailable now.png
assets/Bundles/ErrorPanel/png/Game unavailable now.png
+0
-0
Game unavailable now.png.meta
assets/Bundles/ErrorPanel/png/Game unavailable now.png.meta
+134
-0
Network error detected.png
assets/Bundles/ErrorPanel/png/Network error detected.png
+0
-0
Network error detected.png.meta
...ts/Bundles/ErrorPanel/png/Network error detected.png.meta
+134
-0
System busy now.png
assets/Bundles/ErrorPanel/png/System busy now.png
+0
-0
System busy now.png.meta
assets/Bundles/ErrorPanel/png/System busy now.png.meta
+134
-0
errorBg.png
assets/Bundles/ErrorPanel/png/errorBg.png
+0
-0
errorBg.png.meta
assets/Bundles/ErrorPanel/png/errorBg.png.meta
+134
-0
ok.png
assets/Bundles/ErrorPanel/png/ok.png
+0
-0
ok.png.meta
assets/Bundles/ErrorPanel/png/ok.png.meta
+134
-0
NoPrizePanel.prefab
assets/Bundles/NoPrizePanel/NoPrizePanel.prefab
+0
-1
RankPanel.prefab
assets/Bundles/RankPanel/RankPanel.prefab
+16
-16
GameMgr.ts
assets/Scripts/GameMgr.ts
+12
-10
ErrorPanel.ts
assets/Scripts/Panels/ErrorPanel.ts
+40
-0
ErrorPanel.ts.meta
assets/Scripts/Panels/ErrorPanel.ts.meta
+1
-0
NoPrizePanel.ts
assets/Scripts/Panels/NoPrizePanel.ts
+0
-1
start.json
preview-template/mock/app/game/start.json
+1
-1
packages.json
profiles/v2/editor/packages.json
+1
-1
reference-image.json
profiles/v2/packages/reference-image.json
+1
-1
scene.json
profiles/v2/packages/scene.json
+2
-2
No files found.
assets/Bundles/ErrorPanel.meta
0 → 100644
View file @
83ea78f6
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "fdebacd3-a6f5-4010-adb5-40a100a869d1",
"files": [],
"subMetas": {},
"userData": {
"isBundle": true
}
}
assets/Bundles/ErrorPanel/ErrorPanel.prefab
0 → 100644
View file @
83ea78f6
This diff is collapsed.
Click to expand it.
assets/Bundles/ErrorPanel/ErrorPanel.prefab.meta
0 → 100644
View file @
83ea78f6
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "6446a19f-0546-4738-b4df-6430220eb246",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "ErrorPanel"
}
}
assets/Bundles/ErrorPanel/png.meta
0 → 100644
View file @
83ea78f6
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "f24e2beb-3a22-4629-818f-2b787ce8b73a",
"files": [],
"subMetas": {},
"userData": {}
}
assets/Bundles/ErrorPanel/png/ErrorPanel.pac
0 → 100644
View file @
83ea78f6
{
"__type__": "cc.SpriteAtlas"
}
assets/Bundles/ErrorPanel/png/ErrorPanel.pac.meta
0 → 100644
View file @
83ea78f6
{"ver":"1.0.8","importer":"auto-atlas","imported":true,"uuid":"0e3728e2-51cc-4dae-afd2-846c2371147c","files":[".json"],"subMetas":{},"userData":{"maxWidth":2048,"maxHeight":2048,"padding":2,"allowRotation":true,"forceSquared":false,"powerOfTwo":false,"algorithm":"MaxRects","format":"png","quality":80,"contourBleed":true,"paddingBleed":true,"filterUnused":false,"removeTextureInBundle":false,"removeImageInBundle":false,"removeSpriteAtlasInBundle":false,"compressSettings":{},"textureSetting":{"wrapModeS":"repeat","wrapModeT":"repeat","minfilter":"linear","magfilter":"linear","mipfilter":"none","anisotropy":0}}}
assets/Bundles/ErrorPanel/png/Game unavailable now.png
0 → 100644
View file @
83ea78f6
6.43 KB
assets/Bundles/ErrorPanel/png/Game unavailable now.png.meta
0 → 100644
View file @
83ea78f6
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "c7e3f1df-a26e-4730-9df3-06a3a290182d",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "c7e3f1df-a26e-4730-9df3-06a3a290182d@6c48a",
"displayName": "Game unavailable now",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "c7e3f1df-a26e-4730-9df3-06a3a290182d",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "c7e3f1df-a26e-4730-9df3-06a3a290182d@f9941",
"displayName": "Game unavailable now",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 396,
"height": 149,
"rawWidth": 396,
"rawHeight": 149,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-198,
-74.5,
0,
198,
-74.5,
0,
-198,
74.5,
0,
198,
74.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
149,
396,
149,
0,
0,
396,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-198,
-74.5,
0
],
"maxPos": [
198,
74.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "c7e3f1df-a26e-4730-9df3-06a3a290182d@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "c7e3f1df-a26e-4730-9df3-06a3a290182d@6c48a"
}
}
assets/Bundles/ErrorPanel/png/Network error detected.png
0 → 100644
View file @
83ea78f6
6.31 KB
assets/Bundles/ErrorPanel/png/Network error detected.png.meta
0 → 100644
View file @
83ea78f6
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "42251f2d-565e-4d21-a53d-b1d87970e855",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "42251f2d-565e-4d21-a53d-b1d87970e855@6c48a",
"displayName": "Network error detected",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "42251f2d-565e-4d21-a53d-b1d87970e855",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "42251f2d-565e-4d21-a53d-b1d87970e855@f9941",
"displayName": "Network error detected",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 395,
"height": 148,
"rawWidth": 395,
"rawHeight": 148,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-197.5,
-74,
0,
197.5,
-74,
0,
-197.5,
74,
0,
197.5,
74,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
148,
395,
148,
0,
0,
395,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-197.5,
-74,
0
],
"maxPos": [
197.5,
74,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "42251f2d-565e-4d21-a53d-b1d87970e855@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "42251f2d-565e-4d21-a53d-b1d87970e855@6c48a"
}
}
assets/Bundles/ErrorPanel/png/System busy now.png
0 → 100644
View file @
83ea78f6
6.41 KB
assets/Bundles/ErrorPanel/png/System busy now.png.meta
0 → 100644
View file @
83ea78f6
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "525d4515-b301-48a2-bca0-4de5c1b4f586",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "525d4515-b301-48a2-bca0-4de5c1b4f586@6c48a",
"displayName": "System busy now",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "525d4515-b301-48a2-bca0-4de5c1b4f586",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "525d4515-b301-48a2-bca0-4de5c1b4f586@f9941",
"displayName": "System busy now",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 300,
"height": 143,
"rawWidth": 300,
"rawHeight": 143,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-150,
-71.5,
0,
150,
-71.5,
0,
-150,
71.5,
0,
150,
71.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
143,
300,
143,
0,
0,
300,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-150,
-71.5,
0
],
"maxPos": [
150,
71.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "525d4515-b301-48a2-bca0-4de5c1b4f586@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "525d4515-b301-48a2-bca0-4de5c1b4f586@6c48a"
}
}
assets/Bundles/ErrorPanel/png/errorBg.png
0 → 100644
View file @
83ea78f6
67.6 KB
assets/Bundles/ErrorPanel/png/errorBg.png.meta
0 → 100644
View file @
83ea78f6
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "ab21a250-f25c-4e49-8d1e-269da20f2185",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "ab21a250-f25c-4e49-8d1e-269da20f2185@6c48a",
"displayName": "errorBg",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "ab21a250-f25c-4e49-8d1e-269da20f2185",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "ab21a250-f25c-4e49-8d1e-269da20f2185@f9941",
"displayName": "errorBg",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 625,
"height": 488,
"rawWidth": 625,
"rawHeight": 488,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-312.5,
-244,
0,
312.5,
-244,
0,
-312.5,
244,
0,
312.5,
244,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
488,
625,
488,
0,
0,
625,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-312.5,
-244,
0
],
"maxPos": [
312.5,
244,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "ab21a250-f25c-4e49-8d1e-269da20f2185@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "ab21a250-f25c-4e49-8d1e-269da20f2185@6c48a"
}
}
assets/Bundles/ErrorPanel/png/ok.png
0 → 100644
View file @
83ea78f6
16.4 KB
assets/Bundles/ErrorPanel/png/ok.png.meta
0 → 100644
View file @
83ea78f6
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "50d760ab-1bc6-4963-b508-aaa6039994a8",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "50d760ab-1bc6-4963-b508-aaa6039994a8@6c48a",
"displayName": "ok",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "50d760ab-1bc6-4963-b508-aaa6039994a8",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "50d760ab-1bc6-4963-b508-aaa6039994a8@f9941",
"displayName": "ok",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 250,
"height": 83,
"rawWidth": 250,
"rawHeight": 83,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-125,
-41.5,
0,
125,
-41.5,
0,
-125,
41.5,
0,
125,
41.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
83,
250,
83,
0,
0,
250,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-125,
-41.5,
0
],
"maxPos": [
125,
41.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "50d760ab-1bc6-4963-b508-aaa6039994a8@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "50d760ab-1bc6-4963-b508-aaa6039994a8@6c48a"
}
}
assets/Bundles/NoPrizePanel/NoPrizePanel.prefab
View file @
83ea78f6
...
@@ -1895,7 +1895,6 @@
...
@@ -1895,7 +1895,6 @@
"errorTip": {
"errorTip": {
"__id__": 68
"__id__": 68
},
},
"errorTip2": null,
"_id": ""
"_id": ""
},
},
{
{
...
...
assets/Bundles/RankPanel/RankPanel.prefab
View file @
83ea78f6
...
@@ -469,7 +469,7 @@
...
@@ -469,7 +469,7 @@
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": -0.5,
"x": -0.5
000000000000568
,
"y": 232.5,
"y": 232.5,
"z": 0
"z": 0
},
},
...
@@ -644,7 +644,7 @@
...
@@ -644,7 +644,7 @@
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": -137.5,
"x": -137.5
0000000000006
,
"y": 329.5,
"y": 329.5,
"z": 0
"z": 0
},
},
...
@@ -822,7 +822,7 @@
...
@@ -822,7 +822,7 @@
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": -137.5,
"x": -137.5
0000000000006
,
"y": 341,
"y": 341,
"z": 0
"z": 0
},
},
...
@@ -1053,7 +1053,7 @@
...
@@ -1053,7 +1053,7 @@
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 118.
5
,
"x": 118.
49999999999994
,
"y": 329.5,
"y": 329.5,
"z": 0
"z": 0
},
},
...
@@ -1231,7 +1231,7 @@
...
@@ -1231,7 +1231,7 @@
},
},
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 131.
5
,
"x": 131.
49999999999994
,
"y": 341,
"y": 341,
"z": 0
"z": 0
},
},
...
@@ -2146,7 +2146,7 @@
...
@@ -2146,7 +2146,7 @@
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 0,
"x": 0,
"y": 0,
"y":
5
0,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -2186,8 +2186,8 @@
...
@@ -2186,8 +2186,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
302.05322265625
,
"width":
288.0354919433594
,
"height":
28.8918
"height":
90.39999999999999
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -2222,13 +2222,13 @@
...
@@ -2222,13 +2222,13 @@
"b": 255,
"b": 255,
"a": 255
"a": 255
},
},
"_string": "
No one is currently on the list.
",
"_string": "
Be the first to play and climb\nthe leaderboard!
",
"_horizontalAlign": 1,
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 22.93,
"_actualFontSize": 22.93,
"_fontSize": 22.93,
"_fontSize": 22.93,
"_fontFamily": "Arial",
"_fontFamily": "Arial",
"_lineHeight":
22.93
,
"_lineHeight":
40
,
"_overflow": 0,
"_overflow": 0,
"_enableWrapText": true,
"_enableWrapText": true,
"_font": null,
"_font": null,
...
@@ -2785,7 +2785,7 @@
...
@@ -2785,7 +2785,7 @@
"_lpos": {
"_lpos": {
"__type__": "cc.Vec3",
"__type__": "cc.Vec3",
"x": 0,
"x": 0,
"y": 0,
"y":
5
0,
"z": 0
"z": 0
},
},
"_lrot": {
"_lrot": {
...
@@ -2825,8 +2825,8 @@
...
@@ -2825,8 +2825,8 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width":
302.05322265625
,
"width":
288.0354919433594
,
"height":
28.8918
"height":
90.39999999999999
},
},
"_anchorPoint": {
"_anchorPoint": {
"__type__": "cc.Vec2",
"__type__": "cc.Vec2",
...
@@ -2861,13 +2861,13 @@
...
@@ -2861,13 +2861,13 @@
"b": 255,
"b": 255,
"a": 255
"a": 255
},
},
"_string": "
No one is currently on the list.
",
"_string": "
Be the first to play and climb\nthe leaderboard!
",
"_horizontalAlign": 1,
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 22.93,
"_actualFontSize": 22.93,
"_fontSize": 22.93,
"_fontSize": 22.93,
"_fontFamily": "Arial",
"_fontFamily": "Arial",
"_lineHeight":
22.93
,
"_lineHeight":
40
,
"_overflow": 0,
"_overflow": 0,
"_enableWrapText": true,
"_enableWrapText": true,
"_font": null,
"_font": null,
...
@@ -2975,7 +2975,7 @@
...
@@ -2975,7 +2975,7 @@
},
},
"_contentSize": {
"_contentSize": {
"__type__": "cc.Size",
"__type__": "cc.Size",
"width": 750,
"width": 750
.0000000000001
,
"height": 1624
"height": 1624
},
},
"_anchorPoint": {
"_anchorPoint": {
...
...
assets/Scripts/GameMgr.ts
View file @
83ea78f6
...
@@ -5,6 +5,7 @@ import store from "./store/store";
...
@@ -5,6 +5,7 @@ import store from "./store/store";
import
{
HomeScene
}
from
"./Scenes/HomeScene"
;
import
{
HomeScene
}
from
"./Scenes/HomeScene"
;
import
NoPrizePanel
from
"./Panels/NoPrizePanel"
;
import
NoPrizePanel
from
"./Panels/NoPrizePanel"
;
import
PrizePanel
from
"./Panels/PrizePanel"
;
import
PrizePanel
from
"./Panels/PrizePanel"
;
import
ErrorPanel
from
"./Panels/ErrorPanel"
;
export
default
class
GameMgr
{
export
default
class
GameMgr
{
...
@@ -26,19 +27,20 @@ export default class GameMgr {
...
@@ -26,19 +27,20 @@ export default class GameMgr {
*/
*/
async
start
()
{
async
start
()
{
showWaiting
();
showWaiting
();
const
{
success
,
data
}
=
await
sendWebNet
(
WebNetName
.
start
,
{
const
{
success
,
data
,
code
}
=
await
sendWebNet
(
WebNetName
.
start
,
{
entryTokenId
:
store
.
miniAppQuery
.
entryTokenId
,
entryTokenId
:
store
.
miniAppQuery
.
entryTokenId
,
});
}
,
{
hideMsg
:
true
}
);
hideWaiting
();
hideWaiting
();
store
.
updateIndex
();
store
.
updateIndex
();
if
(
!
success
)
{
if
(
!
success
)
{
showPanel
(
ErrorPanel
,
{
code
:
code
});
return
false
;
return
false
;
}
}
const
decrypt
=
JSON
.
parse
(
AESDecrypt
(
data
,
"FDF817451A60EB6F"
,
"cDOiBC1n2QrkAY2P"
));
const
decrypt
=
JSON
.
parse
(
AESDecrypt
(
data
,
"FDF817451A60EB6F"
,
"cDOiBC1n2QrkAY2P"
));
const
{
recordId
}
=
decrypt
;
const
{
recordId
}
=
decrypt
;
this
.
gameInfo
=
{
this
.
gameInfo
=
{
recordId
,
recordId
,
...
@@ -63,7 +65,7 @@ export default class GameMgr {
...
@@ -63,7 +65,7 @@ export default class GameMgr {
const
encrypt
=
AESEncrypt
(
JSON
.
stringify
(
params
),
"FDF817451A60EB6F"
,
"cDOiBC1n2QrkAY2P"
);
const
encrypt
=
AESEncrypt
(
JSON
.
stringify
(
params
),
"FDF817451A60EB6F"
,
"cDOiBC1n2QrkAY2P"
);
const
{
success
,
data
}
=
await
sendWebNet
(
WebNetName
.
submit
,
{
const
{
success
,
data
}
=
await
sendWebNet
(
WebNetName
.
submit
,
{
encryptedData
:
encrypt
,
encryptedData
:
encrypt
,
},
{
},
{
// isGet: false,
// isGet: false,
...
@@ -81,17 +83,17 @@ export default class GameMgr {
...
@@ -81,17 +83,17 @@ export default class GameMgr {
showPanel
(
NoPrizePanel
,
{
showPanel
(
NoPrizePanel
,
{
highest
:
score
,
highest
:
score
,
score
,
score
,
errorMsg
:
"T
here are too many people currently
.
\n
"
+
errorMsg
:
"T
oo many players now
.
\n
"
+
"
You can check the coupon pack later
\n
"
+
"
Please come back later to check if
\n
"
+
"
to see if you
won."
,
"
you’ve
won."
,
});
});
}
else
if
(
+
data
.
thirdCode
==
10002
)
{
}
else
if
(
+
data
.
thirdCode
==
10002
)
{
showPanel
(
NoPrizePanel
,
{
showPanel
(
NoPrizePanel
,
{
highest
:
score
,
highest
:
score
,
score
,
score
,
errorMsg
:
"S
ystem exception
.
\n
"
+
errorMsg
:
"S
ervice currently unavailable
.
\n
"
+
"
You can check the coupon pack later
\n
"
+
"
Please come back later to check if
\n
"
+
"
to see if you
won."
,
"
you’ve
won."
,
});
});
}
else
{
}
else
{
showToast
(
data
.
thirdMsg
);
showToast
(
data
.
thirdMsg
);
...
...
assets/Scripts/Panels/ErrorPanel.ts
0 → 100644
View file @
83ea78f6
import
Panel
from
"../../Module/Panel"
;
import
{
_decorator
,
Button
,
Node
,
Sprite
,
SpriteFrame
}
from
"cc"
;
import
{
observer
}
from
"../store/decorators"
;
const
{
ccclass
,
property
}
=
_decorator
;
@
observer
@
ccclass
(
'ErrorPanel'
)
export
default
class
ErrorPanel
extends
Panel
{
static
bundle
:
string
=
"ErrorPanel"
;
static
skin
=
"ErrorPanel"
;
// static group = "ErrorPanel";
@
property
(
Node
)
ok
:
Node
=
null
;
@
property
(
Sprite
)
tip
:
Sprite
=
null
;
@
property
(
SpriteFrame
)
gameUnavailable
:
SpriteFrame
=
null
;
@
property
(
SpriteFrame
)
networkError
:
SpriteFrame
=
null
;
@
property
(
SpriteFrame
)
systemBusy
:
SpriteFrame
=
null
;
onLoad
()
{
this
.
ok
.
on
(
Button
.
EventType
.
CLICK
,
this
.
clickOK
);
}
protected
start
()
{
this
.
tip
.
spriteFrame
=
{
400001
:
this
.
gameUnavailable
,
400002
:
this
.
gameUnavailable
,
400003
:
this
.
systemBusy
,
100013
:
this
.
networkError
,
}[
this
.
data
.
code
]
||
this
.
networkError
;
}
clickOK
=
()
=>
{
this
.
hidePanel
();
}
}
assets/Scripts/Panels/ErrorPanel.ts.meta
0 → 100644
View file @
83ea78f6
{"ver":"4.0.24","importer":"typescript","imported":true,"uuid":"9c588668-a918-493b-a4cc-627d7f89a75a","files":[],"subMetas":{},"userData":{}}
assets/Scripts/Panels/NoPrizePanel.ts
View file @
83ea78f6
...
@@ -22,7 +22,6 @@ export default class NoPrizePanel extends Panel {
...
@@ -22,7 +22,6 @@ export default class NoPrizePanel extends Panel {
@
property
(
Node
)
box
:
Node
=
null
;
@
property
(
Node
)
box
:
Node
=
null
;
@
property
(
Node
)
errorTip
:
Node
=
null
;
@
property
(
Node
)
errorTip
:
Node
=
null
;
@
property
(
Node
)
errorTip2
:
Node
=
null
;
onLoad
()
{
onLoad
()
{
...
...
preview-template/mock/app/game/start.json
View file @
83ea78f6
{
{
"ok"
:
tru
e
,
"ok"
:
fals
e
,
"msg"
:
"ok"
,
"msg"
:
"ok"
,
"code"
:
0
,
"code"
:
0
,
"data"
:
"hId4l6KOn3coexfedjTQ48vx0NEZcG0Se2UrnuDcr8Y="
,
"data"
:
"hId4l6KOn3coexfedjTQ48vx0NEZcG0Se2UrnuDcr8Y="
,
...
...
profiles/v2/editor/packages.json
View file @
83ea78f6
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
"8"
:
{
"8"
:
{
"3
\\
extension"
:
{
"3
\\
extension"
:
{
"name"
:
"extension"
,
"name"
:
"extension"
,
"time"
:
172
7427011976
"time"
:
172
8353677505
}
}
}
}
}
}
...
...
profiles/v2/packages/reference-image.json
View file @
83ea78f6
...
@@ -3,7 +3,7 @@
...
@@ -3,7 +3,7 @@
"config"
:
{
"config"
:
{
"images"
:
[],
"images"
:
[],
"sceneUUID"
:
{},
"sceneUUID"
:
{},
"scene"
:
"
9e293cde-e27b-4902-808b-e884f3e9da32
"
"scene"
:
"
6446a19f-0546-4738-b4df-6430220eb246
"
},
},
"show"
:
false
"show"
:
false
}
}
profiles/v2/packages/scene.json
View file @
83ea78f6
...
@@ -1283,8 +1283,8 @@
...
@@ -1283,8 +1283,8 @@
"z"
:
0
"z"
:
0
},
},
"contentRect"
:
{
"contentRect"
:
{
"x"
:
-
810.8862852387347
,
"x"
:
-
704.2799743888494
,
"y"
:
-
839.3841229849393
,
"y"
:
-
150.93562353294638
,
"width"
:
508
,
"width"
:
508
,
"height"
:
700
"height"
:
700
},
},
...
...
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