Commit e124053e authored by liujiangnan's avatar liujiangnan

feat: loading支持

parent 8787f492
{
"__type__": "cc.AnimationClip",
"_name": "loading",
"_objFlags": 0,
"_native": "",
"_duration": 0.38333333333333336,
"sample": 60,
"speed": 0.5,
"wrapMode": 2,
"curveData": {
"comps": {
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0,
"value": {
"__uuid__": "d483699c-1f3a-44ed-880f-c0289a7e142b"
}
},
{
"frame": 0.016666666666666666,
"value": {
"__uuid__": "50d4caeb-d718-4b0e-be1b-09d670123a65"
}
},
{
"frame": 0.03333333333333333,
"value": {
"__uuid__": "07928de5-691d-4237-b28f-5fbe88dbaff8"
}
},
{
"frame": 0.05,
"value": {
"__uuid__": "426b4bd1-e569-4809-9a34-83fb850983c7"
}
},
{
"frame": 0.06666666666666667,
"value": {
"__uuid__": "1f2d2a0e-761a-46a3-89a9-63546a6f7f8e"
}
},
{
"frame": 0.08333333333333333,
"value": {
"__uuid__": "c26ed7a7-8ed8-4143-96f9-e7194b5499b2"
}
},
{
"frame": 0.1,
"value": {
"__uuid__": "df7d1fce-986a-4791-b1a2-70581e127a4d"
}
},
{
"frame": 0.11666666666666667,
"value": {
"__uuid__": "af31cfc5-ffae-4430-9532-4715ad337e31"
}
},
{
"frame": 0.13333333333333333,
"value": {
"__uuid__": "890b9af8-cab4-4bbe-924e-ee0953dc3ca2"
}
},
{
"frame": 0.15,
"value": {
"__uuid__": "f9c5bce9-2c56-4536-8ef8-f16dcb3a052a"
}
},
{
"frame": 0.16666666666666666,
"value": {
"__uuid__": "c526144e-cbe9-4cac-a018-17bf035ebdc3"
}
},
{
"frame": 0.18333333333333332,
"value": {
"__uuid__": "e6c3a7d4-4820-4600-b555-c38e80f2b342"
}
},
{
"frame": 0.2,
"value": {
"__uuid__": "d483699c-1f3a-44ed-880f-c0289a7e142b"
}
},
{
"frame": 0.21666666666666667,
"value": {
"__uuid__": "c036d7e2-f4de-4260-93ee-7fdfca93c989"
}
},
{
"frame": 0.23333333333333334,
"value": {
"__uuid__": "1cc11112-e06b-4dbe-ae93-81bf7a9422c5"
}
},
{
"frame": 0.25,
"value": {
"__uuid__": "79da537a-7da1-4dba-a374-ff933a0f74c6"
}
},
{
"frame": 0.26666666666666666,
"value": {
"__uuid__": "054c9698-ef26-4a77-b7ff-83600000578e"
}
},
{
"frame": 0.2833333333333333,
"value": {
"__uuid__": "9eca02a2-376a-47a9-bf7a-80caf034d613"
}
},
{
"frame": 0.3,
"value": {
"__uuid__": "b84f5102-3a81-4e49-8784-077365b321c1"
}
},
{
"frame": 0.31666666666666665,
"value": {
"__uuid__": "5207aaf3-3a46-402f-a44f-80030fd660d9"
}
},
{
"frame": 0.3333333333333333,
"value": {
"__uuid__": "86e22060-8ef8-49fa-95d5-08906708bedd"
}
},
{
"frame": 0.35,
"value": {
"__uuid__": "8c5c16ce-0683-467d-a4b4-c8994310cc62"
}
},
{
"frame": 0.36666666666666664,
"value": {
"__uuid__": "de1f4f72-41a8-4104-8a5c-bf5b4eb4e0fa"
}
}
]
}
}
},
"events": []
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "f3cd036c-3597-4139-a257-27a4a68dd720",
"uuid": "772ae80e-7f26-420a-8f87-8e239eb6cf7f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 357,
"height": 356,
"width": 750,
"height": 287,
"platformSettings": {},
"subMetas": {
"icon_03": {
"Loading0": {
"ver": "1.0.4",
"uuid": "07928de5-691d-4237-b28f-5fbe88dbaff8",
"rawTextureUuid": "f3cd036c-3597-4139-a257-27a4a68dd720",
"uuid": "48a10e47-8846-4d2b-a99f-4eda1a9c3890",
"rawTextureUuid": "772ae80e-7f26-420a-8f87-8e239eb6cf7f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 3.5,
"offsetY": -6,
"trimX": 40,
"trimY": 21,
"width": 284,
"height": 326,
"rawWidth": 357,
"rawHeight": 356,
"offsetX": -88.5,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 573,
"height": 287,
"rawWidth": 750,
"rawHeight": 287,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "d3387ee0-2f1b-42b6-babd-75fcfbb501f8",
"uuid": "d2f30764-56ef-400b-8fda-994fbb7a5200",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"width": 750,
"height": 287,
"platformSettings": {},
"subMetas": {
"icon_05": {
"Loading1": {
"ver": "1.0.4",
"uuid": "1f2d2a0e-761a-46a3-89a9-63546a6f7f8e",
"rawTextureUuid": "d3387ee0-2f1b-42b6-babd-75fcfbb501f8",
"uuid": "91c09dd0-af30-45c9-bda0-adbbe34bb17e",
"rawTextureUuid": "d2f30764-56ef-400b-8fda-994fbb7a5200",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 5,
"offsetY": -12,
"trimX": 42,
"trimY": 25,
"width": 282,
"height": 330,
"rawWidth": 356,
"rawHeight": 356,
"offsetX": -48,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 654,
"height": 287,
"rawWidth": 750,
"rawHeight": 287,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "e226e1b7-f728-4e65-ace8-6e52102d9809",
"uuid": "2e34fbc2-9455-487b-b402-f7312572a6c9",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"width": 750,
"height": 287,
"platformSettings": {},
"subMetas": {
"icon_23": {
"Loading2": {
"ver": "1.0.4",
"uuid": "de1f4f72-41a8-4104-8a5c-bf5b4eb4e0fa",
"rawTextureUuid": "e226e1b7-f728-4e65-ace8-6e52102d9809",
"uuid": "f539f795-a256-48b2-ab10-c3817691ce4a",
"rawTextureUuid": "2e34fbc2-9455-487b-b402-f7312572a6c9",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -12,
"offsetY": 4,
"trimX": 36,
"trimY": 15,
"width": 260,
"height": 318,
"rawWidth": 356,
"rawHeight": 356,
"offsetX": -24,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 702,
"height": 287,
"rawWidth": 750,
"rawHeight": 287,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "65b3e1d5-b7d8-48c4-9f1c-0a658b3ecef1",
"uuid": "9bba1876-b6ee-4d81-8f4e-edab45785c4f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"width": 750,
"height": 287,
"platformSettings": {},
"subMetas": {
"icon_06": {
"Loading3": {
"ver": "1.0.4",
"uuid": "c26ed7a7-8ed8-4143-96f9-e7194b5499b2",
"rawTextureUuid": "65b3e1d5-b7d8-48c4-9f1c-0a658b3ecef1",
"uuid": "095bd214-9a7a-4111-ae7f-3e5e8637e716",
"rawTextureUuid": "9bba1876-b6ee-4d81-8f4e-edab45785c4f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 5,
"offsetY": -12,
"trimX": 42,
"trimY": 25,
"width": 282,
"height": 330,
"rawWidth": 356,
"rawHeight": 356,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 750,
"height": 287,
"rawWidth": 750,
"rawHeight": 287,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
......
{
"ver": "2.3.5",
"uuid": "2a589e55-1cf1-411b-9db0-95a119f58151",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_01": {
"ver": "1.0.4",
"uuid": "d483699c-1f3a-44ed-880f-c0289a7e142b",
"rawTextureUuid": "2a589e55-1cf1-411b-9db0-95a119f58151",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -11.5,
"offsetY": 4,
"trimX": 36,
"trimY": 15,
"width": 261,
"height": 318,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "7399861a-591c-4460-a1e6-b39a7d4de39e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_02": {
"ver": "1.0.4",
"uuid": "50d4caeb-d718-4b0e-be1b-09d670123a65",
"rawTextureUuid": "7399861a-591c-4460-a1e6-b39a7d4de39e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -2.5,
"offsetY": -2,
"trimX": 38,
"trimY": 18,
"width": 275,
"height": 324,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e48c9f43-a07c-4b36-8e8b-95ccdf7c9024",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_04": {
"ver": "1.0.4",
"uuid": "426b4bd1-e569-4809-9a34-83fb850983c7",
"rawTextureUuid": "e48c9f43-a07c-4b36-8e8b-95ccdf7c9024",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 6.5,
"offsetY": -12,
"trimX": 42,
"trimY": 25,
"width": 285,
"height": 330,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "c169436c-47d7-4237-bcf0-b876328e3a19",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_07": {
"ver": "1.0.4",
"uuid": "df7d1fce-986a-4791-b1a2-70581e127a4d",
"rawTextureUuid": "c169436c-47d7-4237-bcf0-b876328e3a19",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 5,
"offsetY": -12.5,
"trimX": 42,
"trimY": 26,
"width": 282,
"height": 329,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "e50e20f4-eba6-476d-96b4-a4982a02d57c",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_08": {
"ver": "1.0.4",
"uuid": "af31cfc5-ffae-4430-9532-4715ad337e31",
"rawTextureUuid": "e50e20f4-eba6-476d-96b4-a4982a02d57c",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -9,
"offsetY": -8.5,
"trimX": 39,
"trimY": 18,
"width": 260,
"height": 337,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "ac63517b-96bc-42a8-8494-6f2a11530d98",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 357,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_09": {
"ver": "1.0.4",
"uuid": "890b9af8-cab4-4bbe-924e-ee0953dc3ca2",
"rawTextureUuid": "ac63517b-96bc-42a8-8494-6f2a11530d98",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -9,
"offsetY": -8,
"trimX": 39,
"trimY": 17,
"width": 261,
"height": 338,
"rawWidth": 357,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "0e53c38c-bbb8-494d-b060-83b81c2705d8",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_10": {
"ver": "1.0.4",
"uuid": "f9c5bce9-2c56-4536-8ef8-f16dcb3a052a",
"rawTextureUuid": "0e53c38c-bbb8-494d-b060-83b81c2705d8",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -9.5,
"offsetY": -8,
"trimX": 38,
"trimY": 17,
"width": 261,
"height": 338,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "1bcbafa4-1742-4a84-a1c9-8c5a8f7e0071",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_11": {
"ver": "1.0.4",
"uuid": "c526144e-cbe9-4cac-a018-17bf035ebdc3",
"rawTextureUuid": "1bcbafa4-1742-4a84-a1c9-8c5a8f7e0071",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -13,
"offsetY": 9.5,
"trimX": 37,
"trimY": 15,
"width": 256,
"height": 307,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "955d2b2a-5526-482b-9113-cab7fdda8609",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_12": {
"ver": "1.0.4",
"uuid": "e6c3a7d4-4820-4600-b555-c38e80f2b342",
"rawTextureUuid": "955d2b2a-5526-482b-9113-cab7fdda8609",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -12.5,
"offsetY": 10.5,
"trimX": 38,
"trimY": 14,
"width": 255,
"height": 307,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "da0bd795-8f86-457a-b323-3eb4019116aa",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_13": {
"ver": "1.0.4",
"uuid": "d33f9cb8-3b2f-41c9-9a9e-71220fe37f4f",
"rawTextureUuid": "da0bd795-8f86-457a-b323-3eb4019116aa",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -12.5,
"offsetY": 10,
"trimX": 38,
"trimY": 14,
"width": 255,
"height": 308,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "ed158124-21b0-4f02-af8a-f7e9c5f239ad",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_14": {
"ver": "1.0.4",
"uuid": "c036d7e2-f4de-4260-93ee-7fdfca93c989",
"rawTextureUuid": "ed158124-21b0-4f02-af8a-f7e9c5f239ad",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -8.5,
"offsetY": -8.5,
"trimX": 41,
"trimY": 19,
"width": 257,
"height": 335,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "967a032b-a532-4564-a3db-7572277e2773",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 357,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_15": {
"ver": "1.0.4",
"uuid": "1cc11112-e06b-4dbe-ae93-81bf7a9422c5",
"rawTextureUuid": "967a032b-a532-4564-a3db-7572277e2773",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -9,
"offsetY": -8.5,
"trimX": 41,
"trimY": 19,
"width": 257,
"height": 335,
"rawWidth": 357,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "79854d15-8f61-457c-9887-a2b3b5a8f029",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_16": {
"ver": "1.0.4",
"uuid": "79da537a-7da1-4dba-a374-ff933a0f74c6",
"rawTextureUuid": "79854d15-8f61-457c-9887-a2b3b5a8f029",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -9.5,
"offsetY": -9,
"trimX": 40,
"trimY": 19,
"width": 257,
"height": 336,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "d26be600-855a-494c-9fea-461fafdb9b8e",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_17": {
"ver": "1.0.4",
"uuid": "054c9698-ef26-4a77-b7ff-83600000578e",
"rawTextureUuid": "d26be600-855a-494c-9fea-461fafdb9b8e",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -7,
"offsetY": -11.5,
"trimX": 45,
"trimY": 23,
"width": 252,
"height": 333,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "ef3afd13-cf90-49bd-8a75-e957e61c6edf",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_18": {
"ver": "1.0.4",
"uuid": "9eca02a2-376a-47a9-bf7a-80caf034d613",
"rawTextureUuid": "ef3afd13-cf90-49bd-8a75-e957e61c6edf",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -7,
"offsetY": -11.5,
"trimX": 45,
"trimY": 23,
"width": 252,
"height": 333,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "224cdc7d-10fe-4335-ad22-95feb80db21f",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_19": {
"ver": "1.0.4",
"uuid": "b84f5102-3a81-4e49-8784-077365b321c1",
"rawTextureUuid": "224cdc7d-10fe-4335-ad22-95feb80db21f",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -7,
"offsetY": -11,
"trimX": 45,
"trimY": 23,
"width": 252,
"height": 332,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "0d80bf10-b20d-43e7-9e15-cd07e79a4c77",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_20": {
"ver": "1.0.4",
"uuid": "5207aaf3-3a46-402f-a44f-80030fd660d9",
"rawTextureUuid": "0d80bf10-b20d-43e7-9e15-cd07e79a4c77",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -6,
"offsetY": -5.5,
"trimX": 39,
"trimY": 19,
"width": 266,
"height": 329,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "4181f3d2-2f71-4416-b582-51d861f22b3b",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 357,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_21": {
"ver": "1.0.4",
"uuid": "86e22060-8ef8-49fa-95d5-08906708bedd",
"rawTextureUuid": "4181f3d2-2f71-4416-b582-51d861f22b3b",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -6.5,
"offsetY": -5.5,
"trimX": 39,
"trimY": 19,
"width": 266,
"height": 329,
"rawWidth": 357,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"ver": "2.3.5",
"uuid": "6313183c-883b-4ea1-bc7d-95fbc723299d",
"type": "sprite",
"wrapMode": "clamp",
"filterMode": "bilinear",
"premultiplyAlpha": false,
"genMipmaps": false,
"packable": true,
"width": 356,
"height": 356,
"platformSettings": {},
"subMetas": {
"icon_22": {
"ver": "1.0.4",
"uuid": "8c5c16ce-0683-467d-a4b4-c8994310cc62",
"rawTextureUuid": "6313183c-883b-4ea1-bc7d-95fbc723299d",
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": -12.5,
"offsetY": 8,
"trimX": 37,
"trimY": 12,
"width": 257,
"height": 316,
"rawWidth": 356,
"rawHeight": 356,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"subMetas": {}
}
}
}
\ No newline at end of file
{
"__type__": "cc.AnimationClip",
"_name": "loading",
"_objFlags": 0,
"_native": "",
"_duration": 2.0166666666666666,
"sample": 60,
"speed": 0.5,
"wrapMode": 2,
"curveData": {
"comps": {
"cc.Sprite": {
"spriteFrame": [
{
"frame": 0,
"value": {
"__uuid__": "48a10e47-8846-4d2b-a99f-4eda1a9c3890"
}
},
{
"frame": 0.5,
"value": {
"__uuid__": "91c09dd0-af30-45c9-bda0-adbbe34bb17e"
}
},
{
"frame": 1,
"value": {
"__uuid__": "f539f795-a256-48b2-ab10-c3817691ce4a"
}
},
{
"frame": 1.5,
"value": {
"__uuid__": "095bd214-9a7a-4111-ae7f-3e5e8637e716"
}
},
{
"frame": 2,
"value": {
"__uuid__": "48a10e47-8846-4d2b-a99f-4eda1a9c3890"
}
}
]
}
}
},
"events": []
}
\ No newline at end of file
......@@ -286,16 +286,16 @@
"__id__": 8
},
{
"__id__": 10
"__id__": 14
}
],
"_active": true,
"_components": [
{
"__id__": 14
"__id__": 18
},
{
"__id__": 15
"__id__": 19
}
],
"_prefab": null,
......@@ -348,16 +348,23 @@
},
{
"__type__": "cc.Node",
"_name": "layout",
"_name": "loadingbg",
"_objFlags": 0,
"_parent": {
"__id__": 7
},
"_children": [],
"_children": [
{
"__id__": 9
}
],
"_active": true,
"_components": [
{
"__id__": 9
"__id__": 12
},
{
"__id__": 13
}
],
"_prefab": null,
......@@ -371,8 +378,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 300,
"height": 200
"width": 1280,
"height": 720
},
"_anchorPoint": {
"__type__": "cc.Vec2",
......@@ -409,36 +416,157 @@
"_id": "15p/ST2nVONKh7ahXASPJ+"
},
{
"__type__": "cc.Layout",
"__type__": "cc.Node",
"_name": "loading",
"_objFlags": 0,
"_parent": {
"__id__": 8
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 10
},
{
"__id__": 11
}
],
"_prefab": null,
"_opacity": 255,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_contentSize": {
"__type__": "cc.Size",
"width": 750,
"height": 287
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_trs": {
"__type__": "TypedArray",
"ctor": "Float64Array",
"array": [
0,
0,
0,
0,
0,
0,
1,
1,
1,
1
]
},
"_eulerAngles": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_skewX": 0,
"_skewY": 0,
"_is3DNode": false,
"_groupIndex": 0,
"groupIndex": 0,
"_id": "56BN9zB95PR6rDcj8kwSRE"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"_materials": [
{
"__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432"
}
],
"_srcBlendFactor": 770,
"_dstBlendFactor": 771,
"_spriteFrame": {
"__uuid__": "48a10e47-8846-4d2b-a99f-4eda1a9c3890"
},
"_type": 0,
"_sizeMode": 0,
"_fillType": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": false,
"_atlas": null,
"_id": "6dsiNcSt5LvYhj5L97YrCe"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 9
},
"_enabled": true,
"_defaultClip": {
"__uuid__": "c01fcefa-a80e-43a2-8b03-cce500eba63d"
},
"_clips": [
{
"__uuid__": "c01fcefa-a80e-43a2-8b03-cce500eba63d"
}
],
"playOnLoad": false,
"_id": "f5IaGGO6VOsqCEBnT3iMwZ"
},
{
"__type__": "cc.Widget",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_enabled": true,
"_layoutSize": {
"__type__": "cc.Size",
"width": 300,
"height": 200
"alignMode": 1,
"_target": null,
"_alignFlags": 45,
"_left": 0,
"_right": 0,
"_top": 0,
"_bottom": 0,
"_verticalCenter": 0,
"_horizontalCenter": 0,
"_isAbsLeft": true,
"_isAbsRight": true,
"_isAbsTop": true,
"_isAbsBottom": true,
"_isAbsHorizontalCenter": true,
"_isAbsVerticalCenter": true,
"_originalWidth": 300,
"_originalHeight": 200,
"_id": "1aZdj6ZQJLN64Zja1tnTea"
},
{
"__type__": "cc.BlockInputEvents",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 8
},
"_resize": 1,
"_N$layoutType": 1,
"_N$cellSize": {
"__type__": "cc.Size",
"width": 40,
"height": 40
},
"_N$startAxis": 0,
"_N$paddingLeft": 0,
"_N$paddingRight": 0,
"_N$paddingTop": 0,
"_N$paddingBottom": 0,
"_N$spacingX": 0,
"_N$spacingY": 0,
"_N$verticalDirection": 1,
"_N$horizontalDirection": 0,
"_N$affectedByScale": false,
"_id": "f8moL2AXVNK5F4ZX+EkYD6"
"_enabled": true,
"_id": "62TWlUrABAqIeOIMFExRyQ"
},
{
"__type__": "cc.Node",
......@@ -451,13 +579,13 @@
"_active": true,
"_components": [
{
"__id__": 11
"__id__": 15
},
{
"__id__": 12
"__id__": 16
},
{
"__id__": 13
"__id__": 17
}
],
"_prefab": null,
......@@ -513,7 +641,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
"__id__": 14
},
"_enabled": true,
"_materials": [
......@@ -545,7 +673,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
"__id__": 14
},
"_enabled": true,
"alignMode": 1,
......@@ -572,7 +700,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 10
"__id__": 14
},
"_enabled": true,
"_normalMaterial": null,
......
......@@ -214,37 +214,17 @@ cc.Class({
return;
}
this.isShowWaiting = true;
const colorList = this.getRainbowColorList();
const layout = cc.find('middleLayer/layout');
layout.removeAllChildren();
layout.active = true;
const str = 'Now Loading...';
str.split('').forEach((word, idx) => {
const node = new cc.Node();
const label = node.addComponent(cc.Label);
label.string = word;
node.parent = layout;
node.color = colorList[idx];
cc.tween(node)
.delay(idx / 4)
.by(0.3, { y: 50 }, { easing: 'sineOut' })
.by(0.3, { y: -50 }, { easing: 'sineIn' })
.delay((str.length - idx) / 4)
.union()
.repeatForever()
.start();
});
const totalWidth = layout.children.reduce((width, node, idx) => {
return width + node.width;
}, 0);
layout.width = totalWidth;
const animNode = cc.find(`middleLayer/loadingbg`);
animNode.active = true;
const anim = cc.find(`loading`, animNode).getComponent(cc.Animation);
anim.play();
},
hideWaitingLetters() {
const layout = cc.find('middleLayer/layout');
layout.active = false;
const animNode = cc.find(`middleLayer/loadingbg`);
const anim = cc.find(`loading`, animNode).getComponent(cc.Animation);
anim.stop();
animNode.active = false;
this.isShowWaiting = false;
},
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment