小游戏结算界面及音效修改,loading界面logo修改
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 41s

This commit is contained in:
TJH 2025-10-09 16:53:21 +08:00
parent 30baaaf001
commit ae9fe75060
74 changed files with 403 additions and 725 deletions

View File

@ -2294,7 +2294,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "72N1vXJxJE8pP9MNVSBJe4" "fileId": "fb82hKCDJCUpZBI9E2Ul1z"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2304,7 +2304,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "7b+XSLbkhM8Lt+0jConpeg", "fileId": "5cTfn1mUlBfo+Lr1q3vLCr",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2335,7 +2335,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "1aF3X/luFLa775hH4gev+Y" "fileId": "3b5EnPlT1Ka4V4LOtVpGd8"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2345,7 +2345,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "d8B1CnDiNOUKb4twYhHAGO", "fileId": "0aLpOOaH1DoqaahK0JlFPV",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2376,7 +2376,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "b03uUyrbhBXbf984/QMz9P" "fileId": "4dEzry3zFG6p6WGfEfY4Y/"
}, },
{ {
"__type__": "5fc10Zl7lVO97/rr2J1uxWH", "__type__": "5fc10Zl7lVO97/rr2J1uxWH",
@ -2400,7 +2400,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "eaU3ux11xIA6mTaJAA7ifi" "fileId": "c8OQEuYr5NaIyQnv5wJovs"
}, },
{ {
"__type__": "5fd13+Xa69CZogb3Q/F1lnC", "__type__": "5fd13+Xa69CZogb3Q/F1lnC",
@ -2573,7 +2573,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "baxHIDn5BEZZaPHZKBXpWD", "fileId": "08Yvv46TtLgZqHyZJ8l2Xg",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2598,7 +2598,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "75r5Ymn61A7alz7a05frbI" "fileId": "0400agr/9OF4UStbA63NvG"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
@ -2626,7 +2626,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "0dT9tWnVxFtK/JRMpm6XIY" "fileId": "26LMWgUnRGO4ct+Jw7ZT3k"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@ -2671,7 +2671,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "7dp2IIrZNOg5S4vvUzr92v" "fileId": "851BpvlplPILqd7DYbuG4z"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2681,7 +2681,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "66Vy3DfmFAdryPZKigxSXm", "fileId": "e1R70NnBVEPZk5B+ZlIvVj",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2936,7 +2936,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "61zPeKW+lM2bgZNzQk6LQx" "fileId": "49w4K5T7VIqLeNxnMDvQYw"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2946,7 +2946,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "27chq6Qh1AzYuFZagEtR1n", "fileId": "a8Wo+gqa5FJaHlQG+5Hpua",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -2977,7 +2977,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "723UEjWGJF9YRtguBhZFdV" "fileId": "96kE3NIi5C9JuX5r6A7pRY"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -2987,7 +2987,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "57+vM/h7hEF5CPpgvo8sou", "fileId": "66f0y80sVH6qePl5H7ZOqB",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3018,7 +3018,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "4dyohya21A3rBQgnztHHs+" "fileId": "e1V+CZvF5LS4YyTtyBaI2v"
}, },
{ {
"__type__": "45522uB1sdFu4FJAojtnha4", "__type__": "45522uB1sdFu4FJAojtnha4",
@ -3042,7 +3042,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "55fH6tK2xJ27EpFZqn1QEh" "fileId": "a5NdSzY4RCbL0YqMrFPkWv"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3052,7 +3052,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "0c6Gikz05FML8bqk+18VB+", "fileId": "146yQ+Xx5Ap4I912HhPx5A",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3235,7 +3235,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "72U71gNlBOX5felCTEBz9d" "fileId": "e0xs8a2kFHu7VHca98gnAV"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3245,7 +3245,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "8d9km7t4pCIIYYPKDdMHrI", "fileId": "b0nLQjTNlLrqdl8wy8yDxL",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3276,7 +3276,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "48s3VvBx1Oq54/SQbRSFG8" "fileId": "07f1lCeupE4L4Cot54buKx"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3286,7 +3286,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "b3OlUuN+9PgZoX+4qKv+Xa", "fileId": "966dZ6amlOhIJEtIIEkwQM",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3317,7 +3317,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "33X/PGWXpBPJl/qbXcL6C1" "fileId": "dcZa0gu0NPdJpC6gg3DZe8"
}, },
{ {
"__type__": "45522uB1sdFu4FJAojtnha4", "__type__": "45522uB1sdFu4FJAojtnha4",
@ -3341,7 +3341,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "dfPN4WM7lFr6STWOMjjhEG" "fileId": "c1+lQ7qrdCaYrYAmQueFqD"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3351,7 +3351,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "64z9n1gFxI1rJP3OfDMvEv", "fileId": "10ePKZ30dFZogwQfWnqNvX",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3534,7 +3534,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "7fokJ8y2pCcaBALZPoejQr" "fileId": "24hALFw7tOX5ENAFzcv2RA"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3544,7 +3544,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "bdDTo5ObhAhKRNGkKkt7tI", "fileId": "a1CfVUfYJH25TO9HeM2EB9",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3575,7 +3575,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "65f/H5diFHFJxx9NMtlUoY" "fileId": "13B+7bwcdHDYJQRQ9uI7t3"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3585,7 +3585,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "f7ADe+XodLupnLYZexCIfE", "fileId": "e9y1XwEfxB/JMVqQgicO90",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3616,7 +3616,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "59pp/kv0VEGIryz/IR7Xkd" "fileId": "9eFgP5HgRHzZCl3LY2dy3z"
}, },
{ {
"__type__": "45522uB1sdFu4FJAojtnha4", "__type__": "45522uB1sdFu4FJAojtnha4",
@ -3640,7 +3640,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "4dM9tS4i9DZYjsKP5F2Z4C" "fileId": "9a5nJzCm1KA6g3BST/8emM"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3650,7 +3650,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "95eBPmx5NAdrrwLHHlQ3Nx", "fileId": "f6QfNrwLpOb5kqaD08MjzI",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3833,7 +3833,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "b9JONKskpK67JyrZVFUS/v" "fileId": "e7LlVQE2hNLqz/2mAQEeF3"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3843,7 +3843,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "a5d0p4o5pJdoiSzn8R6UeA", "fileId": "f45bK1/V1EtIcYCUb6RSQi",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3874,7 +3874,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "99xOGBcwBD2adUoe4+PUQ/" "fileId": "11A3L0mRVCKb3Rnya1QXsZ"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3884,7 +3884,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "89M43N8HJN6rSNJYb1u15M", "fileId": "31xb6A0ndGT7aIiSpDplR2",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -3915,7 +3915,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "b4ugmSNjlIiIGjdMB2ORLE" "fileId": "11tHFmX9FLwK4Ggfosq7ZF"
}, },
{ {
"__type__": "45522uB1sdFu4FJAojtnha4", "__type__": "45522uB1sdFu4FJAojtnha4",
@ -3939,7 +3939,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "a8QbCyAGlKDoUS8Z1du80z" "fileId": "f2ugpKai9JLrZlUjXEcJix"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -3949,7 +3949,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "a20T1Z/x1Nk7cEkio52LIH", "fileId": "b9Afdi5s1HVrLYD1PiTtmq",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -4132,7 +4132,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "1fZiwh7txJ16PnbKd3BZXn" "fileId": "c44lyJ1SBO2ISyhmInezIm"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -4142,7 +4142,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "d7PR7L9flJKYzlVHh6QP3H", "fileId": "d1BidlRFBC04bd3Nxl1Yht",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -4173,7 +4173,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "334brQS/1HgorfBVVxMysv" "fileId": "a60Czsp0RNsKP9cs237LWQ"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -4183,7 +4183,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "aaWGr0Vo9DMoSNGGR4WFXa", "fileId": "7cgd8rXWtKxLuFr1zEu9bj",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -4214,7 +4214,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "7d/uzWc0BFVYMV3ylZBsGk" "fileId": "f7oiXH+0hLUqDbnjVQ/Plb"
}, },
{ {
"__type__": "45522uB1sdFu4FJAojtnha4", "__type__": "45522uB1sdFu4FJAojtnha4",
@ -4238,7 +4238,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "91Ay3WMX5MIqdzVX2LDKYN" "fileId": "63CGKFKG5A6aqwTFIMMZH7"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -4248,7 +4248,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "29HKwdS8xEQZpO54DeSCXX", "fileId": "daOrUNZdJDoIufzENIRwyH",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -4431,7 +4431,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "7fbYSTNjVEy7ghh0fBvBaf" "fileId": "c3Y4fDFhtMspkNz6DsFI5r"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -4441,7 +4441,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "3e6HN/T2RFRqliRoX0Chpd", "fileId": "0fGslL6uxG27XjRhZL3gpH",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -4472,7 +4472,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "2aclR1kxZPFZZc0elxvJdd" "fileId": "10KyUh29hDe7XJZBr63ZBX"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -4482,7 +4482,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "1coSK6rmNMppnxm9YR3Zjx", "fileId": "f3XbjIgnJHDqm2CzZdxRcO",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -4513,7 +4513,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "e4QQK4B1NJ7bNC86ULxKIR" "fileId": "72oImq0pJBCrHGMpunxxvc"
}, },
{ {
"__type__": "45522uB1sdFu4FJAojtnha4", "__type__": "45522uB1sdFu4FJAojtnha4",
@ -4537,7 +4537,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "f7W9j+rxdNlaZls1efBOEo" "fileId": "26miwWXTdJbLDaQNPIaK3t"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -4547,7 +4547,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "04HGvWZ1ZNwL54UiuVfvKu", "fileId": "f8CnldoXdPxLfPWtGkwiLo",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -4572,7 +4572,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "1cjc1YVqFOpKg218RM6UaV" "fileId": "d1VVdDdk1OeYrWspG5qDBh"
}, },
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
@ -4600,7 +4600,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "6bjTk5QWtNQJ7h7Hk01Npt" "fileId": "2aWPpHhX9CrboiC2bDcLyG"
}, },
{ {
"__type__": "cc.Sprite", "__type__": "cc.Sprite",
@ -4645,7 +4645,7 @@
}, },
{ {
"__type__": "cc.CompPrefabInfo", "__type__": "cc.CompPrefabInfo",
"fileId": "a0/rxuPPdN2omxuIBtGxr0" "fileId": "b34he4VXVLv7RJUWPDUJH1"
}, },
{ {
"__type__": "cc.PrefabInfo", "__type__": "cc.PrefabInfo",
@ -4655,7 +4655,7 @@
"asset": { "asset": {
"__id__": 0 "__id__": 0
}, },
"fileId": "56VsWqp0hDvoBFe7kRfnGf", "fileId": "28Vsid9KlGJotUR6KT//LL",
"instance": null, "instance": null,
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
@ -21800,19 +21800,19 @@
}, },
"bigWinAudioClips": [ "bigWinAudioClips": [
{ {
"__uuid__": "1de2d45b-7303-40f2-9db7-c60d611f2bb9", "__uuid__": "8e5b6630-b52a-4cd8-956a-784d04f49008",
"__expectedType__": "cc.AudioClip" "__expectedType__": "cc.AudioClip"
}, },
{ {
"__uuid__": "426a0220-2cf9-4bbb-9203-99bd047707d6", "__uuid__": "ada0b623-5a42-4bd2-822b-0c58ec9b3ae7",
"__expectedType__": "cc.AudioClip" "__expectedType__": "cc.AudioClip"
}, },
{ {
"__uuid__": "bd3371d8-fd45-46ab-9775-1fab05f27677", "__uuid__": "07cb791c-9ad0-4ac6-bc83-1f18bac1001a",
"__expectedType__": "cc.AudioClip" "__expectedType__": "cc.AudioClip"
}, },
{ {
"__uuid__": "662b8644-af96-4be0-9559-03642cce757d", "__uuid__": "4fa6c18d-5583-40fa-8518-7e1e520fd877",
"__expectedType__": "cc.AudioClip" "__expectedType__": "cc.AudioClip"
} }
], ],

View File

@ -102,6 +102,8 @@ export class SlotScene extends Component {
async start() { async start() {
await this.init(); await this.init();
// this.TotalWin.show(505000)
// this.BigWinUI.show(200000, WIN_TYPE.BIG_WIN, 10000)
} }
private async init() { private async init() {

View File

@ -14,6 +14,11 @@ export class TotalWin extends Component {
totalWinSpine: sp.Skeleton | null = null; totalWinSpine: sp.Skeleton | null = null;
NumNodeOpacityCom: UIOpacity | null = null; NumNodeOpacityCom: UIOpacity | null = null;
scoreLabel: Label | null = null; // 分数节点 scoreLabel: Label | null = null; // 分数节点
currentWinScore: number = 0; // 当前显示赢分
isScrolling: boolean = true; // 分数是否在滚动
scrollTime: number = 2; // 不点击的情况下分数滚动所花时间
isSkipByTouch: boolean = false;
winScore: number = 0; // 最终赢分 winScore: number = 0; // 最终赢分
btn: Button | null = null; btn: Button | null = null;
@ -29,20 +34,77 @@ export class TotalWin extends Component {
this.NumNodeOpacityCom.opacity = 255; this.NumNodeOpacityCom.opacity = 255;
this.scoreLabel = numNode.getChildByName('Label').getComponent(Label); this.scoreLabel = numNode.getChildByName('Label').getComponent(Label);
Tween.stopAllByTarget(this.NumNodeOpacityCom.node); Tween.stopAllByTarget(this.NumNodeOpacityCom.node);
this.isScrolling = true;
this.btnNode = this.totalWinSpine.node.getChildByName('BtnNode'); this.btnNode = this.totalWinSpine.node.getChildByName('BtnNode');
this.btn = this.btnNode.getChildByName('btnCollect').getComponent(Button); this.btn = this.btnNode.getChildByName('btnCollect').getComponent(Button);
this.btn.node.on(Button.EventType.CLICK, this.onClose, this); this.btn.node.on(Button.EventType.CLICK, this.onClose, this);
this.totalWinUINode.getChildByName('spine').on(Node.EventType.TOUCH_START, this.onTouch, this);
this.scoreLabel.string = '0'
this.winScore = winScore; this.winScore = winScore;
this.scoreLabel.string = gold2cash(winScore);
this.btnNode.active = false; this.btnNode.active = false;
this.node.addChild(this.totalWinUINode); this.node.addChild(this.totalWinUINode);
this.playAnimation(); this.playAnimation();
AudioManager.instance.playSFX('Total_Settle_Sound'); AudioManager.instance.playSFX('Total_Settle_Sound');
this.closeCallBack = closeCallBack; this.closeCallBack = closeCallBack;
this.startScoreAni()
}
startScoreAni() {
// 修改这里的滚动逻辑
let startScore = this.currentWinScore;
let startTime = 0;
this.isScrolling = true;
let updateScore = function (dt: number) {
if (!this.isScrolling) return;
startTime += dt;
let progress = Math.min(startTime / this.scrollTime, 1);
let easedProgress = this.easeOutQuad(progress);
this.currentWinScore = startScore + (this.winScore - startScore) * easedProgress;
this.updateScoreLabel();
if (progress >= 1) {
this.currentWinScore = this.winScore; // 确保最终数值精确
this.updateScoreLabel();
this.btnNode.active = true;
this.unschedule(updateScore);
}
}.bind(this);
this.schedule(updateScore, 0.01);
}
// 添加缓动函数
easeOutQuad(t: number): number {
return t * (2 - t);
}
updateScoreLabel() {
if (this.scoreLabel) this.scoreLabel.string = gold2cash(this.currentWinScore);
}
async onTouch() {
if (!this.totalWinUINode) return; // 添加节点存在检查
if (this.isScrolling) {
this.isSkipByTouch = true;
// 立即完成当前动画
this.isScrolling = false;
this.unscheduleAllCallbacks();
// 直接设置为最终分数
this.currentWinScore = this.winScore;
this.updateScoreLabel();
this.btnNode.active = true;
AudioManager.instance.stopAllSFX()
AudioManager.instance.playSFX('Total_Settle_End_Sound');
}
} }
playAnimation() { playAnimation() {
@ -50,16 +112,13 @@ export class TotalWin extends Component {
this.totalWinSpine.setAnimation(0, 'in', false); this.totalWinSpine.setAnimation(0, 'in', false);
this.totalWinSpine.setCompleteListener(() => { this.totalWinSpine.setCompleteListener(() => {
this.totalWinSpine.setAnimation(0, 'loop', true); this.totalWinSpine.setAnimation(0, 'loop', true);
this.btnNode.active = true;
this.scheduleOnce(() => {
this.onClose();
}, 5)
}) })
} }
// 加入回调 // 加入回调
onClose() { onClose() {
this.btn.node.off(Button.EventType.CLICK, this.onClose, this); this.btn.node.off(Button.EventType.CLICK, this.onClose, this);
this.totalWinUINode.getChildByName('spine').off(Node.EventType.TOUCH_START, this.onTouch, this);
this.fadeOutScoreLabel(1.7, 0.6); this.fadeOutScoreLabel(1.7, 0.6);
this.btnNode.active = false; this.btnNode.active = false;

View File

@ -23,7 +23,7 @@
"_active": true, "_active": true,
"_components": [], "_components": [],
"_prefab": { "_prefab": {
"__id__": 78 "__id__": 79
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@ -54,7 +54,7 @@
}, },
"autoReleaseAssets": false, "autoReleaseAssets": false,
"_globals": { "_globals": {
"__id__": 79 "__id__": 80
}, },
"_id": "6c29a3fe-b10e-44a5-98e3-55595b231767" "_id": "6c29a3fe-b10e-44a5-98e3-55595b231767"
}, },
@ -77,14 +77,11 @@
"__id__": 8 "__id__": 8
}, },
{ {
"__id__": 60 "__id__": 61
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 73
},
{ {
"__id__": 74 "__id__": 74
}, },
@ -96,6 +93,9 @@
}, },
{ {
"__id__": 77 "__id__": 77
},
{
"__id__": 78
} }
], ],
"_prefab": null, "_prefab": null,
@ -341,14 +341,11 @@
"__id__": 9 "__id__": 9
}, },
{ {
"__id__": 53 "__id__": 54
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 56
},
{ {
"__id__": 57 "__id__": 57
}, },
@ -357,6 +354,9 @@
}, },
{ {
"__id__": 59 "__id__": 59
},
{
"__id__": 60
} }
], ],
"_prefab": null, "_prefab": null,
@ -405,34 +405,34 @@
"__id__": 13 "__id__": 13
}, },
{ {
"__id__": 16 "__id__": 17
}, },
{ {
"__id__": 23 "__id__": 24
}, },
{ {
"__id__": 30 "__id__": 31
}, },
{ {
"__id__": 33 "__id__": 34
}, },
{ {
"__id__": 36 "__id__": 37
}, },
{ {
"__id__": 39 "__id__": 40
}, },
{ {
"__id__": 48 "__id__": 49
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 51 "__id__": 52
}, },
{ {
"__id__": 52 "__id__": 53
} }
], ],
"_prefab": null, "_prefab": null,
@ -576,7 +576,7 @@
}, },
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "en_logo", "_name": "logo",
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
@ -590,6 +590,9 @@
}, },
{ {
"__id__": 15 "__id__": 15
},
{
"__id__": 16
} }
], ],
"_prefab": null, "_prefab": null,
@ -683,6 +686,19 @@
"_atlas": null, "_atlas": null,
"_id": "4bB8HKj3VKrJzK9clhOXlK" "_id": "4bB8HKj3VKrJzK9clhOXlK"
}, },
{
"__type__": "e6c8d4szahIuLbtf6yx+hH6",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 13
},
"_enabled": true,
"__prefab": null,
"spriteName": "logo",
"_id": "0adW9Ch89ORYmS0zoXqKq6"
},
{ {
"__type__": "cc.Node", "__type__": "cc.Node",
"_name": "ProgressBar", "_name": "ProgressBar",
@ -693,19 +709,19 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 17 "__id__": 18
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 20
},
{ {
"__id__": 21 "__id__": 21
}, },
{ {
"__id__": 22 "__id__": 22
},
{
"__id__": 23
} }
], ],
"_prefab": null, "_prefab": null,
@ -744,16 +760,16 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 16 "__id__": 17
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 18 "__id__": 19
}, },
{ {
"__id__": 19 "__id__": 20
} }
], ],
"_prefab": null, "_prefab": null,
@ -792,7 +808,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 17 "__id__": 18
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -814,7 +830,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 17 "__id__": 18
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -853,7 +869,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 16 "__id__": 17
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -875,7 +891,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 16 "__id__": 17
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -914,12 +930,12 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 16 "__id__": 17
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
"_barSprite": { "_barSprite": {
"__id__": 19 "__id__": 20
}, },
"_mode": 0, "_mode": 0,
"_totalLength": 494, "_totalLength": 494,
@ -937,19 +953,19 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 24 "__id__": 25
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 27
},
{ {
"__id__": 28 "__id__": 28
}, },
{ {
"__id__": 29 "__id__": 29
},
{
"__id__": 30
} }
], ],
"_prefab": null, "_prefab": null,
@ -988,16 +1004,16 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 23 "__id__": 24
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 25 "__id__": 26
}, },
{ {
"__id__": 26 "__id__": 27
} }
], ],
"_prefab": null, "_prefab": null,
@ -1036,7 +1052,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 24 "__id__": 25
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1058,7 +1074,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 24 "__id__": 25
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1097,7 +1113,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 23 "__id__": 24
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1119,7 +1135,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 23 "__id__": 24
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1135,7 +1151,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 23 "__id__": 24
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1181,10 +1197,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 31 "__id__": 32
}, },
{ {
"__id__": 32 "__id__": 33
} }
], ],
"_prefab": null, "_prefab": null,
@ -1223,7 +1239,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 30 "__id__": 31
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1245,7 +1261,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 30 "__id__": 31
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1290,10 +1306,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 34 "__id__": 35
}, },
{ {
"__id__": 35 "__id__": 36
} }
], ],
"_prefab": null, "_prefab": null,
@ -1332,7 +1348,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 33 "__id__": 34
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1354,7 +1370,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 33 "__id__": 34
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1422,10 +1438,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 37 "__id__": 38
}, },
{ {
"__id__": 38 "__id__": 39
} }
], ],
"_prefab": null, "_prefab": null,
@ -1464,7 +1480,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 36 "__id__": 37
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1486,7 +1502,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 36 "__id__": 37
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1552,19 +1568,19 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 40 "__id__": 41
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 43
},
{ {
"__id__": 44 "__id__": 44
}, },
{ {
"__id__": 45 "__id__": 45
},
{
"__id__": 46
} }
], ],
"_prefab": null, "_prefab": null,
@ -1603,16 +1619,16 @@
"_objFlags": 512, "_objFlags": 512,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 39 "__id__": 40
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 41 "__id__": 42
}, },
{ {
"__id__": 42 "__id__": 43
} }
], ],
"_prefab": null, "_prefab": null,
@ -1651,7 +1667,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 40 "__id__": 41
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1673,7 +1689,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 40 "__id__": 41
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1735,7 +1751,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 39 "__id__": 40
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1757,7 +1773,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 39 "__id__": 40
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1796,16 +1812,16 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 39 "__id__": 40
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
"clickEvents": [ "clickEvents": [
{ {
"__id__": 46 "__id__": 47
}, },
{ {
"__id__": 47 "__id__": 48
} }
], ],
"_interactable": true, "_interactable": true,
@ -1845,7 +1861,7 @@
"_duration": 0.1, "_duration": 0.1,
"_zoomScale": 1.2, "_zoomScale": 1.2,
"_target": { "_target": {
"__id__": 39 "__id__": 40
}, },
"_id": "54j4lwPyZHbqqANZE+r9Tj" "_id": "54j4lwPyZHbqqANZE+r9Tj"
}, },
@ -1881,10 +1897,10 @@
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 49 "__id__": 50
}, },
{ {
"__id__": 50 "__id__": 51
} }
], ],
"_prefab": null, "_prefab": null,
@ -1923,7 +1939,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 48 "__id__": 49
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -1945,7 +1961,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 48 "__id__": 49
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2042,10 +2058,10 @@
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 54 "__id__": 55
}, },
{ {
"__id__": 55 "__id__": 56
} }
], ],
"_prefab": null, "_prefab": null,
@ -2084,7 +2100,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 53 "__id__": 54
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2106,7 +2122,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 53 "__id__": 54
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2248,22 +2264,22 @@
}, },
"_children": [ "_children": [
{ {
"__id__": 61 "__id__": 62
}, },
{ {
"__id__": 65 "__id__": 66
}, },
{ {
"__id__": 68 "__id__": 69
} }
], ],
"_active": false, "_active": false,
"_components": [ "_components": [
{ {
"__id__": 71 "__id__": 72
}, },
{ {
"__id__": 72 "__id__": 73
} }
], ],
"_prefab": null, "_prefab": null,
@ -2302,19 +2318,19 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 60 "__id__": 61
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 62
},
{ {
"__id__": 63 "__id__": 63
}, },
{ {
"__id__": 64 "__id__": 64
},
{
"__id__": 65
} }
], ],
"_prefab": null, "_prefab": null,
@ -2353,7 +2369,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 61 "__id__": 62
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2375,7 +2391,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 61 "__id__": 62
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2387,7 +2403,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 61 "__id__": 62
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2426,16 +2442,16 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 60 "__id__": 61
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 66 "__id__": 67
}, },
{ {
"__id__": 67 "__id__": 68
} }
], ],
"_prefab": null, "_prefab": null,
@ -2474,7 +2490,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 65 "__id__": 66
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2496,7 +2512,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 65 "__id__": 66
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2558,16 +2574,16 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"_parent": { "_parent": {
"__id__": 60 "__id__": 61
}, },
"_children": [], "_children": [],
"_active": true, "_active": true,
"_components": [ "_components": [
{ {
"__id__": 69 "__id__": 70
}, },
{ {
"__id__": 70 "__id__": 71
} }
], ],
"_prefab": null, "_prefab": null,
@ -2606,7 +2622,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 68 "__id__": 69
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2628,7 +2644,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 68 "__id__": 69
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2667,7 +2683,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 60 "__id__": 61
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2689,7 +2705,7 @@
"_objFlags": 0, "_objFlags": 0,
"__editorExtras__": {}, "__editorExtras__": {},
"node": { "node": {
"__id__": 60 "__id__": 61
}, },
"_enabled": true, "_enabled": true,
"__prefab": null, "__prefab": null,
@ -2768,22 +2784,22 @@
"__id__": 9 "__id__": 9
}, },
"progressBar": { "progressBar": {
"__id__": 22 "__id__": 23
}, },
"progressLabel": { "progressLabel": {
"__id__": 35 "__id__": 36
}, },
"tipLabel": { "tipLabel": {
"__id__": 38 "__id__": 39
}, },
"startBtn": { "startBtn": {
"__id__": 45 "__id__": 46
}, },
"startBtnLabel": { "startBtnLabel": {
"__id__": 42 "__id__": 43
}, },
"GameNode": { "GameNode": {
"__id__": 53 "__id__": 54
}, },
"languageJson": { "languageJson": {
"__uuid__": "778fb4f7-5070-4fb1-b5aa-432865f396b9", "__uuid__": "778fb4f7-5070-4fb1-b5aa-432865f396b9",
@ -2805,10 +2821,10 @@
"__id__": 5 "__id__": 5
}, },
"RB7Logo": { "RB7Logo": {
"__id__": 48 "__id__": 49
}, },
"rotateNode": { "rotateNode": {
"__id__": 60 "__id__": 61
}, },
"_id": "d8F/UwpTxNpZhwSJjDvnkk" "_id": "d8F/UwpTxNpZhwSJjDvnkk"
}, },
@ -2835,29 +2851,29 @@
{ {
"__type__": "cc.SceneGlobals", "__type__": "cc.SceneGlobals",
"ambient": { "ambient": {
"__id__": 80
},
"shadows": {
"__id__": 81 "__id__": 81
}, },
"_skybox": { "shadows": {
"__id__": 82 "__id__": 82
}, },
"fog": { "_skybox": {
"__id__": 83 "__id__": 83
}, },
"octree": { "fog": {
"__id__": 84 "__id__": 84
}, },
"skin": { "octree": {
"__id__": 85 "__id__": 85
}, },
"lightProbeInfo": { "skin": {
"__id__": 86 "__id__": 86
}, },
"postSettings": { "lightProbeInfo": {
"__id__": 87 "__id__": 87
}, },
"postSettings": {
"__id__": 88
},
"bakedWithStationaryMainLight": false, "bakedWithStationaryMainLight": false,
"bakedWithHighpLightmap": false "bakedWithHighpLightmap": false
}, },

View File

@ -27,7 +27,7 @@ export function getHistoryUrl() {
} }
export function getLanguage() { export function getLanguage() {
// return 'zh'; // return 'en';
return language; return language;
} }

View File

@ -1,123 +0,0 @@
import { _decorator, Component, resources } from 'cc';
import { sp } from 'cc';
import { I18nManager } from '../manager/I18nManager';
const { ccclass, property, executeInEditMode } = _decorator;
@ccclass('LocalizedSpine')
export class LocalizedSpine extends Component {
private spineComponent: sp.Skeleton | null = null;
@property({ tooltip: 'Spine资源名字' })
private spineName: string = '';
@property({ tooltip: '默认动画名称' })
private defaultAnimation: string = '';
@property({ tooltip: '是否自动播放默认动画' })
private autoPlay: boolean = true;
onLoad() {
// if (!I18nManager.instance.getIsReady()) {
// I18nManager.instance.init('en');
// }
this.fetchRender();
}
fetchRender() {
if (!this.spineComponent) {
this.spineComponent = this.getComponent(sp.Skeleton);
}
if (this.spineComponent) {
this.updateSpine();
} else {
console.warn(`LocalizedSpine: No Spine component found on node ${this.node.name}`);
this.loadDefaultSpine();
}
}
public updateSpine() {
if (!this.spineComponent || !this.spineName) return;
const currentLanguage = I18nManager.instance.currentLanguage;
const cacheKey = `${currentLanguage}_${this.spineName}`;
// 从I18nManager获取缓存的SpineData
const cachedSpineData = I18nManager.instance.spineCache.get(cacheKey);
if (cachedSpineData) {
this.setNewSpineData(cachedSpineData);
return;
}
// 如果缓存中没有从resources加载
const spinePath = `i18nSprite/${currentLanguage}/${this.spineName}_${currentLanguage}`;
resources.load(spinePath, sp.SkeletonData, (err, spineData) => {
if (err) {
console.warn(`Failed to load spine: ${spinePath}`, err);
this.loadDefaultSpine();
return;
}
if (spineData) {
// 添加到I18nManager的缓存中
I18nManager.instance.spineCache.set(cacheKey, spineData);
this.setNewSpineData(spineData);
}
});
}
private loadDefaultSpine() {
const defaultPath = `i18nSpine/en/${this.spineName}_en`;
const cacheKey = `en_${this.spineName}`;
// 从I18nManager获取默认语言的缓存
const cachedSpineData = I18nManager.instance.spineCache.get(cacheKey);
if (cachedSpineData) {
this.setNewSpineData(cachedSpineData);
return;
}
resources.load(defaultPath, sp.SkeletonData, (err, spineData) => {
if (err) {
console.error('Failed to load default spine:', err);
return;
}
if (spineData) {
I18nManager.instance.spineCache.set(cacheKey, spineData);
this.setNewSpineData(spineData);
}
});
}
private setNewSpineData(newData: sp.SkeletonData) {
if (this.spineComponent) {
this.spineComponent.skeletonData = newData;
// 如果设置了默认动画且启用了自动播放,则播放默认动画
if (this.defaultAnimation && this.autoPlay) {
this.spineComponent.setAnimation(0, this.defaultAnimation, true);
}
}
}
public setSpineName(name: string) {
this.spineName = name;
this.updateSpine();
}
public playAnimation(animName: string, loop: boolean = false) {
if (this.spineComponent) {
this.spineComponent.setAnimation(0, animName, loop);
}
}
onDestroy() {
// 清理组件引用
if (this.spineComponent) {
this.spineComponent.skeletonData = null;
}
this.spineComponent = null;
}
}

