diff --git a/assets/resources/gui/element/mission.prefab b/assets/resources/gui/element/mission.prefab index 2914fb32..60acc4db 100644 --- a/assets/resources/gui/element/mission.prefab +++ b/assets/resources/gui/element/mission.prefab @@ -35,21 +35,15 @@ }, { "__id__": 262 + }, + { + "__id__": 356 } ], "_active": true, "_components": [ { - "__id__": 324 - }, - { - "__id__": 326 - }, - { - "__id__": 328 - }, - { - "__id__": 330 + "__id__": 380 }, { "__id__": 382 @@ -61,11 +55,20 @@ "__id__": 386 }, { - "__id__": 388 + "__id__": 438 + }, + { + "__id__": 440 + }, + { + "__id__": 442 + }, + { + "__id__": 444 } ], "_prefab": { - "__id__": 390 + "__id__": 446 }, "_lpos": { "__type__": "cc.Vec3", @@ -5350,7 +5353,7 @@ }, { "__type__": "cc.Node", - "_name": "time", + "_name": "PH", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -5361,31 +5364,31 @@ "__id__": 263 }, { - "__id__": 283 + "__id__": 275 }, { - "__id__": 293 + "__id__": 289 } ], "_active": true, "_components": [ { - "__id__": 317 + "__id__": 349 }, { - "__id__": 319 + "__id__": 351 }, { - "__id__": 321 + "__id__": 353 } ], "_prefab": { - "__id__": 323 + "__id__": 355 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 980, + "y": 966.482, "z": 0 }, "_lrot": { @@ -5422,24 +5425,21 @@ "_children": [ { "__id__": 264 - }, - { - "__id__": 272 } ], "_active": true, "_components": [ { - "__id__": 280 + "__id__": 272 } ], "_prefab": { - "__id__": 282 + "__id__": 274 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 125, + "y": 110.694, "z": 0 }, "_lrot": { @@ -5467,7 +5467,7 @@ }, { "__type__": "cc.Node", - "_name": "bg_list2", + "_name": "Label", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -5504,8 +5504,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.5, - "y": 0.5, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -5530,184 +5530,6 @@ "__prefab": { "__id__": 266 }, - "_contentSize": { - "__type__": "cc.Size", - "width": 400, - "height": 98 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "4bP9whQrRFpL3hVxIGXk+g" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 264 - }, - "_enabled": true, - "__prefab": { - "__id__": 268 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@3c257", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 1, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": { - "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", - "__expectedType__": "cc.SpriteAtlas" - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "4cAcrNo5xOvoq1q9KeQ/zv" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 264 - }, - "_enabled": true, - "__prefab": { - "__id__": 270 - }, - "_alignFlags": 40, - "_target": null, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 300, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "76bjpP9QVJuYvQ1azsuWzZ" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "28wuQqk4JIHoZJSS0Ck9x/", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "Label", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 263 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 273 - }, - { - "__id__": 275 - }, - { - "__id__": 277 - } - ], - "_prefab": { - "__id__": 279 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 272 - }, - "_enabled": true, - "__prefab": { - "__id__": 274 - }, "_contentSize": { "__type__": "cc.Size", "width": 200, @@ -5730,11 +5552,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 272 + "__id__": 264 }, "_enabled": true, "__prefab": { - "__id__": 276 + "__id__": 268 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5746,10 +5568,10 @@ "b": 255, "a": 255 }, - "_string": "第 {{0}} - {{1}}关 {{2}}回合", + "_string": "第 {{0}} 关 ", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 17, + "_actualFontSize": 26, "_fontSize": 25, "_fontFamily": "Arial", "_lineHeight": 40, @@ -5798,11 +5620,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 272 + "__id__": 264 }, "_enabled": true, "__prefab": { - "__id__": 278 + "__id__": 270 }, "templateMode": true, "watchPath": "", @@ -5825,6 +5647,8 @@ "__id__": 0 }, "fileId": "4685Eq90tNG7LQanmN1qTk", + "instance": null, + "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { @@ -5837,7 +5661,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 281 + "__id__": 273 }, "_contentSize": { "__type__": "cc.Size", @@ -5870,7 +5694,7 @@ }, { "__type__": "cc.Node", - "_name": "name", + "_name": "pProgressBar", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -5878,21 +5702,397 @@ }, "_children": [ { - "__id__": 284 + "__id__": 276 } ], - "_active": false, + "_active": true, "_components": [ { - "__id__": 290 + "__id__": 282 + }, + { + "__id__": 284 + }, + { + "__id__": 286 } ], "_prefab": { - "__id__": 292 + "__id__": 288 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, + "y": 60, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 275 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 277 + }, + { + "__id__": 279 + } + ], + "_prefab": { + "__id__": 281 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -150, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 276 + }, + "_enabled": true, + "__prefab": { + "__id__": 278 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 300, + "height": 15 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d73oNmANNP/qbp+/0Pl2rM" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 276 + }, + "_enabled": true, + "__prefab": { + "__id__": 280 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 163, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "24a704da-2867-446d-8d1a-5e920c75e09d@f9941", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "97B4/f/iVH/KOY5M1FMgzk" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e1qSfMohpNRI7X9J+Z23rU", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 275 + }, + "_enabled": true, + "__prefab": { + "__id__": 283 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 300, + "height": 15 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2cN0CHd6JOQbhZG2hdFCrA" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 275 + }, + "_enabled": true, + "__prefab": { + "__id__": 285 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 192, + "g": 192, + "b": 192, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@d8db6", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a6KJy3shJIorQk916h6/D9" + }, + { + "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 275 + }, + "_enabled": true, + "__prefab": { + "__id__": 287 + }, + "_barSprite": { + "__id__": 279 + }, + "_mode": 0, + "_totalLength": 300, + "_progress": 1, + "_reverse": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "47Yo1qmAdLK7AFsHJXhL55" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "612qHdA5dBsIZjQvniI1VY", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Phase2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 262 + }, + "_children": [ + { + "__id__": 290 + }, + { + "__id__": 302 + }, + { + "__id__": 314 + }, + { + "__id__": 326 + }, + { + "__id__": 338 + } + ], + "_active": true, + "_components": [ + { + "__id__": 344 + }, + { + "__id__": 346 + } + ], + "_prefab": { + "__id__": 348 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 60, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "p1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 289 + }, + "_children": [ + { + "__id__": 291 + } + ], + "_active": true, + "_components": [ + { + "__id__": 297 + }, + { + "__id__": 299 + } + ], + "_prefab": { + "__id__": 301 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -150, "y": 0, "z": 0 }, @@ -5925,25 +6125,25 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 283 + "__id__": 290 }, "_children": [], "_active": true, "_components": [ { - "__id__": 285 + "__id__": 292 }, { - "__id__": 287 + "__id__": 294 } ], "_prefab": { - "__id__": 289 + "__id__": 296 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 39.024, + "y": 0, "z": 0 }, "_lrot": { @@ -5975,15 +6175,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 284 + "__id__": 291 }, "_enabled": true, "__prefab": { - "__id__": 286 + "__id__": 293 }, "_contentSize": { "__type__": "cc.Size", - "width": 49.576171875, + "width": 15.123046875, "height": 54.4 }, "_anchorPoint": { @@ -5995,7 +6195,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "2bnJ8LKTpFQoHtPj8C1XeB" + "fileId": "36n+hMBCtB87zmzxGTsOGM" }, { "__type__": "cc.Label", @@ -6003,11 +6203,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 284 + "__id__": 291 }, "_enabled": true, "__prefab": { - "__id__": 288 + "__id__": 295 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6019,7 +6219,7 @@ "b": 255, "a": 255 }, - "_string": "label", + "_string": "1", "_horizontalAlign": 1, "_verticalAlign": 1, "_actualFontSize": 20, @@ -6063,7 +6263,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "c5fi2P8qxBHKpewL8fz5yK" + "fileId": "92KDAvQj5N8bvlFsj7oGuf" }, { "__type__": "cc.PrefabInfo", @@ -6073,7 +6273,7 @@ "asset": { "__id__": 0 }, - "fileId": "d6OqAvF1FN06MgcY8dlpi/", + "fileId": "40XRGzwnZPwbFGsE7IHdHo", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -6084,15 +6284,1213 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 283 + "__id__": 290 }, "_enabled": true, "__prefab": { - "__id__": 291 + "__id__": 298 }, "_contentSize": { "__type__": "cc.Size", - "width": 100, + "width": 40, + "height": 41 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "75s38qCJpOw727CkLe7p1Y" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 290 + }, + "_enabled": true, + "__prefab": { + "__id__": 300 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@96977", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ef9hYUwdhCzq71X/gkxDpM" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2bIKoD3OxNnZ3DwD+iCE/p", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "p2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 289 + }, + "_children": [ + { + "__id__": 303 + } + ], + "_active": true, + "_components": [ + { + "__id__": 309 + }, + { + "__id__": 311 + } + ], + "_prefab": { + "__id__": 313 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -80, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 302 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 304 + }, + { + "__id__": 306 + } + ], + "_prefab": { + "__id__": 308 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 303 + }, + "_enabled": true, + "__prefab": { + "__id__": 305 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 15.123046875, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6az7pr71NEbaQvyGDIuxJ8" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 303 + }, + "_enabled": true, + "__prefab": { + "__id__": 307 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "2", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 20, + "_fontSize": 20, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": true, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a3xoVUV4tF+pn8AOJZ7gP1" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9fcD7R9vdCWoeFsomsmUFO", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 302 + }, + "_enabled": true, + "__prefab": { + "__id__": 310 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 41 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b8dvQ6aVJDJJWJNTZhtpGR" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 302 + }, + "_enabled": true, + "__prefab": { + "__id__": 312 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@96977", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6bkLkgW4JGC6anTOzktQY/" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4b5wtb/BRJ8KIPzv4Mpj8Q", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "p3", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 289 + }, + "_children": [ + { + "__id__": 315 + } + ], + "_active": true, + "_components": [ + { + "__id__": 321 + }, + { + "__id__": 323 + } + ], + "_prefab": { + "__id__": 325 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -10, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 314 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 316 + }, + { + "__id__": 318 + } + ], + "_prefab": { + "__id__": 320 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 315 + }, + "_enabled": true, + "__prefab": { + "__id__": 317 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 15.123046875, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0eM62TMohJTaY4Skgbg3Gd" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 315 + }, + "_enabled": true, + "__prefab": { + "__id__": 319 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "3", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 20, + "_fontSize": 20, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": true, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "18YDnXB55HeaxYposLzeIG" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b4A2OR4X5NQ6JgGq3hpv4I", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 314 + }, + "_enabled": true, + "__prefab": { + "__id__": 322 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 41 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2aYo2NaNlD5YoouCv6pH+X" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 314 + }, + "_enabled": true, + "__prefab": { + "__id__": 324 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@96977", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b2zahSJAJJ/4n9paP2ve5b" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e5uZzkn35P3be3CYsCTkIw", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "p4", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 289 + }, + "_children": [ + { + "__id__": 327 + } + ], + "_active": true, + "_components": [ + { + "__id__": 333 + }, + { + "__id__": 335 + } + ], + "_prefab": { + "__id__": 337 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 60, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Label", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 326 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 328 + }, + { + "__id__": 330 + } + ], + "_prefab": { + "__id__": 332 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 327 + }, + "_enabled": true, + "__prefab": { + "__id__": 329 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 15.123046875, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f5yIgUqMRJfq1nBQEE6ylD" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 327 + }, + "_enabled": true, + "__prefab": { + "__id__": 331 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "4", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 20, + "_fontSize": 20, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": true, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": true, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7e8VQlqvlBToIv3pbQSJy4" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "bdAaQNz/dBC5n0CrPjeUgp", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 326 + }, + "_enabled": true, + "__prefab": { + "__id__": 334 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 41 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "96YbI4SnZAebJ9oqoVrOSw" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 326 + }, + "_enabled": true, + "__prefab": { + "__id__": 336 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@96977", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "cd+B1YrBtJr5dG+zZiumYn" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "57E3VCRd5N76UVFTecOvb4", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "boss", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 289 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 339 + }, + { + "__id__": 341 + } + ], + "_prefab": { + "__id__": 343 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 140, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 338 + }, + "_enabled": true, + "__prefab": { + "__id__": 340 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 60, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "56vDt0s1NJurgsUtK1JjtL" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 338 + }, + "_enabled": true, + "__prefab": { + "__id__": 342 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@eb1e3", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4a5p7/xH5CLqApHiBl4qxo" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e2R4irUExO66P31SAcCYhx", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 289 + }, + "_enabled": true, + "__prefab": { + "__id__": 345 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 340, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9eLA5zkd1OqKfy6XeLet+0" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 289 + }, + "_enabled": true, + "__prefab": { + "__id__": 347 + }, + "_resizeMode": 1, + "_layoutType": 1, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 30, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": true, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0bHhZA1cpAhKKw+2wexla6" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2718sMgLpKHKtNY3qsxuf4", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 262 + }, + "_enabled": true, + "__prefab": { + "__id__": 350 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 400, "height": 100 }, "_anchorPoint": { @@ -6104,7 +7502,81 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "bdGoaABnxO66PxekVfO8A4" + "fileId": "17zk990lZIAaGdnfWBxgid" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 262 + }, + "_enabled": true, + "__prefab": { + "__id__": 352 + }, + "_alignFlags": 17, + "_target": null, + "_left": 310, + "_right": 30, + "_top": 263.51800000000003, + "_bottom": 638.669, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 50, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9e4Qf5jldBgoENlBF670t1" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 262 + }, + "_enabled": false, + "__prefab": { + "__id__": 354 + }, + "_resizeMode": 0, + "_layoutType": 2, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 0, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": true, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "862VpUVzhABo1YOiA5qZND" }, { "__type__": "cc.PrefabInfo", @@ -6114,7 +7586,7 @@ "asset": { "__id__": 0 }, - "fileId": "25psc7GpJNqLuEIPag/9U1", + "fileId": "72Dp5Gp3NKbajL+RreRUlh", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -6125,35 +7597,35 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 262 + "__id__": 1 }, "_children": [ { - "__id__": 294 + "__id__": 357 }, { - "__id__": 302 + "__id__": 365 } ], "_active": true, "_components": [ { - "__id__": 310 + "__id__": 373 }, { - "__id__": 312 + "__id__": 375 }, { - "__id__": 314 + "__id__": 377 } ], "_prefab": { - "__id__": 316 + "__id__": 379 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, - "y": 75, + "x": 249.77, + "y": 1245.614, "z": 0 }, "_lrot": { @@ -6185,23 +7657,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 293 + "__id__": 356 }, "_children": [], "_active": true, "_components": [ { - "__id__": 295 + "__id__": 358 }, { - "__id__": 297 + "__id__": 360 }, { - "__id__": 299 + "__id__": 362 } ], "_prefab": { - "__id__": 301 + "__id__": 364 }, "_lpos": { "__type__": "cc.Vec3", @@ -6238,11 +7710,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 294 + "__id__": 357 }, "_enabled": true, "__prefab": { - "__id__": 296 + "__id__": 359 }, "_contentSize": { "__type__": "cc.Size", @@ -6266,11 +7738,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 294 + "__id__": 357 }, "_enabled": true, "__prefab": { - "__id__": 298 + "__id__": 361 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6311,11 +7783,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 294 + "__id__": 357 }, "_enabled": true, "__prefab": { - "__id__": 300 + "__id__": 363 }, "_alignFlags": 8, "_target": null, @@ -6360,23 +7832,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 293 + "__id__": 356 }, "_children": [], "_active": true, "_components": [ { - "__id__": 303 + "__id__": 366 }, { - "__id__": 305 + "__id__": 368 }, { - "__id__": 307 + "__id__": 370 } ], "_prefab": { - "__id__": 309 + "__id__": 372 }, "_lpos": { "__type__": "cc.Vec3", @@ -6413,11 +7885,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 302 + "__id__": 365 }, "_enabled": true, "__prefab": { - "__id__": 304 + "__id__": 367 }, "_contentSize": { "__type__": "cc.Size", @@ -6441,11 +7913,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 302 + "__id__": 365 }, "_enabled": true, "__prefab": { - "__id__": 306 + "__id__": 369 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6509,11 +7981,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 302 + "__id__": 365 }, "_enabled": true, "__prefab": { - "__id__": 308 + "__id__": 371 }, "_alignFlags": 32, "_target": null, @@ -6558,11 +8030,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 293 + "__id__": 356 }, "_enabled": true, "__prefab": { - "__id__": 311 + "__id__": 374 }, "_contentSize": { "__type__": "cc.Size", @@ -6586,11 +8058,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 293 + "__id__": 356 }, "_enabled": true, "__prefab": { - "__id__": 313 + "__id__": 376 }, "_alignFlags": 0, "_target": null, @@ -6622,11 +8094,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 293 + "__id__": 356 }, "_enabled": false, "__prefab": { - "__id__": 315 + "__id__": 378 }, "_resizeMode": 0, "_layoutType": 1, @@ -6667,121 +8139,6 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 262 - }, - "_enabled": true, - "__prefab": { - "__id__": 318 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 200, - "height": 300 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "17zk990lZIAaGdnfWBxgid" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 262 - }, - "_enabled": true, - "__prefab": { - "__id__": 320 - }, - "_alignFlags": 17, - "_target": null, - "_left": 310, - "_right": 30, - "_top": 150, - "_bottom": 638.669, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 100, - "_originalHeight": 50, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "9e4Qf5jldBgoENlBF670t1" - }, - { - "__type__": "cc.Layout", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 262 - }, - "_enabled": true, - "__prefab": { - "__id__": 322 - }, - "_resizeMode": 0, - "_layoutType": 2, - "_cellSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_startAxis": 0, - "_paddingLeft": 0, - "_paddingRight": 0, - "_paddingTop": 0, - "_paddingBottom": 0, - "_spacingX": 0, - "_spacingY": 0, - "_verticalDirection": 1, - "_horizontalDirection": 0, - "_constraint": 0, - "_constraintNum": 2, - "_affectedByScale": false, - "_isAlign": true, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "862VpUVzhABo1YOiA5qZND" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "72Dp5Gp3NKbajL+RreRUlh", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.UITransform", "_name": "", @@ -6792,7 +8149,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 325 + "__id__": 381 }, "_contentSize": { "__type__": "cc.Size", @@ -6820,7 +8177,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 327 + "__id__": 383 }, "_alignFlags": 21, "_target": null, @@ -6856,17 +8213,36 @@ }, "_enabled": true, "__prefab": { - "__id__": 329 + "__id__": 385 }, "debugMode": false, - "showMemoryPanel": true, "start_btn": null, "time_label": { - "__id__": 305 + "__id__": 368 }, "tooltip": { "__id__": 240 }, + "round_nodes": [ + { + "__id__": 290 + }, + { + "__id__": 302 + }, + { + "__id__": 314 + }, + { + "__id__": 326 + }, + { + "__id__": 338 + } + ], + "round_progress": { + "__id__": 286 + }, "_id": "" }, { @@ -6883,7 +8259,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 331 + "__id__": 387 }, "cardPanNode": { "__id__": 131 @@ -6924,11 +8300,11 @@ "__id__": 159 }, "coins_node": { - "__id__": 332 + "__id__": 388 }, "hero_num_node": null, "refresh_stone_num_node": { - "__id__": 334 + "__id__": 390 }, "pickCountLabel": { "__id__": 142 @@ -6947,27 +8323,27 @@ "mountedRoot": null }, "_parent": { - "__id__": 333 + "__id__": 389 }, "_children": [ { - "__id__": 365 + "__id__": 421 }, { - "__id__": 371 + "__id__": 427 } ], "_active": false, "_components": [ { - "__id__": 377 + "__id__": 433 }, { - "__id__": 379 + "__id__": 435 } ], "_prefab": { - "__id__": 381 + "__id__": 437 }, "_lpos": { "__type__": "cc.Vec3", @@ -7008,29 +8384,29 @@ }, "_children": [ { - "__id__": 332 + "__id__": 388 }, { - "__id__": 334 + "__id__": 390 }, { - "__id__": 352 + "__id__": 408 } ], "_active": true, "_components": [ { - "__id__": 358 + "__id__": 414 }, { - "__id__": 360 + "__id__": 416 }, { - "__id__": 362 + "__id__": 418 } ], "_prefab": { - "__id__": 364 + "__id__": 420 }, "_lpos": { "__type__": "cc.Vec3", @@ -7069,27 +8445,27 @@ "mountedRoot": null }, "_parent": { - "__id__": 333 + "__id__": 389 }, "_children": [ { - "__id__": 335 + "__id__": 391 }, { - "__id__": 341 + "__id__": 397 } ], "_active": true, "_components": [ { - "__id__": 347 + "__id__": 403 }, { - "__id__": 349 + "__id__": 405 } ], "_prefab": { - "__id__": 351 + "__id__": 407 }, "_lpos": { "__type__": "cc.Vec3", @@ -7126,20 +8502,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 334 + "__id__": 390 }, "_children": [], "_active": true, "_components": [ { - "__id__": 336 + "__id__": 392 }, { - "__id__": 338 + "__id__": 394 } ], "_prefab": { - "__id__": 340 + "__id__": 396 }, "_lpos": { "__type__": "cc.Vec3", @@ -7176,11 +8552,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 335 + "__id__": 391 }, "_enabled": true, "__prefab": { - "__id__": 337 + "__id__": 393 }, "_contentSize": { "__type__": "cc.Size", @@ -7204,11 +8580,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 335 + "__id__": 391 }, "_enabled": true, "__prefab": { - "__id__": 339 + "__id__": 395 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7265,20 +8641,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 334 + "__id__": 390 }, "_children": [], "_active": true, "_components": [ { - "__id__": 342 + "__id__": 398 }, { - "__id__": 344 + "__id__": 400 } ], "_prefab": { - "__id__": 346 + "__id__": 402 }, "_lpos": { "__type__": "cc.Vec3", @@ -7315,11 +8691,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 341 + "__id__": 397 }, "_enabled": true, "__prefab": { - "__id__": 343 + "__id__": 399 }, "_contentSize": { "__type__": "cc.Size", @@ -7343,11 +8719,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 341 + "__id__": 397 }, "_enabled": true, "__prefab": { - "__id__": 345 + "__id__": 401 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7424,11 +8800,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 334 + "__id__": 390 }, "_enabled": true, "__prefab": { - "__id__": 348 + "__id__": 404 }, "_contentSize": { "__type__": "cc.Size", @@ -7452,11 +8828,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 334 + "__id__": 390 }, "_enabled": true, "__prefab": { - "__id__": 350 + "__id__": 406 }, "_resizeMode": 1, "_layoutType": 1, @@ -7505,20 +8881,20 @@ "mountedRoot": null }, "_parent": { - "__id__": 333 + "__id__": 389 }, "_children": [], "_active": true, "_components": [ { - "__id__": 353 + "__id__": 409 }, { - "__id__": 355 + "__id__": 411 } ], "_prefab": { - "__id__": 357 + "__id__": 413 }, "_lpos": { "__type__": "cc.Vec3", @@ -7555,11 +8931,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 352 + "__id__": 408 }, "_enabled": true, "__prefab": { - "__id__": 354 + "__id__": 410 }, "_contentSize": { "__type__": "cc.Size", @@ -7583,11 +8959,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 352 + "__id__": 408 }, "_enabled": true, "__prefab": { - "__id__": 356 + "__id__": 412 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7664,11 +9040,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 333 + "__id__": 389 }, "_enabled": true, "__prefab": { - "__id__": 359 + "__id__": 415 }, "_contentSize": { "__type__": "cc.Size", @@ -7692,11 +9068,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 333 + "__id__": 389 }, "_enabled": true, "__prefab": { - "__id__": 361 + "__id__": 417 }, "_alignFlags": 45, "_target": null, @@ -7728,11 +9104,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 333 + "__id__": 389 }, "_enabled": true, "__prefab": { - "__id__": 363 + "__id__": 419 }, "_resizeMode": 1, "_layoutType": 2, @@ -7779,20 +9155,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 332 + "__id__": 388 }, "_children": [], "_active": true, "_components": [ { - "__id__": 366 + "__id__": 422 }, { - "__id__": 368 + "__id__": 424 } ], "_prefab": { - "__id__": 370 + "__id__": 426 }, "_lpos": { "__type__": "cc.Vec3", @@ -7829,11 +9205,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 365 + "__id__": 421 }, "_enabled": true, "__prefab": { - "__id__": 367 + "__id__": 423 }, "_contentSize": { "__type__": "cc.Size", @@ -7857,11 +9233,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 365 + "__id__": 421 }, "_enabled": true, "__prefab": { - "__id__": 369 + "__id__": 425 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7918,20 +9294,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 332 + "__id__": 388 }, "_children": [], "_active": true, "_components": [ { - "__id__": 372 + "__id__": 428 }, { - "__id__": 374 + "__id__": 430 } ], "_prefab": { - "__id__": 376 + "__id__": 432 }, "_lpos": { "__type__": "cc.Vec3", @@ -7968,11 +9344,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 371 + "__id__": 427 }, "_enabled": true, "__prefab": { - "__id__": 373 + "__id__": 429 }, "_contentSize": { "__type__": "cc.Size", @@ -7996,11 +9372,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 371 + "__id__": 427 }, "_enabled": true, "__prefab": { - "__id__": 375 + "__id__": 431 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -8077,11 +9453,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 332 + "__id__": 388 }, "_enabled": true, "__prefab": { - "__id__": 378 + "__id__": 434 }, "_contentSize": { "__type__": "cc.Size", @@ -8105,11 +9481,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 332 + "__id__": 388 }, "_enabled": true, "__prefab": { - "__id__": 380 + "__id__": 436 }, "_resizeMode": 1, "_layoutType": 1, @@ -8160,7 +9536,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 383 + "__id__": 439 }, "_id": "" }, @@ -8178,7 +9554,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 385 + "__id__": 441 }, "debugMode": false, "_id": "" @@ -8197,7 +9573,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 387 + "__id__": 443 }, "skill_box": { "__uuid__": "d19cde30-f5d0-47de-a0d5-3a272b696343", @@ -8219,7 +9595,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 389 + "__id__": 445 }, "equip_box": { "__uuid__": "66d7902d-2a85-43d5-8cbb-671cc7dbb275", @@ -8246,10 +9622,10 @@ "instance": null, "targetOverrides": [ { - "__id__": 391 + "__id__": 447 }, { - "__id__": 393 + "__id__": 449 } ], "nestedPrefabInstanceRoots": [ @@ -8267,7 +9643,7 @@ { "__type__": "cc.TargetOverrideInfo", "source": { - "__id__": 330 + "__id__": 386 }, "sourceInfo": null, "propertyPath": [ @@ -8277,7 +9653,7 @@ "__id__": 159 }, "targetInfo": { - "__id__": 392 + "__id__": 448 } }, { @@ -8289,7 +9665,7 @@ { "__type__": "cc.TargetOverrideInfo", "source": { - "__id__": 330 + "__id__": 386 }, "sourceInfo": null, "propertyPath": [ @@ -8299,7 +9675,7 @@ "__id__": 159 }, "targetInfo": { - "__id__": 394 + "__id__": 450 } }, { diff --git a/assets/script/game/map/MissionComp.ts b/assets/script/game/map/MissionComp.ts index fc9e4110..40d40c49 100644 --- a/assets/script/game/map/MissionComp.ts +++ b/assets/script/game/map/MissionComp.ts @@ -17,7 +17,7 @@ * - 第 5 节胜利 → open_Victory(final) 弹结算,确认退出并存档进下一关。 * - cleanComponents() / clearBattlePools() 仅在整关开始/结束时执行,节间不调用。 */ -import { _decorator, Node, NodeEventType, Label, tween, v3, Tween, Widget } from "cc"; +import { _decorator, Node, NodeEventType, Label, tween, v3, Tween, Widget, Color, Sprite, ProgressBar } from "cc"; import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp"; import { smc } from "../common/SingletonModuleComp"; @@ -44,6 +44,7 @@ import { getProgressText, getMonsterLv, BOSS_SECTION, + SECTIONS_PER_STAGE, } from "../common/config/StageSet"; const { ccclass, property } = _decorator; @@ -93,6 +94,21 @@ export class MissionComp extends CCComp { @property(Node) tooltip: Node = null! + /** 回合指示节点(5 个,索引 0~4 对应回合 1~5),按回合进度染色 */ + @property({ type: [Node], tooltip: "回合指示节点(按回合 1~5 顺序绑定)" }) + round_nodes: Node[] = []; + + /** 回合进度条:第 1 回合 0%,每推进一回合 +25%(第 5 回合满格) */ + @property({ type: ProgressBar, tooltip: "回合进度条(第 1 回合 0%,每回合 +25%)" }) + round_progress: ProgressBar = null!; + + /** 回合指示:未激活(白色) */ + private static readonly ROUND_INACTIVE = new Color(255, 255, 255, 255); + /** 回合指示:已激活(橙黄 #FFA300) */ + private static readonly ROUND_ACTIVE = new Color(255, 163, 0, 255); + /** 回合指示:Boss 当前回合(红色) */ + private static readonly ROUND_BOSS = new Color(230, 60, 60, 255); + /** 阶段名称映射表(用于 UI 显示) */ private static readonly PhaseNameMap: Record = { [MissionPhase.None]: "未开始", @@ -797,6 +813,7 @@ export class MissionComp extends CCComp { this.currentWave = 1; this.isBossWave = false; this.skipRemainScoreOnBattleEnd = false; + this.updateRoundNodes(); this.rewards = [] this.revive_times = 1; this.lastTimeStr = ""; @@ -909,12 +926,46 @@ export class MissionComp extends CCComp { this.currentWave = wave; smc.vmdata.mission_data.level = wave; + this.updateRoundNodes(); // 金币改为怪物死亡掉落(见 HeroAtkSystem),不再每回合固定发放 this.lastTimeSecond = -1; this.clearTime = 0; this.update_time(); } + /** + * 刷新回合指示节点颜色: + * - 已激活(已完成 + 当前回合)→ 黄色;当前回合且为 Boss 节 → 红色;未激活 → 白色。 + * Why: 回合推进时(onNewWave)与开局重置(data_init)调用,驱动 HUD 回合指示实时反馈。 + */ + private updateRoundNodes() { + const len = Math.min(this.round_nodes.length, SECTIONS_PER_STAGE); + for (let i = 0; i < len; i++) { + const node = this.round_nodes[i]; + if (!node || !node.isValid) continue; + const round = i + 1; + const color = round > this.currentWave + ? MissionComp.ROUND_INACTIVE + : (round === this.currentWave && this.isBossWave) + ? MissionComp.ROUND_BOSS + : MissionComp.ROUND_ACTIVE; + // 优先染色 Sprite(图标配色),无 Sprite 时退化到 Label,均无则跳过 + const sprite = node.getComponent(Sprite); + if (sprite) { + sprite.color = color; + } else { + const label = node.getComponent(Label); + if (label) label.color = color; + } + } + + // 进度条:第 1 回合 0%,每推进一回合 +25%(第 5 回合满格) + if (this.round_progress && this.round_progress.isValid) { + this.round_progress.progress = + Math.max(0, Math.min(SECTIONS_PER_STAGE, this.currentWave) - 1) / (SECTIONS_PER_STAGE - 1); + } + } + // ======================== 怪物数量管理 ======================== /**