- 添加 ProgressTips 节点到 PageLoading 展示加载状态消息 - 连接 statusLabel 到 ProgressTips 组件 - LevelDataManager 添加 API 请求重试机制(重试 2 次) - 优化进度消息:正在请求服务端数据、正在加载游戏必备资源等 - 初始化失败时显示"网络异常,请重新打开游戏" Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
795 lines
14 KiB
Plaintext
795 lines
14 KiB
Plaintext
[
|
|
{
|
|
"__type__": "cc.Prefab",
|
|
"_name": "PageLoading",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_native": "",
|
|
"data": {
|
|
"__id__": 1
|
|
},
|
|
"optimizationPolicy": 0,
|
|
"persistent": false
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "PageLoading",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": null,
|
|
"_children": [
|
|
{
|
|
"__id__": 2
|
|
},
|
|
{
|
|
"__id__": 10
|
|
},
|
|
{
|
|
"__id__": 24
|
|
}
|
|
],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 30
|
|
},
|
|
{
|
|
"__id__": 32
|
|
},
|
|
{
|
|
"__id__": 34
|
|
}
|
|
],
|
|
"_prefab": {
|
|
"__id__": 36
|
|
},
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_lrot": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 1
|
|
},
|
|
"_lscale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1,
|
|
"y": 1,
|
|
"z": 1
|
|
},
|
|
"_mobility": 0,
|
|
"_layer": 1073741824,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Bg",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": {
|
|
"__id__": 1
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 3
|
|
},
|
|
{
|
|
"__id__": 5
|
|
},
|
|
{
|
|
"__id__": 7
|
|
}
|
|
],
|
|
"_prefab": {
|
|
"__id__": 9
|
|
},
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_lrot": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 1
|
|
},
|
|
"_lscale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1,
|
|
"y": 1,
|
|
"z": 1
|
|
},
|
|
"_mobility": 0,
|
|
"_layer": 1073741824,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
"__id__": 4
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 1080,
|
|
"height": 2160
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
"fileId": "39zhkEvWdIiKJmPD4o9HUI"
|
|
},
|
|
{
|
|
"__type__": "cc.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
"__id__": 6
|
|
},
|
|
"_customMaterial": null,
|
|
"_srcBlendFactor": 2,
|
|
"_dstBlendFactor": 4,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_spriteFrame": {
|
|
"__uuid__": "d532045e-55f8-47c2-9493-b918e18364b0@f9941",
|
|
"__expectedType__": "cc.SpriteFrame"
|
|
},
|
|
"_type": 0,
|
|
"_fillType": 0,
|
|
"_sizeMode": 0,
|
|
"_fillCenter": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"_fillStart": 0,
|
|
"_fillRange": 0,
|
|
"_isTrimmedMode": true,
|
|
"_useGrayscale": false,
|
|
"_atlas": null,
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
"fileId": "39MgsdBl5NMJdL+0VA8hoQ"
|
|
},
|
|
{
|
|
"__type__": "d33b0ZrKQJEaKZYN2Peg+C/",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 2
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
"__id__": 8
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
"fileId": "9fkgRU0NVB7YhzB4E43YTa"
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": {
|
|
"__id__": 1
|
|
},
|
|
"asset": {
|
|
"__id__": 0
|
|
},
|
|
"fileId": "4f7RmQZNpIjIpFWyB0b6WE",
|
|
"instance": null,
|
|
"targetOverrides": null,
|
|
"nestedPrefabInstanceRoots": null
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "ProgressBar",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": {
|
|
"__id__": 1
|
|
},
|
|
"_children": [
|
|
{
|
|
"__id__": 11
|
|
}
|
|
],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 17
|
|
},
|
|
{
|
|
"__id__": 19
|
|
},
|
|
{
|
|
"__id__": 21
|
|
}
|
|
],
|
|
"_prefab": {
|
|
"__id__": 23
|
|
},
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": -545.761,
|
|
"z": 0
|
|
},
|
|
"_lrot": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 1
|
|
},
|
|
"_lscale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1,
|
|
"y": 1,
|
|
"z": 1
|
|
},
|
|
"_mobility": 0,
|
|
"_layer": 1073741824,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "Bar",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": {
|
|
"__id__": 10
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 12
|
|
},
|
|
{
|
|
"__id__": 14
|
|
}
|
|
],
|
|
"_prefab": {
|
|
"__id__": 16
|
|
},
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": -300,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_lrot": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 1
|
|
},
|
|
"_lscale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1,
|
|
"y": 1,
|
|
"z": 1
|
|
},
|
|
"_mobility": 0,
|
|
"_layer": 1073741824,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 11
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
"__id__": 13
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 360,
|
|
"height": 50
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0.5
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
"fileId": "90RRnQzdpBVbI4jsA6CXZA"
|
|
},
|
|
{
|
|
"__type__": "cc.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 11
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
"__id__": 15
|
|
},
|
|
"_customMaterial": null,
|
|
"_srcBlendFactor": 2,
|
|
"_dstBlendFactor": 4,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_spriteFrame": {
|
|
"__uuid__": "8c2fa3ce-7612-40c3-9319-498ecb6a18ae@f9941",
|
|
"__expectedType__": "cc.SpriteFrame"
|
|
},
|
|
"_type": 1,
|
|
"_fillType": 0,
|
|
"_sizeMode": 0,
|
|
"_fillCenter": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"_fillStart": 0,
|
|
"_fillRange": 0,
|
|
"_isTrimmedMode": true,
|
|
"_useGrayscale": false,
|
|
"_atlas": null,
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
"fileId": "31SM7N0uFEe7DXnyWk6WON"
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": {
|
|
"__id__": 1
|
|
},
|
|
"asset": {
|
|
"__id__": 0
|
|
},
|
|
"fileId": "3drJUdtd9DfaRPRNgf8en8",
|
|
"instance": null,
|
|
"targetOverrides": null,
|
|
"nestedPrefabInstanceRoots": null
|
|
},
|
|
{
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 10
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
"__id__": 18
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 600,
|
|
"height": 50
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
"fileId": "46vKE8VGpDPImcB6FtBqju"
|
|
},
|
|
{
|
|
"__type__": "cc.Sprite",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 10
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
"__id__": 20
|
|
},
|
|
"_customMaterial": null,
|
|
"_srcBlendFactor": 2,
|
|
"_dstBlendFactor": 4,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_spriteFrame": {
|
|
"__uuid__": "d2394eb1-7ae7-4a72-8d38-ca3cebd7956f@f9941",
|
|
"__expectedType__": "cc.SpriteFrame"
|
|
},
|
|
"_type": 1,
|
|
"_fillType": 0,
|
|
"_sizeMode": 0,
|
|
"_fillCenter": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0,
|
|
"y": 0
|
|
},
|
|
"_fillStart": 0,
|
|
"_fillRange": 0,
|
|
"_isTrimmedMode": true,
|
|
"_useGrayscale": false,
|
|
"_atlas": null,
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
"fileId": "c5TKMK+dxJIaddEOORHmpw"
|
|
},
|
|
{
|
|
"__type__": "cc.ProgressBar",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 10
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
"__id__": 22
|
|
},
|
|
"_barSprite": {
|
|
"__id__": 14
|
|
},
|
|
"_mode": 0,
|
|
"_totalLength": 300,
|
|
"_progress": 0.5,
|
|
"_reverse": false,
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
"fileId": "b1DULyOXREp6uKkF/c+7LJ"
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": {
|
|
"__id__": 1
|
|
},
|
|
"asset": {
|
|
"__id__": 0
|
|
},
|
|
"fileId": "07bygm1KJAcYI/U0oD2qhK",
|
|
"instance": null,
|
|
"targetOverrides": null,
|
|
"nestedPrefabInstanceRoots": null
|
|
},
|
|
{
|
|
"__type__": "cc.Node",
|
|
"_name": "ProgressTips",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"_parent": {
|
|
"__id__": 1
|
|
},
|
|
"_children": [],
|
|
"_active": true,
|
|
"_components": [
|
|
{
|
|
"__id__": 25
|
|
},
|
|
{
|
|
"__id__": 27
|
|
}
|
|
],
|
|
"_prefab": {
|
|
"__id__": 29
|
|
},
|
|
"_lpos": {
|
|
"__type__": "cc.Vec3",
|
|
"x": -10.607,
|
|
"y": -622.285,
|
|
"z": 0
|
|
},
|
|
"_lrot": {
|
|
"__type__": "cc.Quat",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0,
|
|
"w": 1
|
|
},
|
|
"_lscale": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 1,
|
|
"y": 1,
|
|
"z": 1
|
|
},
|
|
"_mobility": 0,
|
|
"_layer": 1073741824,
|
|
"_euler": {
|
|
"__type__": "cc.Vec3",
|
|
"x": 0,
|
|
"y": 0,
|
|
"z": 0
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 24
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
"__id__": 26
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 80,
|
|
"height": 50.4
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
"fileId": "6eZWHqpJtCTpZ/0qF30Pdo"
|
|
},
|
|
{
|
|
"__type__": "cc.Label",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 24
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
"__id__": 28
|
|
},
|
|
"_customMaterial": null,
|
|
"_srcBlendFactor": 2,
|
|
"_dstBlendFactor": 4,
|
|
"_color": {
|
|
"__type__": "cc.Color",
|
|
"r": 255,
|
|
"g": 255,
|
|
"b": 255,
|
|
"a": 255
|
|
},
|
|
"_string": "进度",
|
|
"_horizontalAlign": 1,
|
|
"_verticalAlign": 1,
|
|
"_actualFontSize": 40,
|
|
"_fontSize": 40,
|
|
"_fontFamily": "Arial",
|
|
"_lineHeight": 40,
|
|
"_overflow": 0,
|
|
"_enableWrapText": true,
|
|
"_font": null,
|
|
"_isSystemFontUsed": true,
|
|
"_spacingX": 0,
|
|
"_isItalic": false,
|
|
"_isBold": false,
|
|
"_isUnderline": false,
|
|
"_underlineHeight": 2,
|
|
"_cacheMode": 0,
|
|
"_enableOutline": false,
|
|
"_outlineColor": {
|
|
"__type__": "cc.Color",
|
|
"r": 0,
|
|
"g": 0,
|
|
"b": 0,
|
|
"a": 255
|
|
},
|
|
"_outlineWidth": 2,
|
|
"_enableShadow": false,
|
|
"_shadowColor": {
|
|
"__type__": "cc.Color",
|
|
"r": 0,
|
|
"g": 0,
|
|
"b": 0,
|
|
"a": 255
|
|
},
|
|
"_shadowOffset": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 2,
|
|
"y": 2
|
|
},
|
|
"_shadowBlur": 2,
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
"fileId": "e1paQuq1lB8bP8W2opCL2A"
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": {
|
|
"__id__": 1
|
|
},
|
|
"asset": {
|
|
"__id__": 0
|
|
},
|
|
"fileId": "f1spDHT01G1LKPBUMVSzhP",
|
|
"instance": null,
|
|
"targetOverrides": null,
|
|
"nestedPrefabInstanceRoots": null
|
|
},
|
|
{
|
|
"__type__": "cc.UITransform",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 1
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
"__id__": 31
|
|
},
|
|
"_contentSize": {
|
|
"__type__": "cc.Size",
|
|
"width": 1080,
|
|
"height": 2160
|
|
},
|
|
"_anchorPoint": {
|
|
"__type__": "cc.Vec2",
|
|
"x": 0.5,
|
|
"y": 0.5
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
"fileId": "04jqKn7FlHGaYUF2pxZZNl"
|
|
},
|
|
{
|
|
"__type__": "1ceeenEk4xE47mN4QUNVcN2",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 1
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
"__id__": 33
|
|
},
|
|
"progressBar": {
|
|
"__id__": 21
|
|
},
|
|
"statusLabel": {
|
|
"__id__": 27
|
|
},
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
"fileId": "035jtIcBFAXpr+rMnkwU6G"
|
|
},
|
|
{
|
|
"__type__": "cc.Widget",
|
|
"_name": "",
|
|
"_objFlags": 0,
|
|
"__editorExtras__": {},
|
|
"node": {
|
|
"__id__": 1
|
|
},
|
|
"_enabled": true,
|
|
"__prefab": {
|
|
"__id__": 35
|
|
},
|
|
"_alignFlags": 45,
|
|
"_target": null,
|
|
"_left": 0,
|
|
"_right": 0,
|
|
"_top": 0,
|
|
"_bottom": 0,
|
|
"_horizontalCenter": 0,
|
|
"_verticalCenter": 0,
|
|
"_isAbsLeft": true,
|
|
"_isAbsRight": true,
|
|
"_isAbsTop": true,
|
|
"_isAbsBottom": true,
|
|
"_isAbsHorizontalCenter": true,
|
|
"_isAbsVerticalCenter": true,
|
|
"_originalWidth": 1080,
|
|
"_originalHeight": 2160,
|
|
"_alignMode": 2,
|
|
"_lockFlags": 0,
|
|
"_id": ""
|
|
},
|
|
{
|
|
"__type__": "cc.CompPrefabInfo",
|
|
"fileId": "08Ke4fRRVPz6x9lHDiuWL/"
|
|
},
|
|
{
|
|
"__type__": "cc.PrefabInfo",
|
|
"root": {
|
|
"__id__": 1
|
|
},
|
|
"asset": {
|
|
"__id__": 0
|
|
},
|
|
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
|
|
"instance": null,
|
|
"targetOverrides": null
|
|
}
|
|
] |