From 6f1368f8360e9f5f0b2b4067f02d97e6531927fc Mon Sep 17 00:00:00 2001 From: "YZ\\249929363" <249929363@qq.com> Date: Fri, 1 Aug 2025 15:21:41 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9A=82=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/Scene/GameScene.fire | 1298 ++++++++++++--------- assets/Script/GameManager.ts | 341 +++--- assets/Script/JiaZai.ts | 8 +- assets/Script/Map.ts | 64 +- assets/Script/SceneManager.ts | 5 + assets/Script/Sdk/MiniGameSdk.ts | 2 +- assets/Script/module/Config/GameConfig.ts | 7 +- assets/Script/module/Pay/Utils.ts | 40 + assets/Script/module/Tool/GameTool.ts | 11 +- 9 files changed, 1062 insertions(+), 714 deletions(-) diff --git a/assets/Scene/GameScene.fire b/assets/Scene/GameScene.fire index 49d92c7..21aa141 100644 --- a/assets/Scene/GameScene.fire +++ b/assets/Scene/GameScene.fire @@ -17,7 +17,7 @@ "__id__": 2 }, { - "__id__": 769 + "__id__": 774 } ], "_active": false, @@ -81,28 +81,28 @@ "__id__": 7 }, { - "__id__": 649 + "__id__": 654 }, { - "__id__": 746 + "__id__": 751 }, { - "__id__": 759 + "__id__": 764 } ], "_active": true, "_components": [ { - "__id__": 765 + "__id__": 770 }, { - "__id__": 766 + "__id__": 771 }, { - "__id__": 767 + "__id__": 772 }, { - "__id__": 768 + "__id__": 773 } ], "_prefab": null, @@ -360,7 +360,7 @@ "__id__": 11 }, { - "__id__": 627 + "__id__": 632 }, { "__id__": 281 @@ -378,7 +378,7 @@ "_active": true, "_components": [ { - "__id__": 648 + "__id__": 653 } ], "_prefab": null, @@ -574,7 +574,7 @@ "__id__": 32 }, { - "__id__": 623 + "__id__": 628 }, { "__id__": 114 @@ -583,7 +583,7 @@ "_active": true, "_components": [ { - "__id__": 626 + "__id__": 631 } ], "_prefab": null, @@ -15456,32 +15456,32 @@ }, "_children": [ { - "__id__": 556 + "__id__": 561 }, { - "__id__": 565 + "__id__": 570 }, { - "__id__": 578 + "__id__": 583 }, { - "__id__": 592 + "__id__": 597 }, { - "__id__": 612 + "__id__": 617 } ], "_active": true, "_components": [ { - "__id__": 620 + "__id__": 625 }, { - "__id__": 621 + "__id__": 626 } ], "_prefab": { - "__id__": 622 + "__id__": 627 }, "_opacity": 255, "_color": { @@ -15539,28 +15539,28 @@ }, "_children": [ { - "__id__": 488 + "__id__": 493 }, { - "__id__": 490 + "__id__": 495 }, { - "__id__": 492 + "__id__": 497 }, { - "__id__": 494 + "__id__": 499 }, { - "__id__": 496 + "__id__": 501 }, { - "__id__": 502 + "__id__": 507 }, { - "__id__": 518 + "__id__": 523 }, { - "__id__": 552 + "__id__": 557 }, { "__id__": 323 @@ -15641,12 +15641,15 @@ }, { "__id__": 460 + }, + { + "__id__": 487 } ], "_active": false, "_components": [ { - "__id__": 487 + "__id__": 492 } ], "_prefab": null, @@ -23571,6 +23574,231 @@ }, "_id": "6cYm1H7vxAEru6BWhzSmhp" }, + { + "__type__": "cc.Node", + "_name": "share", + "_objFlags": 0, + "_parent": { + "__id__": 325 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 488 + }, + { + "__id__": 490 + }, + { + "__id__": 491 + } + ], + "_prefab": null, + "_opacity": 255, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 584, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_trs": { + "__type__": "TypedArray", + "ctor": "Float64Array", + "array": [ + 220.88099999999997, + 859.857, + 0, + 0, + 0, + 0, + 1, + 1, + 1, + 0 + ] + }, + "_eulerAngles": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_skewX": 0, + "_skewY": 0, + "_is3DNode": false, + "_groupIndex": 0, + "groupIndex": 0, + "_id": "49mFrchuZE94koHAq9rou1" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 487 + }, + "_enabled": true, + "_normalMaterial": null, + "_grayMaterial": null, + "duration": 0.1, + "zoomScale": 1.1, + "clickEvents": [ + { + "__id__": 489 + } + ], + "_N$interactable": true, + "_N$enableAutoGrayEffect": false, + "_N$transition": 3, + "transition": 3, + "_N$normalColor": { + "__type__": "cc.Color", + "r": 230, + "g": 230, + "b": 230, + "a": 255 + }, + "_N$pressedColor": { + "__type__": "cc.Color", + "r": 200, + "g": 200, + "b": 200, + "a": 255 + }, + "pressedColor": { + "__type__": "cc.Color", + "r": 200, + "g": 200, + "b": 200, + "a": 255 + }, + "_N$hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "hoverColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_N$disabledColor": { + "__type__": "cc.Color", + "r": 120, + "g": 120, + "b": 120, + "a": 200 + }, + "_N$normalSprite": { + "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952" + }, + "_N$pressedSprite": { + "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" + }, + "pressedSprite": { + "__uuid__": "e9ec654c-97a2-4787-9325-e6a10375219a" + }, + "_N$hoverSprite": { + "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952" + }, + "hoverSprite": { + "__uuid__": "f0048c10-f03e-4c97-b9d3-3506e1d58952" + }, + "_N$disabledSprite": { + "__uuid__": "29158224-f8dd-4661-a796-1ffab537140e" + }, + "_N$target": { + "__id__": 487 + }, + "_id": "0ens+tDnRLQJSsNyWwTq7S" + }, + { + "__type__": "cc.ClickEvent", + "target": { + "__id__": 2 + }, + "component": "", + "_componentId": "80998T1AYNNRZdRxsVvXR65", + "handler": "shareFriend", + "customEventData": "" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 487 + }, + "_enabled": true, + "_materials": [ + { + "__uuid__": "eca5d2f2-8ef6-41c2-bbe6-f9c79d09c432" + } + ], + "_srcBlendFactor": 770, + "_dstBlendFactor": 771, + "_spriteFrame": { + "__uuid__": "ea910867-db13-4d95-a0c1-4eb24501001c" + }, + "_type": 0, + "_sizeMode": 1, + "_fillType": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_atlas": { + "__uuid__": "2beee6ec-25c2-4485-9924-da395a4cd05a" + }, + "_id": "ecGcCBGTtKTbXXGCz/y8BC" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 487 + }, + "_enabled": true, + "alignMode": 1, + "_target": null, + "_alignFlags": 32, + "_left": 0, + "_right": 27.119000000000028, + "_top": 0, + "_bottom": 0, + "_verticalCenter": 0, + "_horizontalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_id": "90ofLf3XxGw5T/vI7S7p3q" + }, { "__type__": "cc.Widget", "_name": "", @@ -23609,7 +23837,7 @@ "_active": true, "_components": [ { - "__id__": 489 + "__id__": 494 } ], "_prefab": null, @@ -23665,7 +23893,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 488 + "__id__": 493 }, "_enabled": true, "_materials": [ @@ -23705,7 +23933,7 @@ "_active": true, "_components": [ { - "__id__": 491 + "__id__": 496 } ], "_prefab": null, @@ -23761,7 +23989,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 490 + "__id__": 495 }, "_enabled": true, "_materials": [ @@ -23801,7 +24029,7 @@ "_active": false, "_components": [ { - "__id__": 493 + "__id__": 498 } ], "_prefab": null, @@ -23857,7 +24085,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 492 + "__id__": 497 }, "_enabled": true, "_materials": [ @@ -23897,7 +24125,7 @@ "_active": false, "_components": [ { - "__id__": 495 + "__id__": 500 } ], "_prefab": null, @@ -23953,7 +24181,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 494 + "__id__": 499 }, "_enabled": true, "_materials": [ @@ -23990,16 +24218,16 @@ }, "_children": [ { - "__id__": 497 + "__id__": 502 }, { - "__id__": 499 + "__id__": 504 } ], "_active": true, "_components": [ { - "__id__": 501 + "__id__": 506 } ], "_prefab": null, @@ -24055,13 +24283,13 @@ "_name": "guang", "_objFlags": 0, "_parent": { - "__id__": 496 + "__id__": 501 }, "_children": [], "_active": true, "_components": [ { - "__id__": 498 + "__id__": 503 } ], "_prefab": null, @@ -24117,7 +24345,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 497 + "__id__": 502 }, "_enabled": true, "_materials": [ @@ -24149,13 +24377,13 @@ "_name": "nz2", "_objFlags": 0, "_parent": { - "__id__": 496 + "__id__": 501 }, "_children": [], "_active": true, "_components": [ { - "__id__": 500 + "__id__": 505 } ], "_prefab": null, @@ -24211,7 +24439,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 499 + "__id__": 504 }, "_enabled": true, "_materials": [ @@ -24245,7 +24473,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 496 + "__id__": 501 }, "_enabled": true, "_materials": [ @@ -24281,31 +24509,31 @@ }, "_children": [ { - "__id__": 503 + "__id__": 508 }, { - "__id__": 505 + "__id__": 510 }, { - "__id__": 507 + "__id__": 512 }, { - "__id__": 509 + "__id__": 514 }, { - "__id__": 511 + "__id__": 516 }, { - "__id__": 513 + "__id__": 518 } ], "_active": false, "_components": [ { - "__id__": 515 + "__id__": 520 }, { - "__id__": 516 + "__id__": 521 } ], "_prefab": null, @@ -24361,13 +24589,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 502 + "__id__": 507 }, "_children": [], "_active": true, "_components": [ { - "__id__": 504 + "__id__": 509 } ], "_prefab": null, @@ -24423,7 +24651,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 503 + "__id__": 508 }, "_enabled": true, "_materials": [ @@ -24457,13 +24685,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 502 + "__id__": 507 }, "_children": [], "_active": true, "_components": [ { - "__id__": 506 + "__id__": 511 } ], "_prefab": null, @@ -24519,7 +24747,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 505 + "__id__": 510 }, "_enabled": true, "_materials": [ @@ -24553,13 +24781,13 @@ "_name": "number2", "_objFlags": 0, "_parent": { - "__id__": 502 + "__id__": 507 }, "_children": [], "_active": true, "_components": [ { - "__id__": 508 + "__id__": 513 } ], "_prefab": null, @@ -24615,7 +24843,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 507 + "__id__": 512 }, "_enabled": true, "_materials": [ @@ -24649,13 +24877,13 @@ "_name": "number1", "_objFlags": 0, "_parent": { - "__id__": 502 + "__id__": 507 }, "_children": [], "_active": false, "_components": [ { - "__id__": 510 + "__id__": 515 } ], "_prefab": null, @@ -24711,7 +24939,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 509 + "__id__": 514 }, "_enabled": true, "_materials": [ @@ -24745,13 +24973,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 502 + "__id__": 507 }, "_children": [], "_active": true, "_components": [ { - "__id__": 512 + "__id__": 517 } ], "_prefab": null, @@ -24807,7 +25035,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 511 + "__id__": 516 }, "_enabled": true, "_materials": [ @@ -24841,13 +25069,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 502 + "__id__": 507 }, "_children": [], "_active": true, "_components": [ { - "__id__": 514 + "__id__": 519 } ], "_prefab": null, @@ -24903,7 +25131,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 513 + "__id__": 518 }, "_enabled": true, "_materials": [ @@ -24937,7 +25165,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 502 + "__id__": 507 }, "_enabled": true, "_materials": [ @@ -24971,7 +25199,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 502 + "__id__": 507 }, "_enabled": true, "_normalMaterial": null, @@ -24980,7 +25208,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 517 + "__id__": 522 } ], "_N$interactable": true, @@ -25036,7 +25264,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 502 + "__id__": 507 }, "_id": "f26wyaXk1ODqKTicGneesK" }, @@ -25057,31 +25285,31 @@ }, "_children": [ { - "__id__": 519 + "__id__": 524 }, { - "__id__": 521 + "__id__": 526 }, { - "__id__": 528 + "__id__": 533 }, { - "__id__": 537 + "__id__": 542 }, { - "__id__": 546 + "__id__": 551 }, { - "__id__": 548 + "__id__": 553 } ], "_active": true, "_components": [ { - "__id__": 549 + "__id__": 554 }, { - "__id__": 550 + "__id__": 555 } ], "_prefab": null, @@ -25137,13 +25365,13 @@ "_name": "btn_zi_xhongshi", "_objFlags": 0, "_parent": { - "__id__": 518 + "__id__": 523 }, "_children": [], "_active": true, "_components": [ { - "__id__": 520 + "__id__": 525 } ], "_prefab": null, @@ -25199,7 +25427,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 519 + "__id__": 524 }, "_enabled": true, "_materials": [ @@ -25233,17 +25461,17 @@ "_name": "coin1", "_objFlags": 0, "_parent": { - "__id__": 518 + "__id__": 523 }, "_children": [ { - "__id__": 522 + "__id__": 527 }, { - "__id__": 524 + "__id__": 529 }, { - "__id__": 526 + "__id__": 531 } ], "_active": false, @@ -25301,13 +25529,13 @@ "_name": "coins5", "_objFlags": 0, "_parent": { - "__id__": 521 + "__id__": 526 }, "_children": [], "_active": true, "_components": [ { - "__id__": 523 + "__id__": 528 } ], "_prefab": null, @@ -25363,7 +25591,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 522 + "__id__": 527 }, "_enabled": true, "_materials": [ @@ -25397,13 +25625,13 @@ "_name": "coins0", "_objFlags": 0, "_parent": { - "__id__": 521 + "__id__": 526 }, "_children": [], "_active": true, "_components": [ { - "__id__": 525 + "__id__": 530 } ], "_prefab": null, @@ -25459,7 +25687,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 524 + "__id__": 529 }, "_enabled": true, "_materials": [ @@ -25493,13 +25721,13 @@ "_name": "coins0", "_objFlags": 0, "_parent": { - "__id__": 521 + "__id__": 526 }, "_children": [], "_active": true, "_components": [ { - "__id__": 527 + "__id__": 532 } ], "_prefab": null, @@ -25555,7 +25783,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 526 + "__id__": 531 }, "_enabled": true, "_materials": [ @@ -25589,20 +25817,20 @@ "_name": "coin2", "_objFlags": 0, "_parent": { - "__id__": 518 + "__id__": 523 }, "_children": [ { - "__id__": 529 + "__id__": 534 }, { - "__id__": 531 + "__id__": 536 }, { - "__id__": 533 + "__id__": 538 }, { - "__id__": 535 + "__id__": 540 } ], "_active": false, @@ -25660,13 +25888,13 @@ "_name": "coins1", "_objFlags": 0, "_parent": { - "__id__": 528 + "__id__": 533 }, "_children": [], "_active": true, "_components": [ { - "__id__": 530 + "__id__": 535 } ], "_prefab": null, @@ -25722,7 +25950,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 529 + "__id__": 534 }, "_enabled": true, "_materials": [ @@ -25756,13 +25984,13 @@ "_name": "coins5", "_objFlags": 0, "_parent": { - "__id__": 528 + "__id__": 533 }, "_children": [], "_active": true, "_components": [ { - "__id__": 532 + "__id__": 537 } ], "_prefab": null, @@ -25818,7 +26046,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 531 + "__id__": 536 }, "_enabled": true, "_materials": [ @@ -25852,13 +26080,13 @@ "_name": "coins0", "_objFlags": 0, "_parent": { - "__id__": 528 + "__id__": 533 }, "_children": [], "_active": true, "_components": [ { - "__id__": 534 + "__id__": 539 } ], "_prefab": null, @@ -25914,7 +26142,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 533 + "__id__": 538 }, "_enabled": true, "_materials": [ @@ -25948,13 +26176,13 @@ "_name": "coins0", "_objFlags": 0, "_parent": { - "__id__": 528 + "__id__": 533 }, "_children": [], "_active": true, "_components": [ { - "__id__": 536 + "__id__": 541 } ], "_prefab": null, @@ -26010,7 +26238,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 535 + "__id__": 540 }, "_enabled": true, "_materials": [ @@ -26044,20 +26272,20 @@ "_name": "coin3", "_objFlags": 0, "_parent": { - "__id__": 518 + "__id__": 523 }, "_children": [ { - "__id__": 538 + "__id__": 543 }, { - "__id__": 540 + "__id__": 545 }, { - "__id__": 542 + "__id__": 547 }, { - "__id__": 544 + "__id__": 549 } ], "_active": false, @@ -26115,13 +26343,13 @@ "_name": "coins1", "_objFlags": 0, "_parent": { - "__id__": 537 + "__id__": 542 }, "_children": [], "_active": true, "_components": [ { - "__id__": 539 + "__id__": 544 } ], "_prefab": null, @@ -26177,7 +26405,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 538 + "__id__": 543 }, "_enabled": true, "_materials": [ @@ -26211,13 +26439,13 @@ "_name": "coins5", "_objFlags": 0, "_parent": { - "__id__": 537 + "__id__": 542 }, "_children": [], "_active": true, "_components": [ { - "__id__": 541 + "__id__": 546 } ], "_prefab": null, @@ -26273,7 +26501,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 540 + "__id__": 545 }, "_enabled": true, "_materials": [ @@ -26307,13 +26535,13 @@ "_name": "coins0", "_objFlags": 0, "_parent": { - "__id__": 537 + "__id__": 542 }, "_children": [], "_active": true, "_components": [ { - "__id__": 543 + "__id__": 548 } ], "_prefab": null, @@ -26369,7 +26597,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 542 + "__id__": 547 }, "_enabled": true, "_materials": [ @@ -26403,13 +26631,13 @@ "_name": "coins0", "_objFlags": 0, "_parent": { - "__id__": 537 + "__id__": 542 }, "_children": [], "_active": true, "_components": [ { - "__id__": 545 + "__id__": 550 } ], "_prefab": null, @@ -26465,7 +26693,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 544 + "__id__": 549 }, "_enabled": true, "_materials": [ @@ -26499,13 +26727,13 @@ "_name": "coins", "_objFlags": 0, "_parent": { - "__id__": 518 + "__id__": 523 }, "_children": [], "_active": true, "_components": [ { - "__id__": 547 + "__id__": 552 } ], "_prefab": null, @@ -26561,7 +26789,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 546 + "__id__": 551 }, "_enabled": true, "_materials": [ @@ -26595,7 +26823,7 @@ "_name": "coinNun", "_objFlags": 0, "_parent": { - "__id__": 518 + "__id__": 523 }, "_children": [], "_active": false, @@ -26653,7 +26881,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 518 + "__id__": 523 }, "_enabled": true, "_materials": [ @@ -26687,7 +26915,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 518 + "__id__": 523 }, "_enabled": true, "_normalMaterial": null, @@ -26696,7 +26924,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 551 + "__id__": 556 } ], "_N$interactable": true, @@ -26752,7 +26980,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 518 + "__id__": 523 }, "_id": "d9X6reFQ5ElIF/oEEoTwvB" }, @@ -26777,10 +27005,10 @@ "_active": true, "_components": [ { - "__id__": 553 + "__id__": 558 }, { - "__id__": 554 + "__id__": 559 } ], "_prefab": null, @@ -26836,7 +27064,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 552 + "__id__": 557 }, "_enabled": true, "_materials": [ @@ -26870,7 +27098,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 552 + "__id__": 557 }, "_enabled": true, "_normalMaterial": null, @@ -26879,7 +27107,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 555 + "__id__": 560 } ], "_N$interactable": true, @@ -26935,7 +27163,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 552 + "__id__": 557 }, "_id": "48mz2WOYxOmpmmNFGfPFpu" }, @@ -26958,20 +27186,20 @@ }, "_children": [ { - "__id__": 557 + "__id__": 562 }, { - "__id__": 560 + "__id__": 565 } ], "_active": true, "_components": [ { - "__id__": 563 + "__id__": 568 } ], "_prefab": { - "__id__": 564 + "__id__": 569 }, "_opacity": 255, "_color": { @@ -27025,17 +27253,17 @@ "_name": "jixuc", "_objFlags": 0, "_parent": { - "__id__": 556 + "__id__": 561 }, "_children": [], "_active": true, "_components": [ { - "__id__": 558 + "__id__": 563 } ], "_prefab": { - "__id__": 559 + "__id__": 564 }, "_opacity": 255, "_color": { @@ -27089,7 +27317,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 557 + "__id__": 562 }, "_enabled": true, "_materials": [ @@ -27134,17 +27362,17 @@ "_name": "mmm", "_objFlags": 0, "_parent": { - "__id__": 556 + "__id__": 561 }, "_children": [], "_active": true, "_components": [ { - "__id__": 561 + "__id__": 566 } ], "_prefab": { - "__id__": 562 + "__id__": 567 }, "_opacity": 255, "_color": { @@ -27198,7 +27426,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 560 + "__id__": 565 }, "_enabled": true, "_materials": [ @@ -27243,7 +27471,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 556 + "__id__": 561 }, "_enabled": true, "_materials": [ @@ -27292,20 +27520,20 @@ }, "_children": [ { - "__id__": 566 + "__id__": 571 } ], "_active": true, "_components": [ { - "__id__": 574 + "__id__": 579 }, { - "__id__": 575 + "__id__": 580 } ], "_prefab": { - "__id__": 577 + "__id__": 582 }, "_opacity": 255, "_color": { @@ -27359,20 +27587,20 @@ "_name": "price", "_objFlags": 0, "_parent": { - "__id__": 565 + "__id__": 570 }, "_children": [ { - "__id__": 567 + "__id__": 572 }, { - "__id__": 570 + "__id__": 575 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 573 + "__id__": 578 }, "_opacity": 255, "_color": { @@ -27426,17 +27654,17 @@ "_name": "cost_6", "_objFlags": 0, "_parent": { - "__id__": 566 + "__id__": 571 }, "_children": [], "_active": true, "_components": [ { - "__id__": 568 + "__id__": 573 } ], "_prefab": { - "__id__": 569 + "__id__": 574 }, "_opacity": 255, "_color": { @@ -27490,7 +27718,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 567 + "__id__": 572 }, "_enabled": true, "_materials": [ @@ -27535,17 +27763,17 @@ "_name": "cost_10", "_objFlags": 0, "_parent": { - "__id__": 566 + "__id__": 571 }, "_children": [], "_active": true, "_components": [ { - "__id__": 571 + "__id__": 576 } ], "_prefab": { - "__id__": 572 + "__id__": 577 }, "_opacity": 255, "_color": { @@ -27599,7 +27827,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 570 + "__id__": 575 }, "_enabled": true, "_materials": [ @@ -27655,7 +27883,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 565 + "__id__": 570 }, "_enabled": true, "_materials": [ @@ -27689,7 +27917,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 565 + "__id__": 570 }, "_enabled": true, "_normalMaterial": null, @@ -27698,7 +27926,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 576 + "__id__": 581 } ], "_N$interactable": true, @@ -27786,22 +28014,22 @@ }, "_children": [ { - "__id__": 579 + "__id__": 584 }, { - "__id__": 582 + "__id__": 587 }, { - "__id__": 585 + "__id__": 590 }, { - "__id__": 588 + "__id__": 593 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 591 + "__id__": 596 }, "_opacity": 255, "_color": { @@ -27855,17 +28083,17 @@ "_name": "scoin_1", "_objFlags": 0, "_parent": { - "__id__": 578 + "__id__": 583 }, "_children": [], "_active": true, "_components": [ { - "__id__": 580 + "__id__": 585 } ], "_prefab": { - "__id__": 581 + "__id__": 586 }, "_opacity": 255, "_color": { @@ -27919,7 +28147,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 579 + "__id__": 584 }, "_enabled": true, "_materials": [ @@ -27964,17 +28192,17 @@ "_name": "scoin_0", "_objFlags": 0, "_parent": { - "__id__": 578 + "__id__": 583 }, "_children": [], "_active": true, "_components": [ { - "__id__": 583 + "__id__": 588 } ], "_prefab": { - "__id__": 584 + "__id__": 589 }, "_opacity": 255, "_color": { @@ -28028,7 +28256,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 582 + "__id__": 587 }, "_enabled": true, "_materials": [ @@ -28073,17 +28301,17 @@ "_name": "scoin_0", "_objFlags": 0, "_parent": { - "__id__": 578 + "__id__": 583 }, "_children": [], "_active": true, "_components": [ { - "__id__": 586 + "__id__": 591 } ], "_prefab": { - "__id__": 587 + "__id__": 592 }, "_opacity": 255, "_color": { @@ -28137,7 +28365,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 585 + "__id__": 590 }, "_enabled": true, "_materials": [ @@ -28182,17 +28410,17 @@ "_name": "scoin_0", "_objFlags": 0, "_parent": { - "__id__": 578 + "__id__": 583 }, "_children": [], "_active": true, "_components": [ { - "__id__": 589 + "__id__": 594 } ], "_prefab": { - "__id__": 590 + "__id__": 595 }, "_opacity": 255, "_color": { @@ -28246,7 +28474,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 588 + "__id__": 593 }, "_enabled": true, "_materials": [ @@ -28306,28 +28534,28 @@ }, "_children": [ { - "__id__": 593 + "__id__": 598 }, { - "__id__": 596 + "__id__": 601 }, { - "__id__": 599 + "__id__": 604 }, { - "__id__": 602 + "__id__": 607 }, { - "__id__": 605 + "__id__": 610 }, { - "__id__": 608 + "__id__": 613 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 611 + "__id__": 616 }, "_opacity": 255, "_color": { @@ -28381,17 +28609,17 @@ "_name": "x", "_objFlags": 0, "_parent": { - "__id__": 592 + "__id__": 597 }, "_children": [], "_active": true, "_components": [ { - "__id__": 594 + "__id__": 599 } ], "_prefab": { - "__id__": 595 + "__id__": 600 }, "_opacity": 255, "_color": { @@ -28445,7 +28673,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 593 + "__id__": 598 }, "_enabled": true, "_materials": [ @@ -28490,17 +28718,17 @@ "_name": "mul1", "_objFlags": 0, "_parent": { - "__id__": 592 + "__id__": 597 }, "_children": [], "_active": true, "_components": [ { - "__id__": 597 + "__id__": 602 } ], "_prefab": { - "__id__": 598 + "__id__": 603 }, "_opacity": 255, "_color": { @@ -28554,7 +28782,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 596 + "__id__": 601 }, "_enabled": true, "_materials": [ @@ -28599,17 +28827,17 @@ "_name": "x", "_objFlags": 0, "_parent": { - "__id__": 592 + "__id__": 597 }, "_children": [], "_active": true, "_components": [ { - "__id__": 600 + "__id__": 605 } ], "_prefab": { - "__id__": 601 + "__id__": 606 }, "_opacity": 255, "_color": { @@ -28663,7 +28891,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 599 + "__id__": 604 }, "_enabled": true, "_materials": [ @@ -28708,17 +28936,17 @@ "_name": "mul1", "_objFlags": 0, "_parent": { - "__id__": 592 + "__id__": 597 }, "_children": [], "_active": true, "_components": [ { - "__id__": 603 + "__id__": 608 } ], "_prefab": { - "__id__": 604 + "__id__": 609 }, "_opacity": 255, "_color": { @@ -28772,7 +29000,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 602 + "__id__": 607 }, "_enabled": true, "_materials": [ @@ -28817,17 +29045,17 @@ "_name": "x", "_objFlags": 0, "_parent": { - "__id__": 592 + "__id__": 597 }, "_children": [], "_active": true, "_components": [ { - "__id__": 606 + "__id__": 611 } ], "_prefab": { - "__id__": 607 + "__id__": 612 }, "_opacity": 255, "_color": { @@ -28881,7 +29109,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 605 + "__id__": 610 }, "_enabled": true, "_materials": [ @@ -28926,17 +29154,17 @@ "_name": "mul1", "_objFlags": 0, "_parent": { - "__id__": 592 + "__id__": 597 }, "_children": [], "_active": true, "_components": [ { - "__id__": 609 + "__id__": 614 } ], "_prefab": { - "__id__": 610 + "__id__": 615 }, "_opacity": 255, "_color": { @@ -28990,7 +29218,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 608 + "__id__": 613 }, "_enabled": true, "_materials": [ @@ -29050,16 +29278,16 @@ }, "_children": [ { - "__id__": 613 + "__id__": 618 }, { - "__id__": 616 + "__id__": 621 } ], "_active": true, "_components": [], "_prefab": { - "__id__": 619 + "__id__": 624 }, "_opacity": 255, "_color": { @@ -29113,17 +29341,17 @@ "_name": "month_2", "_objFlags": 0, "_parent": { - "__id__": 612 + "__id__": 617 }, "_children": [], "_active": true, "_components": [ { - "__id__": 614 + "__id__": 619 } ], "_prefab": { - "__id__": 615 + "__id__": 620 }, "_opacity": 255, "_color": { @@ -29177,7 +29405,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 613 + "__id__": 618 }, "_enabled": true, "_materials": [ @@ -29222,17 +29450,17 @@ "_name": "month_0", "_objFlags": 0, "_parent": { - "__id__": 612 + "__id__": 617 }, "_children": [], "_active": true, "_components": [ { - "__id__": 617 + "__id__": 622 } ], "_prefab": { - "__id__": 618 + "__id__": 623 }, "_opacity": 255, "_color": { @@ -29286,7 +29514,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 616 + "__id__": 621 }, "_enabled": true, "_materials": [ @@ -29404,10 +29632,10 @@ "_active": false, "_components": [ { - "__id__": 624 + "__id__": 629 }, { - "__id__": 625 + "__id__": 630 } ], "_prefab": null, @@ -29463,7 +29691,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 623 + "__id__": 628 }, "_enabled": true, "_materials": [ @@ -29495,7 +29723,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 623 + "__id__": 628 }, "_enabled": true, "alignMode": 1, @@ -29553,31 +29781,31 @@ }, "_children": [ { - "__id__": 628 + "__id__": 633 }, { - "__id__": 632 + "__id__": 637 }, { - "__id__": 634 + "__id__": 639 }, { - "__id__": 636 + "__id__": 641 }, { - "__id__": 638 + "__id__": 643 }, { - "__id__": 644 + "__id__": 649 } ], "_active": false, "_components": [ { - "__id__": 646 + "__id__": 651 }, { - "__id__": 647 + "__id__": 652 } ], "_prefab": null, @@ -29633,19 +29861,19 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 627 + "__id__": 632 }, "_children": [], "_active": true, "_components": [ { - "__id__": 629 + "__id__": 634 }, { - "__id__": 630 + "__id__": 635 }, { - "__id__": 631 + "__id__": 636 } ], "_prefab": null, @@ -29701,7 +29929,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 628 + "__id__": 633 }, "_enabled": true, "_materials": [ @@ -29733,7 +29961,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 628 + "__id__": 633 }, "_enabled": true, "alignMode": 1, @@ -29760,7 +29988,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 628 + "__id__": 633 }, "_enabled": true, "_id": "1e62ukhsJObKLFucCNzfwm" @@ -29770,13 +29998,13 @@ "_name": "bg", "_objFlags": 0, "_parent": { - "__id__": 627 + "__id__": 632 }, "_children": [], "_active": true, "_components": [ { - "__id__": 633 + "__id__": 638 } ], "_prefab": null, @@ -29832,7 +30060,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 632 + "__id__": 637 }, "_enabled": true, "_materials": [ @@ -29864,13 +30092,13 @@ "_name": "light", "_objFlags": 0, "_parent": { - "__id__": 627 + "__id__": 632 }, "_children": [], "_active": true, "_components": [ { - "__id__": 635 + "__id__": 640 } ], "_prefab": null, @@ -29926,7 +30154,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 634 + "__id__": 639 }, "_enabled": true, "_materials": [ @@ -29958,13 +30186,13 @@ "_name": "icon", "_objFlags": 0, "_parent": { - "__id__": 627 + "__id__": 632 }, "_children": [], "_active": true, "_components": [ { - "__id__": 637 + "__id__": 642 } ], "_prefab": null, @@ -30020,7 +30248,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 636 + "__id__": 641 }, "_enabled": true, "_materials": [ @@ -30050,20 +30278,20 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 627 + "__id__": 632 }, "_children": [ { - "__id__": 639 + "__id__": 644 } ], "_active": true, "_components": [ { - "__id__": 641 + "__id__": 646 }, { - "__id__": 642 + "__id__": 647 } ], "_prefab": null, @@ -30119,13 +30347,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 638 + "__id__": 643 }, "_children": [], "_active": true, "_components": [ { - "__id__": 640 + "__id__": 645 } ], "_prefab": null, @@ -30181,7 +30409,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 639 + "__id__": 644 }, "_enabled": true, "_materials": [ @@ -30213,7 +30441,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 638 + "__id__": 643 }, "_enabled": true, "_materials": [ @@ -30245,7 +30473,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 638 + "__id__": 643 }, "_enabled": true, "_normalMaterial": null, @@ -30254,7 +30482,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 643 + "__id__": 648 } ], "_N$interactable": true, @@ -30310,14 +30538,14 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 638 + "__id__": 643 }, "_id": "2bhrCpcRxImqyWzBaIVVCd" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 627 + "__id__": 632 }, "component": "", "_componentId": "7fe14dRFQZKSKKAoEn4S7OU", @@ -30329,13 +30557,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 627 + "__id__": 632 }, "_children": [], "_active": true, "_components": [ { - "__id__": 645 + "__id__": 650 } ], "_prefab": null, @@ -30391,7 +30619,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 644 + "__id__": 649 }, "_enabled": true, "_materials": [ @@ -30423,7 +30651,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 627 + "__id__": 632 }, "_enabled": true, "alignMode": 1, @@ -30450,7 +30678,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 627 + "__id__": 632 }, "_enabled": true, "label": null, @@ -30492,53 +30720,53 @@ "__id__": 2 }, "_children": [ - { - "__id__": 650 - }, - { - "__id__": 653 - }, { "__id__": 655 }, { - "__id__": 659 + "__id__": 658 }, { - "__id__": 663 + "__id__": 660 }, { - "__id__": 670 + "__id__": 664 }, { - "__id__": 672 + "__id__": 668 }, { - "__id__": 676 + "__id__": 675 }, { - "__id__": 678 + "__id__": 677 }, { - "__id__": 680 + "__id__": 681 }, { - "__id__": 682 + "__id__": 683 }, { - "__id__": 689 + "__id__": 685 }, { - "__id__": 696 + "__id__": 687 }, { - "__id__": 703 + "__id__": 694 + }, + { + "__id__": 701 + }, + { + "__id__": 708 } ], "_active": false, "_components": [ { - "__id__": 745 + "__id__": 750 } ], "_prefab": null, @@ -30594,16 +30822,16 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 649 + "__id__": 654 }, "_children": [], "_active": true, "_components": [ { - "__id__": 651 + "__id__": 656 }, { - "__id__": 652 + "__id__": 657 } ], "_prefab": null, @@ -30659,7 +30887,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 650 + "__id__": 655 }, "_enabled": true, "_materials": [ @@ -30691,7 +30919,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 650 + "__id__": 655 }, "_enabled": true, "_id": "14MNfl+ahOhqeYjELowhPw" @@ -30701,13 +30929,13 @@ "_name": "bg", "_objFlags": 0, "_parent": { - "__id__": 649 + "__id__": 654 }, "_children": [], "_active": true, "_components": [ { - "__id__": 654 + "__id__": 659 } ], "_prefab": null, @@ -30763,7 +30991,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 653 + "__id__": 658 }, "_enabled": true, "_materials": [ @@ -30795,16 +31023,16 @@ "_name": "exit", "_objFlags": 0, "_parent": { - "__id__": 649 + "__id__": 654 }, "_children": [], "_active": true, "_components": [ { - "__id__": 656 + "__id__": 661 }, { - "__id__": 657 + "__id__": 662 } ], "_prefab": null, @@ -30860,7 +31088,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 655 + "__id__": 660 }, "_enabled": true, "_materials": [ @@ -30894,7 +31122,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 655 + "__id__": 660 }, "_enabled": true, "_normalMaterial": null, @@ -30903,7 +31131,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 658 + "__id__": 663 } ], "_N$interactable": true, @@ -30959,14 +31187,14 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 655 + "__id__": 660 }, "_id": "97kj3CvWxPG4M35kF1JIsf" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 649 + "__id__": 654 }, "component": "", "_componentId": "19d952d5kVBrLSzAIGeElFK", @@ -30978,16 +31206,16 @@ "_name": "trya", "_objFlags": 0, "_parent": { - "__id__": 649 + "__id__": 654 }, "_children": [], "_active": true, "_components": [ { - "__id__": 660 + "__id__": 665 }, { - "__id__": 661 + "__id__": 666 } ], "_prefab": null, @@ -31043,7 +31271,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 659 + "__id__": 664 }, "_enabled": true, "_materials": [ @@ -31077,7 +31305,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 659 + "__id__": 664 }, "_enabled": true, "_normalMaterial": null, @@ -31086,7 +31314,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 662 + "__id__": 667 } ], "_N$interactable": true, @@ -31142,14 +31370,14 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 659 + "__id__": 664 }, "_id": "60wEETFzRPtLLU2Qraip7E" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 649 + "__id__": 654 }, "component": "", "_componentId": "19d952d5kVBrLSzAIGeElFK", @@ -31161,23 +31389,23 @@ "_name": "btn", "_objFlags": 0, "_parent": { - "__id__": 649 + "__id__": 654 }, "_children": [ { - "__id__": 664 + "__id__": 669 } ], "_active": true, "_components": [ { - "__id__": 666 + "__id__": 671 }, { - "__id__": 667 + "__id__": 672 }, { - "__id__": 669 + "__id__": 674 } ], "_prefab": null, @@ -31233,13 +31461,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 663 + "__id__": 668 }, "_children": [], "_active": true, "_components": [ { - "__id__": 665 + "__id__": 670 } ], "_prefab": null, @@ -31295,7 +31523,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 664 + "__id__": 669 }, "_enabled": true, "_materials": [ @@ -31325,7 +31553,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 663 + "__id__": 668 }, "_enabled": true, "_materials": [ @@ -31359,7 +31587,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 663 + "__id__": 668 }, "_enabled": true, "_normalMaterial": null, @@ -31368,7 +31596,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 668 + "__id__": 673 } ], "_N$interactable": true, @@ -31424,7 +31652,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 663 + "__id__": 668 }, "_id": "24dgt8oDxESJcfVjgdLoZY" }, @@ -31443,7 +31671,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 663 + "__id__": 668 }, "_enabled": true, "_id": "4bRL3qYrVAv5dRBgfVjrQC" @@ -31453,13 +31681,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 649 + "__id__": 654 }, "_children": [], "_active": true, "_components": [ { - "__id__": 671 + "__id__": 676 } ], "_prefab": null, @@ -31515,7 +31743,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 670 + "__id__": 675 }, "_enabled": true, "_materials": [ @@ -31549,16 +31777,16 @@ "_name": "closeBtn", "_objFlags": 0, "_parent": { - "__id__": 649 + "__id__": 654 }, "_children": [], "_active": true, "_components": [ { - "__id__": 673 + "__id__": 678 }, { - "__id__": 674 + "__id__": 679 } ], "_prefab": null, @@ -31614,7 +31842,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 672 + "__id__": 677 }, "_enabled": true, "_materials": [ @@ -31648,7 +31876,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 672 + "__id__": 677 }, "_enabled": true, "_normalMaterial": null, @@ -31657,7 +31885,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 675 + "__id__": 680 } ], "_N$interactable": true, @@ -31713,7 +31941,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 672 + "__id__": 677 }, "_id": "bc//MpLz5OY6QGyDZRN589" }, @@ -31732,13 +31960,13 @@ "_name": "yinyue1", "_objFlags": 0, "_parent": { - "__id__": 649 + "__id__": 654 }, "_children": [], "_active": true, "_components": [ { - "__id__": 677 + "__id__": 682 } ], "_prefab": null, @@ -31794,7 +32022,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 676 + "__id__": 681 }, "_enabled": true, "_materials": [ @@ -31828,13 +32056,13 @@ "_name": "zhendong1", "_objFlags": 0, "_parent": { - "__id__": 649 + "__id__": 654 }, "_children": [], "_active": true, "_components": [ { - "__id__": 679 + "__id__": 684 } ], "_prefab": null, @@ -31890,7 +32118,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 678 + "__id__": 683 }, "_enabled": true, "_materials": [ @@ -31924,13 +32152,13 @@ "_name": "yinxiao", "_objFlags": 0, "_parent": { - "__id__": 649 + "__id__": 654 }, "_children": [], "_active": true, "_components": [ { - "__id__": 681 + "__id__": 686 } ], "_prefab": null, @@ -31986,7 +32214,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 680 + "__id__": 685 }, "_enabled": true, "_materials": [ @@ -32020,20 +32248,20 @@ "_name": "bg", "_objFlags": 0, "_parent": { - "__id__": 649 + "__id__": 654 }, "_children": [ { - "__id__": 683 + "__id__": 688 }, { - "__id__": 685 + "__id__": 690 } ], "_active": true, "_components": [ { - "__id__": 687 + "__id__": 692 } ], "_prefab": null, @@ -32089,13 +32317,13 @@ "_name": "open", "_objFlags": 0, "_parent": { - "__id__": 682 + "__id__": 687 }, "_children": [], "_active": true, "_components": [ { - "__id__": 684 + "__id__": 689 } ], "_prefab": null, @@ -32151,7 +32379,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 683 + "__id__": 688 }, "_enabled": true, "_materials": [ @@ -32185,13 +32413,13 @@ "_name": "close", "_objFlags": 0, "_parent": { - "__id__": 682 + "__id__": 687 }, "_children": [], "_active": false, "_components": [ { - "__id__": 686 + "__id__": 691 } ], "_prefab": null, @@ -32247,7 +32475,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 685 + "__id__": 690 }, "_enabled": true, "_materials": [ @@ -32281,7 +32509,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 682 + "__id__": 687 }, "_enabled": true, "_normalMaterial": null, @@ -32345,11 +32573,11 @@ "_N$isChecked": false, "toggleGroup": null, "checkMark": { - "__id__": 686 + "__id__": 691 }, "checkEvents": [ { - "__id__": 688 + "__id__": 693 } ], "_id": "4bv6Txm/tOTpDb9nfNgn+c" @@ -32357,7 +32585,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 649 + "__id__": 654 }, "component": "", "_componentId": "19d952d5kVBrLSzAIGeElFK", @@ -32369,20 +32597,20 @@ "_name": "bg", "_objFlags": 0, "_parent": { - "__id__": 649 + "__id__": 654 }, "_children": [ { - "__id__": 690 + "__id__": 695 }, { - "__id__": 692 + "__id__": 697 } ], "_active": true, "_components": [ { - "__id__": 694 + "__id__": 699 } ], "_prefab": null, @@ -32438,13 +32666,13 @@ "_name": "open", "_objFlags": 0, "_parent": { - "__id__": 689 + "__id__": 694 }, "_children": [], "_active": true, "_components": [ { - "__id__": 691 + "__id__": 696 } ], "_prefab": null, @@ -32500,7 +32728,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 690 + "__id__": 695 }, "_enabled": true, "_materials": [ @@ -32534,13 +32762,13 @@ "_name": "close", "_objFlags": 0, "_parent": { - "__id__": 689 + "__id__": 694 }, "_children": [], "_active": false, "_components": [ { - "__id__": 693 + "__id__": 698 } ], "_prefab": null, @@ -32596,7 +32824,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 692 + "__id__": 697 }, "_enabled": true, "_materials": [ @@ -32630,7 +32858,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 689 + "__id__": 694 }, "_enabled": true, "_normalMaterial": null, @@ -32694,11 +32922,11 @@ "_N$isChecked": false, "toggleGroup": null, "checkMark": { - "__id__": 693 + "__id__": 698 }, "checkEvents": [ { - "__id__": 695 + "__id__": 700 } ], "_id": "175VURfcRMZ4U0/08yWOOS" @@ -32706,7 +32934,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 649 + "__id__": 654 }, "component": "", "_componentId": "19d952d5kVBrLSzAIGeElFK", @@ -32718,20 +32946,20 @@ "_name": "bg", "_objFlags": 0, "_parent": { - "__id__": 649 + "__id__": 654 }, "_children": [ { - "__id__": 697 + "__id__": 702 }, { - "__id__": 699 + "__id__": 704 } ], "_active": true, "_components": [ { - "__id__": 701 + "__id__": 706 } ], "_prefab": null, @@ -32787,13 +33015,13 @@ "_name": "open", "_objFlags": 0, "_parent": { - "__id__": 696 + "__id__": 701 }, "_children": [], "_active": true, "_components": [ { - "__id__": 698 + "__id__": 703 } ], "_prefab": null, @@ -32849,7 +33077,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 697 + "__id__": 702 }, "_enabled": true, "_materials": [ @@ -32883,13 +33111,13 @@ "_name": "close", "_objFlags": 0, "_parent": { - "__id__": 696 + "__id__": 701 }, "_children": [], "_active": false, "_components": [ { - "__id__": 700 + "__id__": 705 } ], "_prefab": null, @@ -32945,7 +33173,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 699 + "__id__": 704 }, "_enabled": true, "_materials": [ @@ -32979,7 +33207,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 696 + "__id__": 701 }, "_enabled": true, "_normalMaterial": null, @@ -33043,11 +33271,11 @@ "_N$isChecked": false, "toggleGroup": null, "checkMark": { - "__id__": 700 + "__id__": 705 }, "checkEvents": [ { - "__id__": 702 + "__id__": 707 } ], "_id": "268X0b2xRIKIqgyz4MaBdG" @@ -33055,7 +33283,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 649 + "__id__": 654 }, "component": "", "_componentId": "19d952d5kVBrLSzAIGeElFK", @@ -33067,23 +33295,23 @@ "_name": "pauseTs", "_objFlags": 0, "_parent": { - "__id__": 649 + "__id__": 654 }, "_children": [ { - "__id__": 704 - }, - { - "__id__": 708 + "__id__": 709 }, { "__id__": 713 + }, + { + "__id__": 718 } ], "_active": false, "_components": [ { - "__id__": 744 + "__id__": 749 } ], "_prefab": null, @@ -33139,19 +33367,19 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 703 + "__id__": 708 }, "_children": [], "_active": false, "_components": [ { - "__id__": 705 + "__id__": 710 }, { - "__id__": 706 + "__id__": 711 }, { - "__id__": 707 + "__id__": 712 } ], "_prefab": null, @@ -33207,7 +33435,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 704 + "__id__": 709 }, "_enabled": true, "_materials": [ @@ -33239,7 +33467,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 704 + "__id__": 709 }, "_enabled": true, "alignMode": 1, @@ -33266,7 +33494,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 704 + "__id__": 709 }, "_enabled": true, "_id": "c8PKNIvwRO3rt0Tp1BxG0m" @@ -33276,17 +33504,17 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 703 + "__id__": 708 }, "_children": [ { - "__id__": 709 + "__id__": 714 } ], "_active": true, "_components": [ { - "__id__": 712 + "__id__": 717 } ], "_prefab": null, @@ -33342,16 +33570,16 @@ "_name": "closet", "_objFlags": 0, "_parent": { - "__id__": 708 + "__id__": 713 }, "_children": [], "_active": false, "_components": [ { - "__id__": 710 + "__id__": 715 }, { - "__id__": 711 + "__id__": 716 } ], "_prefab": null, @@ -33407,7 +33635,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 709 + "__id__": 714 }, "_enabled": true, "_materials": [ @@ -33441,7 +33669,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 709 + "__id__": 714 }, "_enabled": true, "_normalMaterial": null, @@ -33504,7 +33732,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 709 + "__id__": 714 }, "_id": "84YaPQK8dO/q/lnhNJcwW2" }, @@ -33513,7 +33741,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 708 + "__id__": 713 }, "_enabled": true, "_materials": [ @@ -33545,32 +33773,32 @@ "_name": "Health", "_objFlags": 0, "_parent": { - "__id__": 703 + "__id__": 708 }, "_children": [ { - "__id__": 714 + "__id__": 719 }, { - "__id__": 716 + "__id__": 721 }, { - "__id__": 720 + "__id__": 725 }, { - "__id__": 726 + "__id__": 731 }, { - "__id__": 730 + "__id__": 735 }, { - "__id__": 734 + "__id__": 739 }, { - "__id__": 738 + "__id__": 743 }, { - "__id__": 742 + "__id__": 747 } ], "_active": true, @@ -33628,13 +33856,13 @@ "_name": "New Sprite", "_objFlags": 0, "_parent": { - "__id__": 713 + "__id__": 718 }, "_children": [], "_active": true, "_components": [ { - "__id__": 715 + "__id__": 720 } ], "_prefab": null, @@ -33690,7 +33918,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 714 + "__id__": 719 }, "_enabled": true, "_materials": [ @@ -33724,17 +33952,17 @@ "_name": "yuandi", "_objFlags": 0, "_parent": { - "__id__": 713 + "__id__": 718 }, "_children": [ { - "__id__": 717 + "__id__": 722 } ], "_active": true, "_components": [ { - "__id__": 719 + "__id__": 724 } ], "_prefab": null, @@ -33790,13 +34018,13 @@ "_name": "guang", "_objFlags": 0, "_parent": { - "__id__": 716 + "__id__": 721 }, "_children": [], "_active": true, "_components": [ { - "__id__": 718 + "__id__": 723 } ], "_prefab": null, @@ -33852,7 +34080,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 717 + "__id__": 722 }, "_enabled": true, "_materials": [ @@ -33884,7 +34112,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 716 + "__id__": 721 }, "_enabled": true, "_materials": [ @@ -33916,20 +34144,20 @@ "_name": "boom_show", "_objFlags": 0, "_parent": { - "__id__": 713 + "__id__": 718 }, "_children": [ { - "__id__": 721 + "__id__": 726 }, { - "__id__": 723 + "__id__": 728 } ], "_active": true, "_components": [ { - "__id__": 725 + "__id__": 730 } ], "_prefab": null, @@ -33985,13 +34213,13 @@ "_name": "hp_-", "_objFlags": 0, "_parent": { - "__id__": 720 + "__id__": 725 }, "_children": [], "_active": false, "_components": [ { - "__id__": 722 + "__id__": 727 } ], "_prefab": null, @@ -34047,7 +34275,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 721 + "__id__": 726 }, "_enabled": true, "_materials": [ @@ -34081,13 +34309,13 @@ "_name": "hp_1", "_objFlags": 0, "_parent": { - "__id__": 720 + "__id__": 725 }, "_children": [], "_active": false, "_components": [ { - "__id__": 724 + "__id__": 729 } ], "_prefab": null, @@ -34143,7 +34371,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 723 + "__id__": 728 }, "_enabled": true, "_materials": [ @@ -34177,7 +34405,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 720 + "__id__": 725 }, "_enabled": true, "_materials": [ @@ -34211,16 +34439,16 @@ "_name": "homeBtn", "_objFlags": 0, "_parent": { - "__id__": 713 + "__id__": 718 }, "_children": [], "_active": true, "_components": [ { - "__id__": 727 + "__id__": 732 }, { - "__id__": 728 + "__id__": 733 } ], "_prefab": null, @@ -34276,7 +34504,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 726 + "__id__": 731 }, "_enabled": true, "_materials": [ @@ -34310,7 +34538,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 726 + "__id__": 731 }, "_enabled": true, "_normalMaterial": null, @@ -34319,7 +34547,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 729 + "__id__": 734 } ], "_N$interactable": true, @@ -34375,14 +34603,14 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 726 + "__id__": 731 }, "_id": "8cOgt0BzNKh6DAMeApvmL1" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 649 + "__id__": 654 }, "component": "", "_componentId": "19d952d5kVBrLSzAIGeElFK", @@ -34394,16 +34622,16 @@ "_name": "timeBtn", "_objFlags": 0, "_parent": { - "__id__": 713 + "__id__": 718 }, "_children": [], "_active": true, "_components": [ { - "__id__": 731 + "__id__": 736 }, { - "__id__": 732 + "__id__": 737 } ], "_prefab": null, @@ -34459,7 +34687,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 730 + "__id__": 735 }, "_enabled": true, "_materials": [ @@ -34493,7 +34721,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 730 + "__id__": 735 }, "_enabled": true, "_normalMaterial": null, @@ -34502,7 +34730,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 733 + "__id__": 738 } ], "_N$interactable": true, @@ -34558,14 +34786,14 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 730 + "__id__": 735 }, "_id": "17JyD8igFDkqr7xwpdwqjn" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 649 + "__id__": 654 }, "component": "", "_componentId": "19d952d5kVBrLSzAIGeElFK", @@ -34577,16 +34805,16 @@ "_name": "return", "_objFlags": 0, "_parent": { - "__id__": 713 + "__id__": 718 }, "_children": [], "_active": true, "_components": [ { - "__id__": 735 + "__id__": 740 }, { - "__id__": 736 + "__id__": 741 } ], "_prefab": null, @@ -34642,7 +34870,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 734 + "__id__": 739 }, "_enabled": true, "_materials": [ @@ -34676,7 +34904,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 734 + "__id__": 739 }, "_enabled": true, "_normalMaterial": null, @@ -34685,7 +34913,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 737 + "__id__": 742 } ], "_N$interactable": true, @@ -34741,7 +34969,7 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 734 + "__id__": 739 }, "_id": "0bvYtuHVZF0qYnTSZnyojv" }, @@ -34760,16 +34988,16 @@ "_name": "queding", "_objFlags": 0, "_parent": { - "__id__": 713 + "__id__": 718 }, "_children": [], "_active": false, "_components": [ { - "__id__": 739 + "__id__": 744 }, { - "__id__": 740 + "__id__": 745 } ], "_prefab": null, @@ -34825,7 +35053,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 738 + "__id__": 743 }, "_enabled": true, "_materials": [ @@ -34857,7 +35085,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 738 + "__id__": 743 }, "_enabled": true, "_normalMaterial": null, @@ -34866,7 +35094,7 @@ "zoomScale": 1.1, "clickEvents": [ { - "__id__": 741 + "__id__": 746 } ], "_N$interactable": true, @@ -34922,14 +35150,14 @@ "hoverSprite": null, "_N$disabledSprite": null, "_N$target": { - "__id__": 738 + "__id__": 743 }, "_id": "c3JfotjQ1BzoiA+3bn0sgx" }, { "__type__": "cc.ClickEvent", "target": { - "__id__": 649 + "__id__": 654 }, "component": "", "_componentId": "19d952d5kVBrLSzAIGeElFK", @@ -34941,13 +35169,13 @@ "_name": "result_title4", "_objFlags": 0, "_parent": { - "__id__": 713 + "__id__": 718 }, "_children": [], "_active": true, "_components": [ { - "__id__": 743 + "__id__": 748 } ], "_prefab": null, @@ -35003,7 +35231,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 742 + "__id__": 747 }, "_enabled": true, "_materials": [ @@ -35037,7 +35265,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 703 + "__id__": 708 }, "_enabled": true, "alignMode": 1, @@ -35064,20 +35292,20 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 649 + "__id__": 654 }, "_enabled": true, "music": { - "__id__": 682 + "__id__": 687 }, "effect": { - "__id__": 689 + "__id__": 694 }, "vibrate": { - "__id__": 696 + "__id__": 701 }, "exit": { - "__id__": 703 + "__id__": 708 }, "_id": "ef3nVp8O9FlpWYPlCYo9pA" }, @@ -35090,23 +35318,23 @@ }, "_children": [ { - "__id__": 747 + "__id__": 752 }, { - "__id__": 751 + "__id__": 756 }, { - "__id__": 754 + "__id__": 759 } ], "_active": false, "_components": [ { - "__id__": 757 + "__id__": 762 } ], "_prefab": { - "__id__": 758 + "__id__": 763 }, "_opacity": 255, "_color": { @@ -35160,20 +35388,20 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 746 + "__id__": 751 }, "_children": [], "_active": true, "_components": [ { - "__id__": 748 + "__id__": 753 }, { - "__id__": 749 + "__id__": 754 } ], "_prefab": { - "__id__": 750 + "__id__": 755 }, "_opacity": 120, "_color": { @@ -35227,7 +35455,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 747 + "__id__": 752 }, "_enabled": true, "_materials": [ @@ -35259,7 +35487,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 747 + "__id__": 752 }, "_enabled": true, "_id": "fdcyqVHbdJ6qjXrnxAvDP2" @@ -35267,7 +35495,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 746 + "__id__": 751 }, "asset": { "__uuid__": "9fdc6671-8422-410b-b9af-36dab20f1488" @@ -35280,17 +35508,17 @@ "_name": "load", "_objFlags": 0, "_parent": { - "__id__": 746 + "__id__": 751 }, "_children": [], "_active": true, "_components": [ { - "__id__": 752 + "__id__": 757 } ], "_prefab": { - "__id__": 753 + "__id__": 758 }, "_opacity": 255, "_color": { @@ -35344,7 +35572,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 751 + "__id__": 756 }, "_enabled": true, "_materials": [ @@ -35374,7 +35602,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 746 + "__id__": 751 }, "asset": { "__uuid__": "9fdc6671-8422-410b-b9af-36dab20f1488" @@ -35387,17 +35615,17 @@ "_name": "New Label", "_objFlags": 0, "_parent": { - "__id__": 746 + "__id__": 751 }, "_children": [], "_active": true, "_components": [ { - "__id__": 755 + "__id__": 760 } ], "_prefab": { - "__id__": 756 + "__id__": 761 }, "_opacity": 255, "_color": { @@ -35451,7 +35679,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 754 + "__id__": 759 }, "_enabled": true, "_materials": [ @@ -35482,7 +35710,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 746 + "__id__": 751 }, "asset": { "__uuid__": "9fdc6671-8422-410b-b9af-36dab20f1488" @@ -35495,7 +35723,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 746 + "__id__": 751 }, "_enabled": true, "alignMode": 1, @@ -35520,7 +35748,7 @@ { "__type__": "cc.PrefabInfo", "root": { - "__id__": 746 + "__id__": 751 }, "asset": { "__uuid__": "9fdc6671-8422-410b-b9af-36dab20f1488" @@ -35537,16 +35765,16 @@ }, "_children": [ { - "__id__": 760 + "__id__": 765 } ], "_active": false, "_components": [ { - "__id__": 763 + "__id__": 768 }, { - "__id__": 764 + "__id__": 769 } ], "_prefab": null, @@ -35602,16 +35830,16 @@ "_name": "New Sprite(Splash)", "_objFlags": 0, "_parent": { - "__id__": 759 + "__id__": 764 }, "_children": [], "_active": true, "_components": [ { - "__id__": 761 + "__id__": 766 }, { - "__id__": 762 + "__id__": 767 } ], "_prefab": null, @@ -35667,7 +35895,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 760 + "__id__": 765 }, "_enabled": true, "_materials": [ @@ -35699,7 +35927,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 760 + "__id__": 765 }, "_enabled": true, "_id": "4fwjz1lnFLD45L1lqUY038" @@ -35709,7 +35937,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 759 + "__id__": 764 }, "_enabled": true, "_materials": [ @@ -35751,7 +35979,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 759 + "__id__": 764 }, "_enabled": false, "_id": "00qpMLeBFNhYRX9r3QZvyP" @@ -35826,7 +36054,7 @@ "__id__": 321 }, "timeCoin": { - "__id__": 548 + "__id__": 553 }, "winCoin": { "__id__": 307 @@ -35856,7 +36084,7 @@ "_active": true, "_components": [ { - "__id__": 770 + "__id__": 775 } ], "_prefab": null, @@ -35912,7 +36140,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 769 + "__id__": 774 }, "_enabled": true, "_materials": [ diff --git a/assets/Script/GameManager.ts b/assets/Script/GameManager.ts index 7314697..0e56953 100644 --- a/assets/Script/GameManager.ts +++ b/assets/Script/GameManager.ts @@ -60,6 +60,7 @@ export default class GameManager extends cc.Component { this.load1 = this.load2 = this.load3 = this.load4 = this.load5 = this.load6 = false; setTimeout(() => { this.readUserData(); + this.getShareInfo(); }, 200); @@ -169,8 +170,6 @@ export default class GameManager extends cc.Component { startGame() { - console.log("进入场景之前_____________", cc.fx.GameConfig.GM_INFO.first); - console.log(cc.fx.GameConfig.GM_INFO.level); // 加载成功后进入 HomeScene // cc.assetManager.loadBundle('music', (err, bundle) => { // if (err) { @@ -257,6 +256,11 @@ export default class GameManager extends cc.Component { cc.fx.GameConfig.GM_INFO.allOutTradeNo = data.data.outTradeNo; console.log("______________________________有未发放奖励", cc.fx.GameConfig.GM_INFO.allOutTradeNo); } + if (data.data.shareLvl) { + if (data.data.shareLvl.length > 0) { + cc.fx.GameConfig.GM_INFO.helpLevel = data.data.shareLvl; + } + } this.setUserPower(data); this.setmonth(data); this.setRevive(data) @@ -537,75 +541,84 @@ export default class GameManager extends cc.Component { else { console.log("用户此一次进入游戏为正确获取openid"); } - cc.fx.GameConfig.GM_INFO.first = true; - console.log("金币成功时间耗时:", Date.now() - this.nowTime); - this.load3 = true; - this.load4 = true; - console.log("关卡等级成功时间耗时:", Date.now() - this.nowTime); - let levelInfo = { "level": 0, "timestamp": timestamp }; - cc.fx.StorageMessage.setStorage("level", levelInfo); - let coinInfo = { "coin": 0, "timestamp": timestamp }; - console.log("33333333333"); - cc.fx.StorageMessage.setStorage("coin", coinInfo); - let propInfo = { - "freezeAmount": 3, - "hammerAmount": 3, - "magicAmount": 3, - "timestamp": timestamp, - } - console.log("最新上传道具信息——————————:", propInfo); - cc.fx.GameConfig.GM_INFO.freezeAmount = 3; - cc.fx.GameConfig.GM_INFO.hammerAmount = 3; - cc.fx.GameConfig.GM_INFO.magicAmount = 3; - cc.fx.StorageMessage.setStorage("prop", propInfo); + cc.fx.GameTool.getUserLevel((data) => { + if (data.result.code == 404 && data.result.message == "未找到关卡数据") { + console.log("没有等级信息,从用户接口拿到数据"); + cc.fx.GameConfig.GM_INFO.first = true; + console.log("金币成功时间耗时:", Date.now() - this.nowTime); + this.load3 = true; + this.load4 = true; + console.log("关卡等级成功时间耗时:", Date.now() - this.nowTime); + let levelInfo = { "level": 0, "timestamp": timestamp }; + cc.fx.StorageMessage.setStorage("level", levelInfo); + let coinInfo = { "coin": 0, "timestamp": timestamp }; + console.log("33333333333"); + cc.fx.StorageMessage.setStorage("coin", coinInfo); + let propInfo = { + "freezeAmount": 3, + "hammerAmount": 3, + "magicAmount": 3, + "timestamp": timestamp, + } + console.log("最新上传道具信息——————————:", propInfo); + cc.fx.GameConfig.GM_INFO.freezeAmount = 3; + cc.fx.GameConfig.GM_INFO.hammerAmount = 3; + cc.fx.GameConfig.GM_INFO.magicAmount = 3; + cc.fx.StorageMessage.setStorage("prop", propInfo); - cc.fx.GameTool.setUserInfo((data) => { - if (data.result.code == 200) { - console.log("上传用户信息成功", data); - //@ts-ignore - wx.cloud.callFunction({ - name: 'userData', - data: { - action: 'read' - }, - success: res => { - console.log("上传后,读取用户信息,为上报注册时间") - if (res.result.code == 200) { - const time = res.result.data.register_time; - MiniGameSdk.API.shushu_userSet(time); - } + cc.fx.GameTool.setUserInfo((data) => { + if (data.result.code == 200) { + console.log("上传用户信息成功", data); + //@ts-ignore + wx.cloud.callFunction({ + name: 'userData', + data: { + action: 'read' + }, + success: res => { + console.log("上传后,读取用户信息,为上报注册时间") + if (res.result.code == 200) { + const time = res.result.data.register_time; + MiniGameSdk.API.shushu_userSet(time); + } + } + }) + + //laf云函数 + Utils.getUserData((data) => { + }) } - }) + }); + console.log("服务器也没有金币信息", cc.fx.GameConfig.GM_INFO.coin); + cc.fx.GameTool.setUserCoin(cc.fx.GameConfig.GM_INFO.coin, (data) => { - //laf云函数 - Utils.getUserData((data) => { - }) + }); + cc.fx.GameTool.setUserLevel((data) => { + }); + setTimeout(() => { + cc.fx.GameConfig.GM_INFO.freezeAmount = 3; + cc.fx.GameConfig.GM_INFO.hammerAmount = 3; + cc.fx.GameConfig.GM_INFO.magicAmount = 3; + + cc.fx.GameTool.setUserProp(0, 0, (data) => { + if (data.result.code == 200) { + console.log("1111111上传道具信息成功", data); + } + else { + MiniGameSdk.API.showToast("网络异常,正在努力加载"); + setTimeout(() => { + this.oldReadData(0); + }, 1000); + } + }); + }, 0); } - }); - console.log("服务器也没有金币信息", cc.fx.GameConfig.GM_INFO.coin); - cc.fx.GameTool.setUserCoin(cc.fx.GameConfig.GM_INFO.coin, (data) => { - - }); - cc.fx.GameTool.setUserLevel((data) => { - }); - setTimeout(() => { - cc.fx.GameConfig.GM_INFO.freezeAmount = 3; - cc.fx.GameConfig.GM_INFO.hammerAmount = 3; - cc.fx.GameConfig.GM_INFO.magicAmount = 3; - - cc.fx.GameTool.setUserProp(0, 0, (data) => { - if (data.result.code == 200) { - console.log("1111111上传道具信息成功", data); - } - else { - MiniGameSdk.API.showToast("网络异常,正在努力加载"); - setTimeout(() => { - this.oldReadData(0); - }, 1000); - } - }); - }, 0); + else if (data.result.code == 200) { + console.log("有等级信息,从关卡接口拿到数据", data.result.data); + this.readSever(timestamp); + } + }) } else if (res.result.code == 200) { if (res.result.data) { @@ -621,91 +634,7 @@ export default class GameManager extends cc.Component { const register_time = res.result.data.register_time; MiniGameSdk.API.shushu_userSet(register_time); } - setTimeout(() => { - cc.fx.GameTool.getUserCoin((data) => { - if (data.result.code == 404 && data.result.message == "未找到金币数据") { - - let coinInfo = { "coin": 0, "timestamp": timestamp }; - cc.fx.GameConfig.GM_INFO.coin = 0; - cc.fx.StorageMessage.setStorage("coin", coinInfo); - console.log("没有金币信息,从用户接口拿到数据", cc.fx.GameConfig.GM_INFO.coin); - cc.fx.GameTool.setUserCoin((data) => { - // console.log("上传",data); - this.load3 = true; - console.log("金币成功时间耗时:", Date.now() - this.nowTime); - }); - } - else if (data.result.code == 200) { - // console.log("有金币信息,从金币接口拿到数据",data.result.data); - cc.fx.GameConfig.GM_INFO.coin = data.result.data; - let coinInfo = { "coin": cc.fx.GameConfig.GM_INFO.coin, "timestamp": timestamp }; - console.log("存储金币信息:", cc.fx.GameConfig.GM_INFO.coin); - console.log("4444444444"); - cc.fx.StorageMessage.setStorage("coin", coinInfo); - this.load3 = true; - console.log("金币成功时间耗时:", Date.now() - this.nowTime); - } - }) - }, 500); - - cc.fx.GameTool.getUserLevel((data) => { - if (data.result.code == 404 && data.result.message == "未找到关卡数据") { - console.log("没有等级信息,从用户接口拿到数据"); - let levelInfo = { "level": 0, "timestamp": timestamp }; - // console.log("333333存储关卡数据:",levelInfo); - cc.fx.GameConfig.GM_INFO.level = 0; - cc.fx.StorageMessage.setStorage("level", levelInfo); - cc.fx.GameTool.setUserLevel((data) => { - console.log("拿到的数据", data); - this.load4 = true; - console.log("关卡等级成功时间耗时:", Date.now() - this.nowTime); - }); - } - else if (data.result.code == 200) { - console.log("有等级信息,从关卡接口拿到数据", data.result.data); - cc.fx.GameConfig.GM_INFO.level = data.result.data; - let levelInfo = { "level": cc.fx.GameConfig.GM_INFO.level, "timestamp": timestamp }; - // console.log("444444存储关卡信息:",levelInfo); - cc.fx.StorageMessage.setStorage("level", levelInfo); - this.load4 = true; - console.log("关卡等级成功时间耗时:", Date.now() - this.nowTime); - } - }) - setTimeout(() => { - cc.fx.GameTool.getUserProp((data) => { - if (data.result.code == 404 && data.result.message == "未找到道具数据") { - console.log("没有道具信息,从用户接口拿到数据"); - cc.fx.GameConfig.GM_INFO.freezeAmount = 3; - cc.fx.GameConfig.GM_INFO.hammerAmount = 3; - cc.fx.GameConfig.GM_INFO.magicAmount = 3; - let propInfo = { - "freezeAmount": 3, - "hammerAmount": 3, - "magicAmount": 3, - "timestamp": timestamp, - } - console.log("上传道具信息44444444:", propInfo); - cc.fx.StorageMessage.setStorage("prop", propInfo); - cc.fx.GameTool.setUserProp(0, 0, (data) => { - }); - } - else if (data.result.code == 200) { - console.log("有道具信息,从道具接口拿到数据", data.result.data); - cc.fx.GameConfig.GM_INFO.freezeAmount = data.result.data.freeze || 3; - cc.fx.GameConfig.GM_INFO.hammerAmount = data.result.data.hammer || 3; - cc.fx.GameConfig.GM_INFO.magicAmount = data.result.data.magic_wand || 3; - let propInfo = { - "freezeAmount": cc.fx.GameConfig.GM_INFO.freezeAmount, - "hammerAmount": cc.fx.GameConfig.GM_INFO.hammerAmount, - "magicAmount": cc.fx.GameConfig.GM_INFO.magicAmount, - "timestamp": timestamp, - } - console.log("上传道具信息6666666:", propInfo); - cc.fx.StorageMessage.setStorage("prop", propInfo); - - } - }) - }, 0); + this.readSever(timestamp); } @@ -716,7 +645,7 @@ export default class GameManager extends cc.Component { console.error(`读取用户数据失败,第 ${retryCount + 1} 次重试,错误信息:`, err); // 延迟 2 秒后重试 setTimeout(() => { - this.readUserData(retryCount + 1); + this.oldReadData(retryCount + 1); }, 2000); } else { console.error('读取用户数据失败,达到最大重试次数,退出游戏', err); @@ -836,10 +765,116 @@ export default class GameManager extends cc.Component { } //复活购买次数初始化 setRevive(data) { - cc.fx.GameConfig.GM_INFO.revive = data.data.rebornGiftCount; + cc.fx.GameConfig.GM_INFO.revive = data.data.rebornGiftCount; console.log(data.data.rebornGiftCount, cc.fx.GameConfig.GM_INFO.revive, "🔥🔥🔥🔥🔥🔥🔥🔥") } + readSever(timestamp) { + setTimeout(() => { + cc.fx.GameTool.getUserCoin((data) => { + if (data.result.code == 404 && data.result.message == "未找到金币数据") { + + let coinInfo = { "coin": 0, "timestamp": timestamp }; + cc.fx.GameConfig.GM_INFO.coin = 0; + cc.fx.StorageMessage.setStorage("coin", coinInfo); + console.log("没有金币信息,从用户接口拿到数据", cc.fx.GameConfig.GM_INFO.coin); + cc.fx.GameTool.setUserCoin((data) => { + // console.log("上传",data); + this.load3 = true; + console.log("金币成功时间耗时:", Date.now() - this.nowTime); + }); + } + else if (data.result.code == 200) { + // console.log("有金币信息,从金币接口拿到数据",data.result.data); + cc.fx.GameConfig.GM_INFO.coin = data.result.data; + let coinInfo = { "coin": cc.fx.GameConfig.GM_INFO.coin, "timestamp": timestamp }; + console.log("存储金币信息:", cc.fx.GameConfig.GM_INFO.coin); + console.log("4444444444"); + cc.fx.StorageMessage.setStorage("coin", coinInfo); + this.load3 = true; + console.log("金币成功时间耗时:", Date.now() - this.nowTime); + } + }) + }, 500); + + cc.fx.GameTool.getUserLevel((data) => { + if (data.result.code == 404 && data.result.message == "未找到关卡数据") { + console.log("没有等级信息,从用户接口拿到数据"); + let levelInfo = { "level": 0, "timestamp": timestamp }; + // console.log("333333存储关卡数据:",levelInfo); + cc.fx.GameConfig.GM_INFO.level = 0; + cc.fx.StorageMessage.setStorage("level", levelInfo); + cc.fx.GameTool.setUserLevel((data) => { + console.log("拿到的数据", data); + this.load4 = true; + console.log("关卡等级成功时间耗时:", Date.now() - this.nowTime); + }); + } + else if (data.result.code == 200) { + console.log("有等级信息,从关卡接口拿到数据", data.result.data); + cc.fx.GameConfig.GM_INFO.level = data.result.data; + let levelInfo = { "level": cc.fx.GameConfig.GM_INFO.level, "timestamp": timestamp }; + // console.log("444444存储关卡信息:",levelInfo); + cc.fx.StorageMessage.setStorage("level", levelInfo); + this.load4 = true; + console.log("关卡等级成功时间耗时:", Date.now() - this.nowTime); + } + }) + setTimeout(() => { + cc.fx.GameTool.getUserProp((data) => { + if (data.result.code == 404 && data.result.message == "未找到道具数据") { + console.log("没有道具信息,从用户接口拿到数据"); + cc.fx.GameConfig.GM_INFO.freezeAmount = 3; + cc.fx.GameConfig.GM_INFO.hammerAmount = 3; + cc.fx.GameConfig.GM_INFO.magicAmount = 3; + let propInfo = { + "freezeAmount": 3, + "hammerAmount": 3, + "magicAmount": 3, + "timestamp": timestamp, + } + console.log("上传道具信息44444444:", propInfo); + cc.fx.StorageMessage.setStorage("prop", propInfo); + cc.fx.GameTool.setUserProp(0, 0, (data) => { + }); + } + else if (data.result.code == 200) { + console.log("有道具信息,从道具接口拿到数据", data.result.data); + cc.fx.GameConfig.GM_INFO.freezeAmount = data.result.data.freeze || 3; + cc.fx.GameConfig.GM_INFO.hammerAmount = data.result.data.hammer || 3; + cc.fx.GameConfig.GM_INFO.magicAmount = data.result.data.magic_wand || 3; + let propInfo = { + "freezeAmount": cc.fx.GameConfig.GM_INFO.freezeAmount, + "hammerAmount": cc.fx.GameConfig.GM_INFO.hammerAmount, + "magicAmount": cc.fx.GameConfig.GM_INFO.magicAmount, + "timestamp": timestamp, + } + console.log("上传道具信息6666666:", propInfo); + cc.fx.StorageMessage.setStorage("prop", propInfo); + + } + }) + }, 0); + } + + //获取有没有分享信息 + getShareInfo() { + // 检查微信小游戏启动参数 + if (cc.sys.platform === cc.sys.WECHAT_GAME) { + //@ts-ignore + const launchOptions = wx.getLaunchOptionsSync(); + const query = launchOptions.query; + if (query.level && query.uid) { + const level = parseInt(query.level, 10); + const uid = query.uid; + cc.fx.GameConfig.GM_INFO.otherUid = uid; + cc.fx.GameConfig.GM_INFO.otherLevel = level; + console.log('从分享链接获取到的关卡信息:', level); + console.log('从分享链接获取到的 UID:', uid); + // 可以在这里处理关卡信息和 UID + } + } + } update(dt) { //console.log("加载1:", this.load1, "加载2:", this.load2, "加载3:", this.load3, "加载4:", this.load4, "加载5:", this.load5, "加载6:", this.load6, "时间:", this.timeNumber); diff --git a/assets/Script/JiaZai.ts b/assets/Script/JiaZai.ts index 9d3466b..def29fe 100644 --- a/assets/Script/JiaZai.ts +++ b/assets/Script/JiaZai.ts @@ -75,7 +75,11 @@ export default class JiaZai extends cc.Component { // LIFE-CYCLE CALLBACKS: onLoad() { - this.getShareInfo(); + console.log("进入首页获取的share", cc.fx.GameConfig.GM_INFO.otherUid, cc.fx.GameConfig.GM_INFO.otherLevel); + if (cc.fx.GameConfig.GM_INFO.otherUid != "") { + this.getShareInfo(); + } + cc.game.setFrameRate(63); LQCollideSystem.is_enable = true; // //console.log("加载关卡配置2"); @@ -934,7 +938,7 @@ export default class JiaZai extends cc.Component { const level = parseInt(query.level, 10); const uid = query.uid; cc.fx.GameConfig.GM_INFO.otherUid = uid; - cc.fx.GameConfig.GM_INFO.otherLevel = level - 1; + cc.fx.GameConfig.GM_INFO.otherLevel = level; console.log('从分享链接获取到的关卡信息:', level); console.log('从分享链接获取到的 UID:', uid); // 可以在这里处理关卡信息和 UID diff --git a/assets/Script/Map.ts b/assets/Script/Map.ts index 0793dfc..4b71f3c 100644 --- a/assets/Script/Map.ts +++ b/assets/Script/Map.ts @@ -12,6 +12,7 @@ import SceneManager from "./SceneManager"; import { MiniGameSdk } from "./Sdk/MiniGameSdk"; import Animation = cc.Animation; import Revive from "./Revive"; +import Utils from "./module/Pay/Utils"; const { ccclass, property } = cc._decorator; @@ -365,7 +366,11 @@ export default class MapConroler extends cc.Component { this.updateCoin(); // var timeTemp = cc.fx.GameTool.getTimeMargin(this.timeNumber); // this.timeLabel.string = timeTemp.toString(); - NumberToImage.numberToImageNodes((cc.fx.GameConfig.GM_INFO.level + 1), 45, 0, "level_", this.levelLabel, true) + let levelName = (cc.fx.GameConfig.GM_INFO.level + 1); + if (cc.fx.GameConfig.GM_INFO.otherLevel) { + levelName = cc.fx.GameConfig.GM_INFO.otherLevel; + } + NumberToImage.numberToImageNodes(levelName, 45, 0, "level_", this.levelLabel, true) console.log("当前关卡", cc.fx.GameConfig.GM_INFO.level + 1); //this.startTimeCutDown(); @@ -1898,10 +1903,15 @@ export default class MapConroler extends cc.Component { time = 2000; } setTimeout(() => { + this.node.parent.parent.getChildByName("Lose").active = true; this.node.parent.parent.getChildByName("Lose").getChildByName("Time").active = true; this.revive.getComponent(Revive).init(); this.node.parent.parent.getChildByName("Lose").getChildByName("Boom").active = false; + if (cc.fx.GameConfig.GM_INFO.otherLevel > 0) { + this.node.parent.parent.getChildByName("Lose").getChildByName("share").active = false; + } + else this.node.parent.parent.getChildByName("Lose").getChildByName("share").active = true; if (type) { if (type == "time") { this.node.parent.parent.getChildByName("Lose").getChildByName("Time").active = true; @@ -3023,6 +3033,7 @@ export default class MapConroler extends cc.Component { coins4.active = false; caidai.active = false; + console.log(this.arr, "this.arr"); // 第一步:播放 title - 果冻弹跳效果 @@ -3065,23 +3076,6 @@ export default class MapConroler extends cc.Component { .to(0.3, { position: cc.v3(this.arr[6][0], this.arr[6][1], this.arr[6][2]) }) .start(); - cc.tween(nextBtn) - .delay(0.1) - .to(0, { position: cc.v3(0, -880, 0), scale: 0 }) - .call(() => { - nextBtn.active = true; - }) - .to(0.15, { scale: 1.25 }, { easing: 'backOut' }) - .to(0.08, { scale: 0.9 }, { easing: 'quadIn' }) - .to(0.06, { scale: 1.15 }, { easing: 'quadOut' }) - .to(0.04, { scale: 1 }, { easing: 'quadIn' }) - .call(() => { - this.playDecorationGroup(); - }) - .to(0.3, { position: cc.v3(this.arr[5][0], this.arr[5][1], this.arr[5][2]) }) - - .start(); - // tiaodik 动画(再延迟一点 cc.tween(tiaodik) .delay(0.2) @@ -3095,6 +3089,31 @@ export default class MapConroler extends cc.Component { .to(0.04, { scale: 1 }, { easing: 'quadIn' }) .to(0.3, { position: cc.v3(this.arr[4][0], this.arr[4][1], this.arr[4][2]) }) .start(); + + cc.tween(nextBtn) + .delay(0.1) + .to(0, { position: cc.v3(0, -880, 0), scale: 0 }) + .call(() => { + if (cc.fx.GameConfig.GM_INFO.otherLevel == 0) { + nextBtn.active = true; + } + else { + cc.fx.GameConfig.GM_INFO.otherLevel = 0; + cc.fx.GameConfig.GM_INFO.otherUid = ""; + } + }) + .to(0.15, { scale: 1.25 }, { easing: 'backOut' }) + .to(0.08, { scale: 0.9 }, { easing: 'quadIn' }) + .to(0.06, { scale: 1.15 }, { easing: 'quadOut' }) + .to(0.04, { scale: 1 }, { easing: 'quadIn' }) + .call(() => { + this.playDecorationGroup(); + }) + .to(0.3, { position: cc.v3(this.arr[5][0], this.arr[5][1], this.arr[5][2]) }) + + .start(); + + } // 播放装饰元素动画 @@ -3164,12 +3183,17 @@ export default class MapConroler extends cc.Component { } setOtherLevel() { - if (cc.fx.GameConfig.GM_INFO.otherLevel == 1) { - cc.fx.GameConfig.GM_INFO.level = 2; + if (cc.fx.GameConfig.GM_INFO.otherLevel > 0) { + let level = cc.fx.GameConfig.GM_INFO.otherLevel; + let uid = cc.fx.GameConfig.GM_INFO.otherUid; + Utils.shareLevel(level, uid, (data) => { + + }); } } + update(dt) { } diff --git a/assets/Script/SceneManager.ts b/assets/Script/SceneManager.ts index 6055c16..47c2e1d 100644 --- a/assets/Script/SceneManager.ts +++ b/assets/Script/SceneManager.ts @@ -431,6 +431,11 @@ export default class SceneManager extends cc.Component { this.RewardNode.zIndex = 1001; } + shareFriend() { + console.log("设置分享链接"); + MiniGameSdk.API.shareGame(); + } + update(dt) { } diff --git a/assets/Script/Sdk/MiniGameSdk.ts b/assets/Script/Sdk/MiniGameSdk.ts index 321fc80..eb5e43c 100644 --- a/assets/Script/Sdk/MiniGameSdk.ts +++ b/assets/Script/Sdk/MiniGameSdk.ts @@ -1348,7 +1348,7 @@ export namespace MiniGameSdk { } //分享 - shareGame() { + static shareGame() { if (typeof wx !== 'undefined' && wx !== null) { // 获取关卡信息和 UID const level = cc.fx.GameConfig.GM_INFO.level + 1; diff --git a/assets/Script/module/Config/GameConfig.ts b/assets/Script/module/Config/GameConfig.ts index 6602f08..8f98858 100644 --- a/assets/Script/module/Config/GameConfig.ts +++ b/assets/Script/module/Config/GameConfig.ts @@ -109,7 +109,8 @@ export class GameConfig { monthTime: number; //月卡时间 revive: number; //复活礼包购买次数 otherUid: string; //其他被帮助用户id - otherLevel: number; + otherLevel: number; //其他被帮助用户等级 + helpLevel: number; }; @@ -120,6 +121,7 @@ export class GameConfig { + //游戏内信息 static get Instance() { @@ -266,6 +268,7 @@ export class GameConfig { revive: 0, //复活礼包购买次数 otherUid: "", //其他被帮助用户id otherLevel: 0, //其他被帮助用户等级 + helpLevel: 0, //帮助用户等级 }; // this.setCode(this.getKey("scode")); // this.GM_INFO.level = 0; @@ -308,7 +311,7 @@ export class GameConfig { let name = "Json/level" + (cc.fx.GameConfig.GM_INFO.level + 1); if (cc.fx.GameConfig.GM_INFO.otherLevel > 0) { console.log("进入特殊帮助关卡,可越过自己关卡等级"); - name = "Json/level" + (cc.fx.GameConfig.GM_INFO.otherLevel + 1); + name = "Json/level" + cc.fx.GameConfig.GM_INFO.otherLevel; } // //console.log("关卡名称:",name); // name = "Json/level" + 68; diff --git a/assets/Script/module/Pay/Utils.ts b/assets/Script/module/Pay/Utils.ts index 14fcd2a..62608d6 100644 --- a/assets/Script/module/Pay/Utils.ts +++ b/assets/Script/module/Pay/Utils.ts @@ -959,6 +959,46 @@ export default class Utils { } } + static shareLevel(otherLevel, uid, callBack) { + let otheruid = uid || ""; + let level = otherLevel || 0; + let data = { + uid: otheruid, + otherUid: cc.fx.GameConfig.GM_INFO.uid, + shareLv: level, + }; + + // 延迟时间数组,按照 1 秒 3 次、2 秒 5 次、5 秒 6 次、15 秒 5 次的规则生成 + const delays = [ + ...Array(3).fill(1000), + ...Array(5).fill(2000), + ...Array(6).fill(5000), + ...Array(5).fill(15000) + ]; + let attempt = 0; // 轮询次数 + + const poll = () => { + if (attempt >= delays.length) { + MiniGameSdk.API.showToast("网络异常,分享数据提交失败"); + callBack({ code: 0, data: null, message: '轮询超时' }); + return; + } + + Utils.POST("shareLvSuccess", data, res => { + console.log("获得shareLvSuccess数据:", res); + if (res.code === 1) { + console.log("服务器:分享帮助通过关卡数据成功", res); + callBack(res); + } else { + attempt++; + setTimeout(poll, delays[attempt - 1]); + } + }); + }; + + poll(); + } + // const propName={ //   gold_1: "金币包1", //   gold_2: "金币包2", diff --git a/assets/Script/module/Tool/GameTool.ts b/assets/Script/module/Tool/GameTool.ts index 508b3a6..66c6c8b 100644 --- a/assets/Script/module/Tool/GameTool.ts +++ b/assets/Script/module/Tool/GameTool.ts @@ -1397,7 +1397,7 @@ var GameTool = { }) } }, - + //判断是否有无限体力//返回true有,false没有 getUserPowerTime() { if (cc.fx.GameConfig.GM_INFO.userPowerTime > 0) { let nowTime = Math.floor(Date.now() / 1000); @@ -1417,5 +1417,14 @@ var GameTool = { } } + //判断本地缓存关卡等级是否大于服务器存储 + //返回true本地缓存大于服务器存储,false本地缓存小于等于服务器存储 + // compareLevel() { + // if (cc.fx.GameConfig.GM_INFO.level < cc.fx.StorageMessage.getStorage("level")) { + + // } + // } + + }; export { GameTool }; \ No newline at end of file