View File

@ -1,9 +0,0 @@
{
"ver": "4.0.24",
"importer": "typescript",
"imported": true,
"uuid": "fff06ff8-efe2-4de7-a99a-f141dbd008f8",
"files": [],
"subMetas": {},
"userData": {}
}

Binary file not shown.

View File

@ -2,7 +2,7 @@
"ver": "1.0.0", "ver": "1.0.0",
"importer": "audio-clip", "importer": "audio-clip",
"imported": true, "imported": true,
"uuid": "a81b4ca1-9a4e-4c19-85f5-5613a4b9a667", "uuid": "ab146332-77bc-4a3a-bce7-d05928391c47",
"files": [ "files": [
".json", ".json",
".mp3" ".mp3"

View File

@ -1,9 +0,0 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "d9ed8692-947d-4324-a0b1-1a8260f13ca9",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "a10f2431-24e0-44f4-834a-0cb13308a049",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "94145f6e-513b-4178-9582-bb39cfc1f09d",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "510f8f05-d4f4-473e-b64c-021ec8010d16",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "b9cd77a3-eeb8-4022-9e4e-d2287c0f27b5",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "2a5747f2-aca0-463f-8ff4-5063dcd5c40b",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "570cb95e-5944-4f76-82dd-a9e84ffd3230",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "1de2d45b-7303-40f2-9db7-c60d611f2bb9",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "a0de07d0-608d-44a7-88eb-5b2c698c8636",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "6e59c249-2a95-4f2b-a06e-4ad624282198",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "98c283a7-1122-48e5-bc01-6df4c6d96dae",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "f4d31ded-794c-4fb6-9b37-add3a8467365",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "2bbb09a7-4478-414b-b7a0-531797118ee3",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "ccb1c9d2-c5a0-4a75-b334-21d69ab0fc33",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "807674b7-b3bd-4c8f-933a-cf7568f17fa4",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "426a0220-2cf9-4bbb-9203-99bd047707d6",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "bd46c909-91a7-4e54-989f-bb8dec542d5c",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "036a6b46-a38d-4158-bbaf-52fcf9867163",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "b529702b-b831-4d30-bcb1-6a1794d7dd22",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "a713af3f-aa8b-4d55-bb9e-0c131649cfc4",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "bd3371d8-fd45-46ab-9775-1fab05f27677",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "a4ce9604-cb30-403b-90dc-862348d55ba4",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "34c3b635-6081-4a3c-88ae-dcac8967b694",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "dfc01c35-89f7-4ebe-b59e-a465c9627e54",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "c9c15cca-6f2f-472f-ad10-e91f416bd3e5",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "72e27eab-6418-4770-b797-92384e2b8413",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "3312a418-7f04-4de4-b6eb-46762827d8a4",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "662b8644-af96-4be0-9559-03642cce757d",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

@ -1,14 +0,0 @@
{
"ver": "1.0.0",
"importer": "audio-clip",
"imported": true,
"uuid": "6b200893-c9b3-4cd0-869b-bc97b203cd27",
"files": [
".json",
".mp3"
],
"subMetas": {},
"userData": {
"downloadMode": 0
}
}

View File

Before

Width:  |  Height:  |  Size: 160 KiB

After

Width:  |  Height:  |  Size: 160 KiB

View File

@ -11,7 +11,7 @@
"6c48a": { "6c48a": {
"importer": "texture", "importer": "texture",
"uuid": "9825f091-f1f2-4040-9db8-5a2294ef4a6e@6c48a", "uuid": "9825f091-f1f2-4040-9db8-5a2294ef4a6e@6c48a",
"displayName": "en_logo", "displayName": "logo",
"id": "6c48a", "id": "6c48a",
"name": "texture", "name": "texture",
"userData": { "userData": {
@ -35,7 +35,7 @@
"f9941": { "f9941": {
"importer": "sprite-frame", "importer": "sprite-frame",
"uuid": "9825f091-f1f2-4040-9db8-5a2294ef4a6e@f9941", "uuid": "9825f091-f1f2-4040-9db8-5a2294ef4a6e@f9941",
"displayName": "en_logo", "displayName": "logo",
"id": "f9941", "id": "f9941",
"name": "spriteFrame", "name": "spriteFrame",
"userData": { "userData": {

View File

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 22 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 117 KiB

View File

@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "80457f8d-5de0-479d-a3c0-5540ee53f0c1",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "80457f8d-5de0-479d-a3c0-5540ee53f0c1@6c48a",
"displayName": "logo",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "80457f8d-5de0-479d-a3c0-5540ee53f0c1",
"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": "80457f8d-5de0-479d-a3c0-5540ee53f0c1@f9941",
"displayName": "logo",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimType": "auto",
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 0,
"trimY": 0,
"width": 1008,
"height": 516,
"rawWidth": 1008,
"rawHeight": 516,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-504,
-258,
0,
504,
-258,
0,
-504,
258,
0,
504,
258,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
0,
516,
1008,
516,
0,
0,
1008,
0
],
"nuv": [
0,
0,
1,
0,
0,
1,
1,
1
],
"minPos": [
-504,
-258,
0
],
"maxPos": [
504,
258,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "80457f8d-5de0-479d-a3c0-5540ee53f0c1@6c48a",
"atlasUuid": ""
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "80457f8d-5de0-479d-a3c0-5540ee53f0c1@6c48a"
}
}

View File

@ -4,7 +4,7 @@
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title>symbols Drive</title> <title>Symbols Drive</title>
<link rel="icon" href="/shared/favicon.ico"> <link rel="icon" href="/shared/favicon.ico">