diff --git a/assets/scenes/main.scene b/assets/scenes/main.scene index 22376b5..a577d90 100644 --- a/assets/scenes/main.scene +++ b/assets/scenes/main.scene @@ -52,7 +52,7 @@ }, "autoReleaseAssets": false, "_globals": { - "__id__": 241 + "__id__": 247 }, "_id": "58132e64-0171-4c7f-89be-a2984ca7de6b" }, @@ -74,38 +74,38 @@ { "__id__": 48 }, - { - "__id__": 65 - }, { "__id__": 68 }, { - "__id__": 82 + "__id__": 71 }, { - "__id__": 100 + "__id__": 85 }, { - "__id__": 118 + "__id__": 103 }, { - "__id__": 136 + "__id__": 121 }, { - "__id__": 147 + "__id__": 139 }, { - "__id__": 158 + "__id__": 150 }, { - "__id__": 176 + "__id__": 161 }, { - "__id__": 194 + "__id__": 179 }, { - "__id__": 212 + "__id__": 197 + }, + { + "__id__": 215 }, { "__id__": 6 @@ -114,31 +114,31 @@ "__id__": 52 }, { - "__id__": 63 + "__id__": 66 }, { - "__id__": 230 + "__id__": 233 }, { - "__id__": 232 + "__id__": 235 }, { - "__id__": 236 + "__id__": 239 }, { - "__id__": 56 + "__id__": 59 } ], "_active": true, "_components": [ { - "__id__": 239 + "__id__": 245 }, { "__id__": 51 }, { - "__id__": 240 + "__id__": 246 } ], "_prefab": null, @@ -1884,7 +1884,7 @@ "__id__": 52 }, "failedDialog": { - "__id__": 56 + "__id__": 59 }, "camera": { "__id__": 4 @@ -1893,7 +1893,7 @@ "__id__": 47 }, "attackAudio": { - "__id__": 63 + "__id__": 66 }, "moveSpeed": 300, "_id": "c1AuAU3IlKnLOzgk9vsBr4" @@ -1922,17 +1922,21 @@ "_parent": { "__id__": 2 }, - "_children": [], + "_children": [ + { + "__id__": 53 + } + ], "_active": false, "_components": [ { - "__id__": 53 + "__id__": 56 }, { - "__id__": 54 + "__id__": 57 }, { - "__id__": 55 + "__id__": 58 } ], "_prefab": null, @@ -1965,6 +1969,126 @@ }, "_id": "4aK2e7KY5DUIHmLgjlO0jh" }, + { + "__type__": "cc.Node", + "_name": "Enter", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 52 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 54 + }, + { + "__id__": 55 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 9.074, + "y": -358.24, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "61qskHMQZFJ7ylfHm/E8Yl" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 53 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 300, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "0bpHpN/ZhFH6xTNUuDKO4B" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 53 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "_id": "55xTklhzRLZol6GOSn7o37" + }, { "__type__": "cc.UITransform", "_name": "", @@ -2059,19 +2183,19 @@ }, "_children": [ { - "__id__": 57 + "__id__": 60 } ], "_active": false, "_components": [ { - "__id__": 60 + "__id__": 63 }, { - "__id__": 61 + "__id__": 64 }, { - "__id__": 62 + "__id__": 65 } ], "_prefab": null, @@ -2110,16 +2234,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 56 + "__id__": 59 }, "_children": [], "_active": true, "_components": [ { - "__id__": 58 + "__id__": 61 }, { - "__id__": 59 + "__id__": 62 } ], "_prefab": null, @@ -2158,7 +2282,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 57 + "__id__": 60 }, "_enabled": true, "__prefab": null, @@ -2180,7 +2304,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 57 + "__id__": 60 }, "_enabled": true, "__prefab": null, @@ -2222,7 +2346,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 57 + "__id__": 60 }, "_id": "03MgpTX9FNJZPeHpEnZWN/" }, @@ -2232,7 +2356,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 56 + "__id__": 59 }, "_enabled": true, "__prefab": null, @@ -2254,7 +2378,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 56 + "__id__": 59 }, "_enabled": true, "__prefab": null, @@ -2293,7 +2417,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 56 + "__id__": 59 }, "_enabled": true, "__prefab": null, @@ -2311,7 +2435,7 @@ "_active": true, "_components": [ { - "__id__": 64 + "__id__": 67 } ], "_prefab": null, @@ -2350,7 +2474,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 63 + "__id__": 66 }, "_enabled": true, "__prefab": null, @@ -2375,10 +2499,10 @@ "_active": true, "_components": [ { - "__id__": 66 + "__id__": 69 }, { - "__id__": 67 + "__id__": 70 } ], "_prefab": null, @@ -2417,7 +2541,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 65 + "__id__": 68 }, "_enabled": true, "__prefab": null, @@ -2439,7 +2563,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 65 + "__id__": 68 }, "_enabled": true, "__prefab": null, @@ -2460,9 +2584,6 @@ "__id__": 2 }, "_children": [ - { - "__id__": 69 - }, { "__id__": 72 }, @@ -2471,12 +2592,15 @@ }, { "__id__": 78 + }, + { + "__id__": 81 } ], "_active": true, "_components": [ { - "__id__": 81 + "__id__": 84 } ], "_prefab": null, @@ -2515,16 +2639,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 68 + "__id__": 71 }, "_children": [], "_active": true, "_components": [ { - "__id__": 70 + "__id__": 73 }, { - "__id__": 71 + "__id__": 74 } ], "_prefab": null, @@ -2563,7 +2687,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 69 + "__id__": 72 }, "_enabled": true, "__prefab": null, @@ -2585,7 +2709,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 69 + "__id__": 72 }, "_enabled": true, "__prefab": null, @@ -2624,16 +2748,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 68 + "__id__": 71 }, "_children": [], "_active": true, "_components": [ { - "__id__": 73 + "__id__": 76 }, { - "__id__": 74 + "__id__": 77 } ], "_prefab": null, @@ -2672,7 +2796,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 72 + "__id__": 75 }, "_enabled": true, "__prefab": null, @@ -2694,7 +2818,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 72 + "__id__": 75 }, "_enabled": true, "__prefab": null, @@ -2733,16 +2857,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 68 + "__id__": 71 }, "_children": [], "_active": true, "_components": [ { - "__id__": 76 + "__id__": 79 }, { - "__id__": 77 + "__id__": 80 } ], "_prefab": null, @@ -2781,7 +2905,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 75 + "__id__": 78 }, "_enabled": true, "__prefab": null, @@ -2803,7 +2927,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 75 + "__id__": 78 }, "_enabled": true, "__prefab": null, @@ -2842,16 +2966,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 68 + "__id__": 71 }, "_children": [], "_active": true, "_components": [ { - "__id__": 79 + "__id__": 82 }, { - "__id__": 80 + "__id__": 83 } ], "_prefab": null, @@ -2890,7 +3014,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 78 + "__id__": 81 }, "_enabled": true, "__prefab": null, @@ -2912,7 +3036,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 78 + "__id__": 81 }, "_enabled": true, "__prefab": null, @@ -2951,7 +3075,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 68 + "__id__": 71 }, "_enabled": true, "__prefab": null, @@ -2976,29 +3100,29 @@ "__id__": 2 }, "_children": [ - { - "__id__": 83 - }, { "__id__": 86 }, { - "__id__": 90 + "__id__": 89 }, { "__id__": 93 + }, + { + "__id__": 96 } ], "_active": true, "_components": [ { - "__id__": 97 + "__id__": 100 }, { - "__id__": 98 + "__id__": 101 }, { - "__id__": 99 + "__id__": 102 } ], "_prefab": null, @@ -3037,16 +3161,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 82 + "__id__": 85 }, "_children": [], "_active": true, "_components": [ { - "__id__": 84 + "__id__": 87 }, { - "__id__": 85 + "__id__": 88 } ], "_prefab": null, @@ -3085,7 +3209,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 83 + "__id__": 86 }, "_enabled": true, "__prefab": null, @@ -3107,7 +3231,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 83 + "__id__": 86 }, "_enabled": true, "__prefab": null, @@ -3119,19 +3243,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 82 + "__id__": 85 }, "_children": [], "_active": true, "_components": [ { - "__id__": 87 + "__id__": 90 }, { - "__id__": 88 + "__id__": 91 }, { - "__id__": 89 + "__id__": 92 } ], "_prefab": null, @@ -3170,7 +3294,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 86 + "__id__": 89 }, "_enabled": true, "__prefab": null, @@ -3192,7 +3316,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 86 + "__id__": 89 }, "_enabled": true, "__prefab": null, @@ -3231,7 +3355,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 86 + "__id__": 89 }, "_enabled": true, "__prefab": null, @@ -3262,16 +3386,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 82 + "__id__": 85 }, "_children": [], "_active": true, "_components": [ { - "__id__": 91 + "__id__": 94 }, { - "__id__": 92 + "__id__": 95 } ], "_prefab": null, @@ -3310,7 +3434,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 90 + "__id__": 93 }, "_enabled": true, "__prefab": null, @@ -3332,7 +3456,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 90 + "__id__": 93 }, "_enabled": true, "__prefab": null, @@ -3394,19 +3518,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 82 + "__id__": 85 }, "_children": [], "_active": false, "_components": [ { - "__id__": 94 + "__id__": 97 }, { - "__id__": 95 + "__id__": 98 }, { - "__id__": 96 + "__id__": 99 } ], "_prefab": null, @@ -3445,7 +3569,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 93 + "__id__": 96 }, "_enabled": true, "__prefab": null, @@ -3467,7 +3591,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 93 + "__id__": 96 }, "_enabled": true, "__prefab": null, @@ -3506,7 +3630,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 93 + "__id__": 96 }, "_enabled": true, "__prefab": null, @@ -3529,7 +3653,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 82 + "__id__": 85 }, "_enabled": true, "__prefab": null, @@ -3551,7 +3675,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 82 + "__id__": 85 }, "_enabled": true, "__prefab": null, @@ -3579,7 +3703,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 82 + "__id__": 85 }, "_enabled": true, "__prefab": null, @@ -3610,29 +3734,29 @@ "__id__": 2 }, "_children": [ - { - "__id__": 101 - }, { "__id__": 104 }, { - "__id__": 108 + "__id__": 107 }, { "__id__": 111 + }, + { + "__id__": 114 } ], "_active": true, "_components": [ { - "__id__": 115 + "__id__": 118 }, { - "__id__": 116 + "__id__": 119 }, { - "__id__": 117 + "__id__": 120 } ], "_prefab": null, @@ -3671,16 +3795,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 100 + "__id__": 103 }, "_children": [], "_active": true, "_components": [ { - "__id__": 102 + "__id__": 105 }, { - "__id__": 103 + "__id__": 106 } ], "_prefab": null, @@ -3719,7 +3843,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 101 + "__id__": 104 }, "_enabled": true, "__prefab": null, @@ -3741,7 +3865,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 101 + "__id__": 104 }, "_enabled": true, "__prefab": null, @@ -3753,19 +3877,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 100 + "__id__": 103 }, "_children": [], "_active": true, "_components": [ { - "__id__": 105 + "__id__": 108 }, { - "__id__": 106 + "__id__": 109 }, { - "__id__": 107 + "__id__": 110 } ], "_prefab": null, @@ -3804,7 +3928,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 104 + "__id__": 107 }, "_enabled": true, "__prefab": null, @@ -3826,7 +3950,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 104 + "__id__": 107 }, "_enabled": true, "__prefab": null, @@ -3865,7 +3989,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 104 + "__id__": 107 }, "_enabled": true, "__prefab": null, @@ -3896,16 +4020,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 100 + "__id__": 103 }, "_children": [], "_active": true, "_components": [ { - "__id__": 109 + "__id__": 112 }, { - "__id__": 110 + "__id__": 113 } ], "_prefab": null, @@ -3944,7 +4068,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 108 + "__id__": 111 }, "_enabled": true, "__prefab": null, @@ -3966,7 +4090,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 108 + "__id__": 111 }, "_enabled": true, "__prefab": null, @@ -4028,19 +4152,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 100 + "__id__": 103 }, "_children": [], "_active": false, "_components": [ { - "__id__": 112 + "__id__": 115 }, { - "__id__": 113 + "__id__": 116 }, { - "__id__": 114 + "__id__": 117 } ], "_prefab": null, @@ -4079,7 +4203,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 111 + "__id__": 114 }, "_enabled": true, "__prefab": null, @@ -4101,7 +4225,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 111 + "__id__": 114 }, "_enabled": true, "__prefab": null, @@ -4140,7 +4264,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 111 + "__id__": 114 }, "_enabled": true, "__prefab": null, @@ -4163,7 +4287,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 100 + "__id__": 103 }, "_enabled": true, "__prefab": null, @@ -4185,7 +4309,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 100 + "__id__": 103 }, "_enabled": true, "__prefab": null, @@ -4213,7 +4337,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 100 + "__id__": 103 }, "_enabled": true, "__prefab": null, @@ -4244,29 +4368,29 @@ "__id__": 2 }, "_children": [ - { - "__id__": 119 - }, { "__id__": 122 }, { - "__id__": 126 + "__id__": 125 }, { "__id__": 129 + }, + { + "__id__": 132 } ], "_active": true, "_components": [ { - "__id__": 133 + "__id__": 136 }, { - "__id__": 134 + "__id__": 137 }, { - "__id__": 135 + "__id__": 138 } ], "_prefab": null, @@ -4305,16 +4429,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 118 + "__id__": 121 }, "_children": [], "_active": true, "_components": [ { - "__id__": 120 + "__id__": 123 }, { - "__id__": 121 + "__id__": 124 } ], "_prefab": null, @@ -4353,7 +4477,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 119 + "__id__": 122 }, "_enabled": true, "__prefab": null, @@ -4375,7 +4499,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 119 + "__id__": 122 }, "_enabled": true, "__prefab": null, @@ -4387,19 +4511,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 118 + "__id__": 121 }, "_children": [], "_active": true, "_components": [ { - "__id__": 123 + "__id__": 126 }, { - "__id__": 124 + "__id__": 127 }, { - "__id__": 125 + "__id__": 128 } ], "_prefab": null, @@ -4438,7 +4562,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 125 }, "_enabled": true, "__prefab": null, @@ -4460,7 +4584,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 125 }, "_enabled": true, "__prefab": null, @@ -4499,7 +4623,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 125 }, "_enabled": true, "__prefab": null, @@ -4530,16 +4654,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 118 + "__id__": 121 }, "_children": [], "_active": true, "_components": [ { - "__id__": 127 + "__id__": 130 }, { - "__id__": 128 + "__id__": 131 } ], "_prefab": null, @@ -4578,7 +4702,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 126 + "__id__": 129 }, "_enabled": true, "__prefab": null, @@ -4600,7 +4724,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 126 + "__id__": 129 }, "_enabled": true, "__prefab": null, @@ -4662,19 +4786,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 118 + "__id__": 121 }, "_children": [], "_active": false, "_components": [ { - "__id__": 130 + "__id__": 133 }, { - "__id__": 131 + "__id__": 134 }, { - "__id__": 132 + "__id__": 135 } ], "_prefab": null, @@ -4713,7 +4837,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 129 + "__id__": 132 }, "_enabled": true, "__prefab": null, @@ -4735,7 +4859,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 129 + "__id__": 132 }, "_enabled": true, "__prefab": null, @@ -4774,7 +4898,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 129 + "__id__": 132 }, "_enabled": true, "__prefab": null, @@ -4797,7 +4921,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 118 + "__id__": 121 }, "_enabled": true, "__prefab": null, @@ -4819,7 +4943,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 118 + "__id__": 121 }, "_enabled": true, "__prefab": null, @@ -4847,7 +4971,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 118 + "__id__": 121 }, "_enabled": true, "__prefab": null, @@ -4879,22 +5003,22 @@ }, "_children": [ { - "__id__": 137 + "__id__": 140 }, { - "__id__": 141 + "__id__": 144 } ], "_active": true, "_components": [ { - "__id__": 144 + "__id__": 147 }, { - "__id__": 145 + "__id__": 148 }, { - "__id__": 146 + "__id__": 149 } ], "_prefab": null, @@ -4933,19 +5057,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 136 + "__id__": 139 }, "_children": [], "_active": true, "_components": [ { - "__id__": 138 + "__id__": 141 }, { - "__id__": 139 + "__id__": 142 }, { - "__id__": 140 + "__id__": 143 } ], "_prefab": null, @@ -4984,7 +5108,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 137 + "__id__": 140 }, "_enabled": true, "__prefab": null, @@ -5006,7 +5130,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 137 + "__id__": 140 }, "_enabled": true, "__prefab": null, @@ -5045,7 +5169,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 137 + "__id__": 140 }, "_enabled": true, "__prefab": null, @@ -5072,16 +5196,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 136 + "__id__": 139 }, "_children": [], "_active": false, "_components": [ { - "__id__": 142 + "__id__": 145 }, { - "__id__": 143 + "__id__": 146 } ], "_prefab": null, @@ -5120,7 +5244,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 141 + "__id__": 144 }, "_enabled": true, "__prefab": null, @@ -5142,7 +5266,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 141 + "__id__": 144 }, "_enabled": true, "__prefab": null, @@ -5204,7 +5328,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 136 + "__id__": 139 }, "_enabled": true, "__prefab": null, @@ -5226,7 +5350,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 136 + "__id__": 139 }, "_enabled": true, "__prefab": null, @@ -5254,7 +5378,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 136 + "__id__": 139 }, "_enabled": true, "__prefab": null, @@ -5286,22 +5410,22 @@ }, "_children": [ { - "__id__": 148 + "__id__": 151 }, { - "__id__": 152 + "__id__": 155 } ], "_active": true, "_components": [ { - "__id__": 155 + "__id__": 158 }, { - "__id__": 156 + "__id__": 159 }, { - "__id__": 157 + "__id__": 160 } ], "_prefab": null, @@ -5340,19 +5464,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 147 + "__id__": 150 }, "_children": [], "_active": true, "_components": [ { - "__id__": 149 + "__id__": 152 }, { - "__id__": 150 + "__id__": 153 }, { - "__id__": 151 + "__id__": 154 } ], "_prefab": null, @@ -5391,7 +5515,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 148 + "__id__": 151 }, "_enabled": true, "__prefab": null, @@ -5413,7 +5537,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 148 + "__id__": 151 }, "_enabled": true, "__prefab": null, @@ -5452,7 +5576,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 148 + "__id__": 151 }, "_enabled": true, "__prefab": null, @@ -5479,16 +5603,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 147 + "__id__": 150 }, "_children": [], "_active": false, "_components": [ { - "__id__": 153 + "__id__": 156 }, { - "__id__": 154 + "__id__": 157 } ], "_prefab": null, @@ -5527,7 +5651,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 152 + "__id__": 155 }, "_enabled": true, "__prefab": null, @@ -5549,7 +5673,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 152 + "__id__": 155 }, "_enabled": true, "__prefab": null, @@ -5611,7 +5735,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 147 + "__id__": 150 }, "_enabled": true, "__prefab": null, @@ -5633,7 +5757,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 147 + "__id__": 150 }, "_enabled": true, "__prefab": null, @@ -5661,7 +5785,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 147 + "__id__": 150 }, "_enabled": true, "__prefab": null, @@ -5692,29 +5816,29 @@ "__id__": 2 }, "_children": [ - { - "__id__": 159 - }, { "__id__": 162 }, { - "__id__": 166 + "__id__": 165 }, { "__id__": 169 + }, + { + "__id__": 172 } ], "_active": true, "_components": [ { - "__id__": 173 + "__id__": 176 }, { - "__id__": 174 + "__id__": 177 }, { - "__id__": 175 + "__id__": 178 } ], "_prefab": null, @@ -5753,16 +5877,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 158 + "__id__": 161 }, "_children": [], "_active": true, "_components": [ { - "__id__": 160 + "__id__": 163 }, { - "__id__": 161 + "__id__": 164 } ], "_prefab": null, @@ -5801,7 +5925,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 159 + "__id__": 162 }, "_enabled": true, "__prefab": null, @@ -5823,7 +5947,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 159 + "__id__": 162 }, "_enabled": true, "__prefab": null, @@ -5835,19 +5959,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 158 + "__id__": 161 }, "_children": [], "_active": true, "_components": [ { - "__id__": 163 + "__id__": 166 }, { - "__id__": 164 + "__id__": 167 }, { - "__id__": 165 + "__id__": 168 } ], "_prefab": null, @@ -5886,7 +6010,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 165 }, "_enabled": true, "__prefab": null, @@ -5908,7 +6032,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 165 }, "_enabled": true, "__prefab": null, @@ -5947,7 +6071,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 165 }, "_enabled": true, "__prefab": null, @@ -5978,16 +6102,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 158 + "__id__": 161 }, "_children": [], "_active": true, "_components": [ { - "__id__": 167 + "__id__": 170 }, { - "__id__": 168 + "__id__": 171 } ], "_prefab": null, @@ -6026,7 +6150,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 166 + "__id__": 169 }, "_enabled": true, "__prefab": null, @@ -6048,7 +6172,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 166 + "__id__": 169 }, "_enabled": true, "__prefab": null, @@ -6110,19 +6234,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 158 + "__id__": 161 }, "_children": [], "_active": false, "_components": [ { - "__id__": 170 + "__id__": 173 }, { - "__id__": 171 + "__id__": 174 }, { - "__id__": 172 + "__id__": 175 } ], "_prefab": null, @@ -6161,7 +6285,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 169 + "__id__": 172 }, "_enabled": true, "__prefab": null, @@ -6183,7 +6307,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 169 + "__id__": 172 }, "_enabled": true, "__prefab": null, @@ -6222,7 +6346,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 169 + "__id__": 172 }, "_enabled": true, "__prefab": null, @@ -6245,7 +6369,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 158 + "__id__": 161 }, "_enabled": true, "__prefab": null, @@ -6267,7 +6391,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 158 + "__id__": 161 }, "_enabled": true, "__prefab": null, @@ -6295,7 +6419,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 158 + "__id__": 161 }, "_enabled": true, "__prefab": null, @@ -6326,29 +6450,29 @@ "__id__": 2 }, "_children": [ - { - "__id__": 177 - }, { "__id__": 180 }, { - "__id__": 184 + "__id__": 183 }, { "__id__": 187 + }, + { + "__id__": 190 } ], "_active": true, "_components": [ { - "__id__": 191 + "__id__": 194 }, { - "__id__": 192 + "__id__": 195 }, { - "__id__": 193 + "__id__": 196 } ], "_prefab": null, @@ -6387,16 +6511,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 176 + "__id__": 179 }, "_children": [], "_active": true, "_components": [ { - "__id__": 178 + "__id__": 181 }, { - "__id__": 179 + "__id__": 182 } ], "_prefab": null, @@ -6435,7 +6559,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 177 + "__id__": 180 }, "_enabled": true, "__prefab": null, @@ -6457,7 +6581,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 177 + "__id__": 180 }, "_enabled": true, "__prefab": null, @@ -6469,19 +6593,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 176 + "__id__": 179 }, "_children": [], "_active": true, "_components": [ { - "__id__": 181 + "__id__": 184 }, { - "__id__": 182 + "__id__": 185 }, { - "__id__": 183 + "__id__": 186 } ], "_prefab": null, @@ -6520,7 +6644,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 180 + "__id__": 183 }, "_enabled": true, "__prefab": null, @@ -6542,7 +6666,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 180 + "__id__": 183 }, "_enabled": true, "__prefab": null, @@ -6581,7 +6705,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 180 + "__id__": 183 }, "_enabled": true, "__prefab": null, @@ -6612,16 +6736,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 176 + "__id__": 179 }, "_children": [], "_active": true, "_components": [ { - "__id__": 185 + "__id__": 188 }, { - "__id__": 186 + "__id__": 189 } ], "_prefab": null, @@ -6660,7 +6784,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 184 + "__id__": 187 }, "_enabled": true, "__prefab": null, @@ -6682,7 +6806,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 184 + "__id__": 187 }, "_enabled": true, "__prefab": null, @@ -6744,19 +6868,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 176 + "__id__": 179 }, "_children": [], "_active": false, "_components": [ { - "__id__": 188 + "__id__": 191 }, { - "__id__": 189 + "__id__": 192 }, { - "__id__": 190 + "__id__": 193 } ], "_prefab": null, @@ -6795,7 +6919,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 187 + "__id__": 190 }, "_enabled": true, "__prefab": null, @@ -6817,7 +6941,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 187 + "__id__": 190 }, "_enabled": true, "__prefab": null, @@ -6856,7 +6980,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 187 + "__id__": 190 }, "_enabled": true, "__prefab": null, @@ -6879,7 +7003,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 176 + "__id__": 179 }, "_enabled": true, "__prefab": null, @@ -6901,7 +7025,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 176 + "__id__": 179 }, "_enabled": true, "__prefab": null, @@ -6929,7 +7053,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 176 + "__id__": 179 }, "_enabled": true, "__prefab": null, @@ -6960,29 +7084,29 @@ "__id__": 2 }, "_children": [ - { - "__id__": 195 - }, { "__id__": 198 }, { - "__id__": 202 + "__id__": 201 }, { "__id__": 205 + }, + { + "__id__": 208 } ], "_active": true, "_components": [ { - "__id__": 209 + "__id__": 212 }, { - "__id__": 210 + "__id__": 213 }, { - "__id__": 211 + "__id__": 214 } ], "_prefab": null, @@ -7021,16 +7145,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 194 + "__id__": 197 }, "_children": [], "_active": true, "_components": [ { - "__id__": 196 + "__id__": 199 }, { - "__id__": 197 + "__id__": 200 } ], "_prefab": null, @@ -7069,7 +7193,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 195 + "__id__": 198 }, "_enabled": true, "__prefab": null, @@ -7091,7 +7215,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 195 + "__id__": 198 }, "_enabled": true, "__prefab": null, @@ -7103,19 +7227,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 194 + "__id__": 197 }, "_children": [], "_active": true, "_components": [ { - "__id__": 199 + "__id__": 202 }, { - "__id__": 200 + "__id__": 203 }, { - "__id__": 201 + "__id__": 204 } ], "_prefab": null, @@ -7154,7 +7278,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 198 + "__id__": 201 }, "_enabled": true, "__prefab": null, @@ -7176,7 +7300,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 198 + "__id__": 201 }, "_enabled": true, "__prefab": null, @@ -7215,7 +7339,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 198 + "__id__": 201 }, "_enabled": true, "__prefab": null, @@ -7246,16 +7370,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 194 + "__id__": 197 }, "_children": [], "_active": true, "_components": [ { - "__id__": 203 + "__id__": 206 }, { - "__id__": 204 + "__id__": 207 } ], "_prefab": null, @@ -7294,7 +7418,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 202 + "__id__": 205 }, "_enabled": true, "__prefab": null, @@ -7316,7 +7440,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 202 + "__id__": 205 }, "_enabled": true, "__prefab": null, @@ -7378,19 +7502,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 194 + "__id__": 197 }, "_children": [], "_active": false, "_components": [ { - "__id__": 206 + "__id__": 209 }, { - "__id__": 207 + "__id__": 210 }, { - "__id__": 208 + "__id__": 211 } ], "_prefab": null, @@ -7429,7 +7553,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 205 + "__id__": 208 }, "_enabled": true, "__prefab": null, @@ -7451,7 +7575,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 205 + "__id__": 208 }, "_enabled": true, "__prefab": null, @@ -7490,7 +7614,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 205 + "__id__": 208 }, "_enabled": true, "__prefab": null, @@ -7513,7 +7637,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 194 + "__id__": 197 }, "_enabled": true, "__prefab": null, @@ -7535,7 +7659,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 194 + "__id__": 197 }, "_enabled": true, "__prefab": null, @@ -7563,7 +7687,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 194 + "__id__": 197 }, "_enabled": true, "__prefab": null, @@ -7594,29 +7718,29 @@ "__id__": 2 }, "_children": [ - { - "__id__": 213 - }, { "__id__": 216 }, { - "__id__": 220 + "__id__": 219 }, { "__id__": 223 + }, + { + "__id__": 226 } ], "_active": true, "_components": [ { - "__id__": 227 + "__id__": 230 }, { - "__id__": 228 + "__id__": 231 }, { - "__id__": 229 + "__id__": 232 } ], "_prefab": null, @@ -7655,16 +7779,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 212 + "__id__": 215 }, "_children": [], "_active": true, "_components": [ { - "__id__": 214 + "__id__": 217 }, { - "__id__": 215 + "__id__": 218 } ], "_prefab": null, @@ -7703,7 +7827,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 213 + "__id__": 216 }, "_enabled": true, "__prefab": null, @@ -7725,7 +7849,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 213 + "__id__": 216 }, "_enabled": true, "__prefab": null, @@ -7737,19 +7861,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 212 + "__id__": 215 }, "_children": [], "_active": true, "_components": [ { - "__id__": 217 + "__id__": 220 }, { - "__id__": 218 + "__id__": 221 }, { - "__id__": 219 + "__id__": 222 } ], "_prefab": null, @@ -7788,7 +7912,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 216 + "__id__": 219 }, "_enabled": true, "__prefab": null, @@ -7810,7 +7934,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 216 + "__id__": 219 }, "_enabled": true, "__prefab": null, @@ -7849,7 +7973,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 216 + "__id__": 219 }, "_enabled": true, "__prefab": null, @@ -7880,16 +8004,16 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 212 + "__id__": 215 }, "_children": [], "_active": true, "_components": [ { - "__id__": 221 + "__id__": 224 }, { - "__id__": 222 + "__id__": 225 } ], "_prefab": null, @@ -7928,7 +8052,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 220 + "__id__": 223 }, "_enabled": true, "__prefab": null, @@ -7950,7 +8074,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 220 + "__id__": 223 }, "_enabled": true, "__prefab": null, @@ -8012,19 +8136,19 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 212 + "__id__": 215 }, "_children": [], "_active": false, "_components": [ { - "__id__": 224 + "__id__": 227 }, { - "__id__": 225 + "__id__": 228 }, { - "__id__": 226 + "__id__": 229 } ], "_prefab": null, @@ -8063,7 +8187,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 223 + "__id__": 226 }, "_enabled": true, "__prefab": null, @@ -8085,7 +8209,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 223 + "__id__": 226 }, "_enabled": true, "__prefab": null, @@ -8124,7 +8248,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 223 + "__id__": 226 }, "_enabled": true, "__prefab": null, @@ -8147,7 +8271,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 212 + "__id__": 215 }, "_enabled": true, "__prefab": null, @@ -8169,7 +8293,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 212 + "__id__": 215 }, "_enabled": true, "__prefab": null, @@ -8197,7 +8321,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 212 + "__id__": 215 }, "_enabled": true, "__prefab": null, @@ -8231,7 +8355,7 @@ "_active": true, "_components": [ { - "__id__": 231 + "__id__": 234 } ], "_prefab": null, @@ -8270,7 +8394,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 230 + "__id__": 233 }, "_enabled": true, "__prefab": null, @@ -8295,13 +8419,13 @@ "_active": true, "_components": [ { - "__id__": 233 + "__id__": 236 }, { - "__id__": 234 + "__id__": 237 }, { - "__id__": 235 + "__id__": 238 } ], "_prefab": null, @@ -8340,7 +8464,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 232 + "__id__": 235 }, "_enabled": true, "__prefab": null, @@ -8362,7 +8486,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 232 + "__id__": 235 }, "_enabled": true, "__prefab": null, @@ -8385,7 +8509,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 232 + "__id__": 235 }, "_enabled": true, "__prefab": null, @@ -8426,14 +8550,18 @@ "_parent": { "__id__": 2 }, - "_children": [], + "_children": [ + { + "__id__": 240 + } + ], "_active": false, "_components": [ { - "__id__": 237 + "__id__": 243 }, { - "__id__": 238 + "__id__": 244 } ], "_prefab": null, @@ -8466,13 +8594,133 @@ }, "_id": "f7sF5ejStK5KKBq0anMMZI" }, + { + "__type__": "cc.Node", + "_name": "Enter", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 239 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 241 + }, + { + "__id__": 242 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -147.268, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "0emwNDmGJJoYVEIbZag9Ch" + }, { "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 236 + "__id__": 240 + }, + "_enabled": true, + "__prefab": null, + "_contentSize": { + "__type__": "cc.Size", + "width": 300, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "9bDC2MMbJAi65ENnp6l3EK" + }, + { + "__type__": "cc.Button", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 240 + }, + "_enabled": true, + "__prefab": null, + "clickEvents": [], + "_interactable": true, + "_transition": 0, + "_normalColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_hoverColor": { + "__type__": "cc.Color", + "r": 211, + "g": 211, + "b": 211, + "a": 255 + }, + "_pressedColor": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_disabledColor": { + "__type__": "cc.Color", + "r": 124, + "g": 124, + "b": 124, + "a": 255 + }, + "_normalSprite": null, + "_hoverSprite": null, + "_pressedSprite": null, + "_disabledSprite": null, + "_duration": 0.1, + "_zoomScale": 1.2, + "_target": null, + "_id": "04287W6VpGjaXGaViU7+sO" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 239 }, "_enabled": true, "__prefab": null, @@ -8494,7 +8742,7 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 236 + "__id__": 239 }, "_enabled": true, "__prefab": null, @@ -8582,29 +8830,29 @@ { "__type__": "cc.SceneGlobals", "ambient": { - "__id__": 242 - }, - "shadows": { - "__id__": 243 - }, - "_skybox": { - "__id__": 244 - }, - "fog": { - "__id__": 245 - }, - "octree": { - "__id__": 246 - }, - "skin": { - "__id__": 247 - }, - "lightProbeInfo": { "__id__": 248 }, - "postSettings": { + "shadows": { "__id__": 249 }, + "_skybox": { + "__id__": 250 + }, + "fog": { + "__id__": 251 + }, + "octree": { + "__id__": 252 + }, + "skin": { + "__id__": 253 + }, + "lightProbeInfo": { + "__id__": 254 + }, + "postSettings": { + "__id__": 255 + }, "bakedWithStationaryMainLight": false, "bakedWithHighpLightmap": false }, diff --git a/assets/scripts/PlayerController.ts b/assets/scripts/PlayerController.ts index 0d30e0d..ca98ba7 100644 --- a/assets/scripts/PlayerController.ts +++ b/assets/scripts/PlayerController.ts @@ -1,4 +1,4 @@ -import { _decorator, Component, Node, Vec3, input, Input, EventTouch, Camera, view, tween, Animation, Collider2D, BoxCollider2D, Contact2DType, Label, Color, Canvas, UITransform, AudioSource, director, PhysicsSystem2D, EPhysics2DDrawFlags } from 'cc'; +import { _decorator, Component, Node, Vec3, input, Input, EventTouch, Camera, view, tween, Animation, Collider2D, BoxCollider2D, Contact2DType, Label, Color, Canvas, UITransform, AudioSource, director, PhysicsSystem2D, EPhysics2DDrawFlags, sys } from 'cc'; import { TiledMapPathfinder } from './TiledMapPathfinder'; const { ccclass, property } = _decorator; @@ -1492,6 +1492,7 @@ export class PlayerController extends Component { */ public showBonusPopup() { this.showPopupAtCameraCenter(this.bonus, '奖励弹窗'); + this.setupEnterButtonListener(); } /** @@ -1666,4 +1667,46 @@ export class PlayerController extends Component { director.loadScene(sceneName); }, 0.3); // 延迟0.3秒,让弹窗消失动画完成 } + + /** + * 设置Enter按钮监听器 + */ + private setupEnterButtonListener() { + if (!this.bonus) { + console.warn('奖励弹窗节点未设置,无法监听Enter按钮'); + return; + } + + // 查找Enter按钮节点 + const enterButton = this.bonus.getChildByName('Enter'); + if (!enterButton) { + console.warn('未找到Enter按钮节点'); + return; + } + + // 移除之前的监听器(如果存在) + enterButton.off(Node.EventType.TOUCH_END, this.onEnterButtonClick, this); + + // 添加新的监听器 + enterButton.on(Node.EventType.TOUCH_END, this.onEnterButtonClick, this); + console.log('已设置Enter按钮监听器'); + } + + /** + * Enter按钮点击事件处理 + */ + private onEnterButtonClick() { + console.log('Enter按钮被点击,执行微信小游戏状态通知'); + + // 隐藏奖励弹窗 + if (this.bonus) { + this.hidePopupWithAnimation(this.bonus, '奖励弹窗'); + } + + // 执行微信小游戏状态通知代码 + if (sys.platform === sys.Platform.WECHAT_GAME && (window as any).wx?.notifyMiniProgramPlayableStatus) { + (window as any).wx.notifyMiniProgramPlayableStatus({ isEnd: true }); + console.log('已发送微信小游戏结束状态通知'); + } + } } diff --git a/settings/v2/packages/builder.json b/settings/v2/packages/builder.json index 9c1ae80..50e9d1f 100644 --- a/settings/v2/packages/builder.json +++ b/settings/v2/packages/builder.json @@ -28,7 +28,7 @@ "configMode": "overwrite", "overwriteSettings": { "wechatgame": { - "compressionType": "subpackage" + "compressionType": "merge_dep" } } }