From 5b9c00fa7a401bf5c92f04c443f4586f50d7edd8 Mon Sep 17 00:00:00 2001 From: panw Date: Wed, 3 Sep 2025 10:58:29 +0800 Subject: [PATCH] dd --- assets/resources/gui/element/victory.prefab | 2601 ++++++++----------- assets/script/game/common/config/Guide.ts | 2 +- assets/script/game/map/VictoryComp.ts | 16 +- 3 files changed, 1034 insertions(+), 1585 deletions(-) diff --git a/assets/resources/gui/element/victory.prefab b/assets/resources/gui/element/victory.prefab index a41d16a2..4962f77f 100644 --- a/assets/resources/gui/element/victory.prefab +++ b/assets/resources/gui/element/victory.prefab @@ -25,35 +25,35 @@ "__id__": 10 }, { - "__id__": 125 + "__id__": 132 }, { - "__id__": 137 + "__id__": 144 }, { - "__id__": 209 + "__id__": 216 } ], "_active": true, "_components": [ { - "__id__": 268 + "__id__": 275 }, { - "__id__": 270 + "__id__": 277 }, { - "__id__": 272 + "__id__": 279 }, { - "__id__": 274 + "__id__": 281 }, { - "__id__": 276 + "__id__": 283 } ], "_prefab": { - "__id__": 278 + "__id__": 285 }, "_lpos": { "__type__": "cc.Vec3", @@ -279,28 +279,19 @@ }, { "__id__": 56 - }, - { - "__id__": 76 - }, - { - "__id__": 94 - }, - { - "__id__": 112 } ], "_active": true, "_components": [ { - "__id__": 120 + "__id__": 127 }, { - "__id__": 122 + "__id__": 129 } ], "_prefab": { - "__id__": 124 + "__id__": 131 }, "_lpos": { "__type__": "cc.Vec3", @@ -1115,7 +1106,7 @@ }, { "__type__": "cc.Node", - "_name": "gold", + "_name": "items", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -1126,905 +1117,7 @@ "__id__": 57 }, { - "__id__": 65 - } - ], - "_active": true, - "_components": [ - { - "__id__": 73 - } - ], - "_prefab": { - "__id__": 75 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -168.087, - "y": 97.792, - "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": "9001", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 56 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 58 - }, - { - "__id__": 60 - }, - { - "__id__": 62 - } - ], - "_prefab": { - "__id__": 64 - }, - "_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": 0.5, - "y": 0.5, - "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__": 57 - }, - "_enabled": true, - "__prefab": { - "__id__": 59 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 128, - "height": 128 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "7a+m5vMCBLR4S8JiatzO22" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 57 - }, - "_enabled": true, - "__prefab": { - "__id__": 61 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@23e64", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 1, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": { - "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717", - "__expectedType__": "cc.SpriteAtlas" - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "cb5Frx1s5O0Jg/v+vOWn0b" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 57 - }, - "_enabled": true, - "__prefab": { - "__id__": 63 - }, - "_alignFlags": 18, - "_target": null, - "_left": -20.75, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": -75, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 0, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "53r3u0dGhPcrNvP8SNlzaG" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "8aIRGY2HFCuaJyuyprFNpx", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "num", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 56 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 66 - }, - { - "__id__": 68 - }, - { - "__id__": 70 - } - ], - "_prefab": { - "__id__": 72 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 11.277999999999999, - "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__": 65 - }, - "_enabled": true, - "__prefab": { - "__id__": 67 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 80, - "height": 35 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "cd8ycgnexK66Du6kDb3GKU" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 65 - }, - "_enabled": true, - "__prefab": { - "__id__": 69 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "X9999", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 27, - "_fontSize": 30, - "_fontFamily": "Arial", - "_lineHeight": 35, - "_overflow": 2, - "_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": "79yfCpDGlBbIzQoqMGZbOU" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 65 - }, - "_enabled": true, - "__prefab": { - "__id__": 71 - }, - "_alignFlags": 18, - "_target": null, - "_left": -15, - "_right": -15, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": -23.722, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 80, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "b7I6a+FKZP2L4PHPtDgQ6N" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "d3RLLZOk1LUotXlSmr2oOp", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 56 - }, - "_enabled": true, - "__prefab": { - "__id__": 74 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 150, - "height": 50 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "fboDyr4tFCQIyFVto3GYxA" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "99esTNP4JHEoyNUZdKaPpW", - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "diamond", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 10 - }, - "_children": [ - { - "__id__": 77 - }, - { - "__id__": 83 - } - ], - "_active": true, - "_components": [ - { - "__id__": 91 - } - ], - "_prefab": { - "__id__": 93 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -18.087, - "y": 97.792, - "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": "ItemIcon_Ticket_Gold", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 76 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 78 - }, - { - "__id__": 80 - } - ], - "_prefab": { - "__id__": 82 - }, - "_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": 0.5, - "y": 0.5, - "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__": 77 - }, - "_enabled": true, - "__prefab": { - "__id__": 79 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 128, - "height": 128 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "1d4U4W945HSqPi0envrYwr" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 77 - }, - "_enabled": true, - "__prefab": { - "__id__": 81 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@d2cb1", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 1, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": { - "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717", - "__expectedType__": "cc.SpriteAtlas" - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d3pDyE2HxEx4gdBDfB08t6" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "96qn7JKE5CDoREugz2base", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "num", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 76 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 84 - }, - { - "__id__": 86 - }, - { - "__id__": 88 - } - ], - "_prefab": { - "__id__": 90 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 14.673000000000002, - "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__": 83 - }, - "_enabled": true, - "__prefab": { - "__id__": 85 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 80, - "height": 35 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "78xEdyLNhPOI+a14bRnXab" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 83 - }, - "_enabled": true, - "__prefab": { - "__id__": 87 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "X9999", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 27, - "_fontSize": 30, - "_fontFamily": "Arial", - "_lineHeight": 35, - "_overflow": 2, - "_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": "01X1CJq+5LmYCMalwwYq2N" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 83 - }, - "_enabled": true, - "__prefab": { - "__id__": 89 - }, - "_alignFlags": 18, - "_target": null, - "_left": -15, - "_right": -15, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": -20.326999999999998, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 80, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "4ffYc8I4ZIlqoDkrtJWnd/" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "f1MDRDpfRGQJsqzpu8C713", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 76 - }, - "_enabled": true, - "__prefab": { - "__id__": 92 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 150, - "height": 50 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "706S5f6hFH376KYZQvRh5U" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "0cpE+F4qNPd4QBpoIU+GmB", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "exp", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 10 - }, - "_children": [ - { - "__id__": 95 + "__id__": 82 }, { "__id__": 101 @@ -2033,440 +1126,17 @@ "_active": true, "_components": [ { - "__id__": 109 + "__id__": 120 + }, + { + "__id__": 122 + }, + { + "__id__": 124 } ], "_prefab": { - "__id__": 111 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 131.913, - "y": 97.792, - "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": "ItemIcon_Ticket_Gold", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 94 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 96 - }, - { - "__id__": 98 - } - ], - "_prefab": { - "__id__": 100 - }, - "_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": 0.5, - "y": 0.5, - "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__": 95 - }, - "_enabled": true, - "__prefab": { - "__id__": 97 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 128, - "height": 128 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "3bp8erFfBBiqTxxWFFrieM" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 95 - }, - "_enabled": true, - "__prefab": { - "__id__": 99 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@114f7", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 0, - "_fillType": 0, - "_sizeMode": 1, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": { - "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717", - "__expectedType__": "cc.SpriteAtlas" - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "aaaklggLlH6beCwRVYYFER" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "098DXal7RHj6SJxQH6Wud8", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "num", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 94 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 102 - }, - { - "__id__": 104 - }, - { - "__id__": 106 - } - ], - "_prefab": { - "__id__": 108 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 13.768999999999998, - "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__": 101 - }, - "_enabled": true, - "__prefab": { - "__id__": 103 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 80, - "height": 35 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "69Ole0fONG6aCrTTcAg6iv" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 101 - }, - "_enabled": true, - "__prefab": { - "__id__": 105 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "X9999", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 27, - "_fontSize": 30, - "_fontFamily": "Arial", - "_lineHeight": 35, - "_overflow": 2, - "_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": "ceCvi8aZJIyZHC/h3ugurM" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 101 - }, - "_enabled": true, - "__prefab": { - "__id__": 107 - }, - "_alignFlags": 18, - "_target": null, - "_left": -15, - "_right": -15, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": -21.231, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 80, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "37slMXvklK+IeqszOBP296" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "06iJuIm/hEqI56SAOboRaA", - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 94 - }, - "_enabled": true, - "__prefab": { - "__id__": 110 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 150, - "height": 50 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "2auTPJxDZI446rH5RKDR3f" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "161P2V9CNAD784FzbrRnv4", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "items", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 10 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 113 - }, - { - "__id__": 115 - }, - { - "__id__": 117 - } - ], - "_prefab": { - "__id__": 119 + "__id__": 126 }, "_lpos": { "__type__": "cc.Vec3", @@ -2497,22 +1167,784 @@ }, "_id": "" }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 56 + }, + "_prefab": { + "__id__": 58 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 57 + }, + "asset": { + "__uuid__": "c2e2497a-9ce4-4580-9f16-caef7cdaff65", + "__expectedType__": "cc.Prefab" + }, + "fileId": "92C1mt0E9Gf7pOThkkqV7E", + "instance": { + "__id__": 59 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "4bLompt6dE8qOmXWEOwRVM", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 60 + }, + { + "__id__": 62 + }, + { + "__id__": 63 + }, + { + "__id__": 64 + }, + { + "__id__": 65 + }, + { + "__id__": 67 + }, + { + "__id__": 69 + }, + { + "__id__": 70 + }, + { + "__id__": 72 + }, + { + "__id__": 74 + }, + { + "__id__": 76 + }, + { + "__id__": 78 + }, + { + "__id__": 80 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 61 + }, + "propertyPath": [ + "_name" + ], + "value": "gold" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "92C1mt0E9Gf7pOThkkqV7E" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 61 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": -265, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 61 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 61 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 66 + }, + "propertyPath": [ + "_contentSize" + ], + "value": { + "__type__": "cc.Size", + "width": 112, + "height": 116 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "19yX2b2QdIgqJxXStonHFu" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 68 + }, + "propertyPath": [ + "_spriteFrame" + ], + "value": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@23e64", + "__expectedType__": "cc.SpriteFrame" + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "d1FjEM4PdF8ZeNGvrp3ye4" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 68 + }, + "propertyPath": [ + "_atlas" + ], + "value": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717", + "__expectedType__": "cc.SpriteAtlas" + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 71 + }, + "propertyPath": [ + "_lscale" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0.4, + "y": 0.4, + "z": 1 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "0bRWgJpSFLg4kE8lF7I97A" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 73 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "5cYRXjJmxFOa0kN+OjizxU" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 75 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "3fn2sWbRtEurAuvswUnMmW" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 77 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "3eTBXYl9RNNas+ImgHoUK5" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 79 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "05DkR6FypMYJIRKxekNhhz" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 81 + }, + "propertyPath": [ + "_active" + ], + "value": true + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "97iZ6SmRlIhJfhQLP8Gi+x" + ] + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 56 + }, + "_prefab": { + "__id__": 83 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 82 + }, + "asset": { + "__uuid__": "c2e2497a-9ce4-4580-9f16-caef7cdaff65", + "__expectedType__": "cc.Prefab" + }, + "fileId": "92C1mt0E9Gf7pOThkkqV7E", + "instance": { + "__id__": 84 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "205L8uSGNCL4nVymw7xzwL", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 85 + }, + { + "__id__": 87 + }, + { + "__id__": 88 + }, + { + "__id__": 89 + }, + { + "__id__": 90 + }, + { + "__id__": 92 + }, + { + "__id__": 94 + }, + { + "__id__": 95 + }, + { + "__id__": 97 + }, + { + "__id__": 99 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 86 + }, + "propertyPath": [ + "_name" + ], + "value": "diamond" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "92C1mt0E9Gf7pOThkkqV7E" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 86 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": -185, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 86 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 86 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 91 + }, + "propertyPath": [ + "_contentSize" + ], + "value": { + "__type__": "cc.Size", + "width": 122, + "height": 106 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "19yX2b2QdIgqJxXStonHFu" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 93 + }, + "propertyPath": [ + "_spriteFrame" + ], + "value": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@d2cb1", + "__expectedType__": "cc.SpriteFrame" + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "d1FjEM4PdF8ZeNGvrp3ye4" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 93 + }, + "propertyPath": [ + "_atlas" + ], + "value": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717", + "__expectedType__": "cc.SpriteAtlas" + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 96 + }, + "propertyPath": [ + "_lscale" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0.4, + "y": 0.4, + "z": 1 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "0bRWgJpSFLg4kE8lF7I97A" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 98 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "5cYRXjJmxFOa0kN+OjizxU" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 100 + }, + "propertyPath": [ + "_active" + ], + "value": true + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "05DkR6FypMYJIRKxekNhhz" + ] + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 56 + }, + "_prefab": { + "__id__": 102 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 101 + }, + "asset": { + "__uuid__": "c2e2497a-9ce4-4580-9f16-caef7cdaff65", + "__expectedType__": "cc.Prefab" + }, + "fileId": "92C1mt0E9Gf7pOThkkqV7E", + "instance": { + "__id__": 103 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "f2YC0ek7ZKL6h90SM2QGU8", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 104 + }, + { + "__id__": 106 + }, + { + "__id__": 107 + }, + { + "__id__": 108 + }, + { + "__id__": 109 + }, + { + "__id__": 111 + }, + { + "__id__": 113 + }, + { + "__id__": 114 + }, + { + "__id__": 116 + }, + { + "__id__": 118 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 105 + }, + "propertyPath": [ + "_name" + ], + "value": "exp" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "92C1mt0E9Gf7pOThkkqV7E" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 105 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": -105, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 105 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 105 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 110 + }, + "propertyPath": [ + "_contentSize" + ], + "value": { + "__type__": "cc.Size", + "width": 120, + "height": 122 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "19yX2b2QdIgqJxXStonHFu" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 112 + }, + "propertyPath": [ + "_spriteFrame" + ], + "value": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717@114f7", + "__expectedType__": "cc.SpriteFrame" + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "d1FjEM4PdF8ZeNGvrp3ye4" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 112 + }, + "propertyPath": [ + "_atlas" + ], + "value": { + "__uuid__": "49c583b3-d566-4c79-9e4c-bd0ca4a4b717", + "__expectedType__": "cc.SpriteAtlas" + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 115 + }, + "propertyPath": [ + "_lscale" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0.4, + "y": 0.4, + "z": 1 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "0bRWgJpSFLg4kE8lF7I97A" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 117 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "5cYRXjJmxFOa0kN+OjizxU" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 119 + }, + "propertyPath": [ + "_active" + ], + "value": true + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "3fn2sWbRtEurAuvswUnMmW" + ] + }, { "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 112 + "__id__": 56 }, "_enabled": true, "__prefab": { - "__id__": 114 + "__id__": 121 }, "_contentSize": { "__type__": "cc.Size", "width": 600, - "height": 0 + "height": 70 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2531,11 +1963,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 112 + "__id__": 56 }, "_enabled": true, "__prefab": { - "__id__": 116 + "__id__": 123 }, "_resizeMode": 1, "_layoutType": 3, @@ -2569,11 +2001,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 112 + "__id__": 56 }, "_enabled": true, "__prefab": { - "__id__": 118 + "__id__": 125 }, "_alignFlags": 18, "_target": null, @@ -2622,7 +2054,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 121 + "__id__": 128 }, "_contentSize": { "__type__": "cc.Size", @@ -2650,7 +2082,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 123 + "__id__": 130 }, "_alignFlags": 42, "_target": null, @@ -2696,14 +2128,14 @@ "__id__": 1 }, "_prefab": { - "__id__": 126 + "__id__": 133 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 125 + "__id__": 132 }, "asset": { "__uuid__": "a93f6738-bd8a-46eb-9637-0fad17a36e14", @@ -2711,7 +2143,7 @@ }, "fileId": "f2QmJ7ErdNnLOxVLvqB4k2", "instance": { - "__id__": 127 + "__id__": 134 }, "targetOverrides": null }, @@ -2724,21 +2156,21 @@ "mountedChildren": [], "mountedComponents": [ { - "__id__": 128 + "__id__": 135 } ], "propertyOverrides": [ { - "__id__": 132 + "__id__": 139 }, { - "__id__": 134 + "__id__": 141 }, { - "__id__": 135 + "__id__": 142 }, { - "__id__": 136 + "__id__": 143 } ], "removedComponents": [] @@ -2746,11 +2178,11 @@ { "__type__": "cc.MountedComponentsInfo", "targetInfo": { - "__id__": 129 + "__id__": 136 }, "components": [ { - "__id__": 130 + "__id__": 137 } ] }, @@ -2766,15 +2198,15 @@ "_objFlags": 0, "__editorExtras__": { "mountedRoot": { - "__id__": 125 + "__id__": 132 } }, "node": { - "__id__": 125 + "__id__": 132 }, "_enabled": true, "__prefab": { - "__id__": 131 + "__id__": 138 }, "_alignFlags": 17, "_target": null, @@ -2803,7 +2235,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 133 + "__id__": 140 }, "propertyPath": [ "_name" @@ -2819,7 +2251,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 133 + "__id__": 140 }, "propertyPath": [ "_lpos" @@ -2834,7 +2266,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 133 + "__id__": 140 }, "propertyPath": [ "_lrot" @@ -2850,7 +2282,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 133 + "__id__": 140 }, "propertyPath": [ "_euler" @@ -2872,41 +2304,41 @@ }, "_children": [ { - "__id__": 138 + "__id__": 145 }, { - "__id__": 150 + "__id__": 157 }, { - "__id__": 162 + "__id__": 169 }, { - "__id__": 170 + "__id__": 177 }, { - "__id__": 178 + "__id__": 185 }, { - "__id__": 186 + "__id__": 193 }, { - "__id__": 192 + "__id__": 199 }, { - "__id__": 198 + "__id__": 205 } ], "_active": true, "_components": [ { - "__id__": 204 + "__id__": 211 }, { - "__id__": 206 + "__id__": 213 } ], "_prefab": { - "__id__": 208 + "__id__": 215 }, "_lpos": { "__type__": "cc.Vec3", @@ -2943,24 +2375,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 137 + "__id__": 144 }, "_children": [ { - "__id__": 139 + "__id__": 146 } ], "_active": true, "_components": [ { - "__id__": 145 + "__id__": 152 }, { - "__id__": 147 + "__id__": 154 } ], "_prefab": { - "__id__": 149 + "__id__": 156 }, "_lpos": { "__type__": "cc.Vec3", @@ -2997,20 +2429,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 138 + "__id__": 145 }, "_children": [], "_active": true, "_components": [ { - "__id__": 140 + "__id__": 147 }, { - "__id__": 142 + "__id__": 149 } ], "_prefab": { - "__id__": 144 + "__id__": 151 }, "_lpos": { "__type__": "cc.Vec3", @@ -3047,11 +2479,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 139 + "__id__": 146 }, "_enabled": true, "__prefab": { - "__id__": 141 + "__id__": 148 }, "_contentSize": { "__type__": "cc.Size", @@ -3075,11 +2507,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 139 + "__id__": 146 }, "_enabled": true, "__prefab": { - "__id__": 143 + "__id__": 150 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3156,11 +2588,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 138 + "__id__": 145 }, "_enabled": true, "__prefab": { - "__id__": 146 + "__id__": 153 }, "_contentSize": { "__type__": "cc.Size", @@ -3184,11 +2616,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 138 + "__id__": 145 }, "_enabled": true, "__prefab": { - "__id__": 148 + "__id__": 155 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3242,24 +2674,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 137 + "__id__": 144 }, "_children": [ { - "__id__": 151 + "__id__": 158 } ], "_active": true, "_components": [ { - "__id__": 157 + "__id__": 164 }, { - "__id__": 159 + "__id__": 166 } ], "_prefab": { - "__id__": 161 + "__id__": 168 }, "_lpos": { "__type__": "cc.Vec3", @@ -3296,20 +2728,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 150 + "__id__": 157 }, "_children": [], "_active": true, "_components": [ { - "__id__": 152 + "__id__": 159 }, { - "__id__": 154 + "__id__": 161 } ], "_prefab": { - "__id__": 156 + "__id__": 163 }, "_lpos": { "__type__": "cc.Vec3", @@ -3346,11 +2778,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 151 + "__id__": 158 }, "_enabled": true, "__prefab": { - "__id__": 153 + "__id__": 160 }, "_contentSize": { "__type__": "cc.Size", @@ -3374,11 +2806,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 151 + "__id__": 158 }, "_enabled": true, "__prefab": { - "__id__": 155 + "__id__": 162 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3455,11 +2887,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 150 + "__id__": 157 }, "_enabled": true, "__prefab": { - "__id__": 158 + "__id__": 165 }, "_contentSize": { "__type__": "cc.Size", @@ -3483,11 +2915,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 150 + "__id__": 157 }, "_enabled": true, "__prefab": { - "__id__": 160 + "__id__": 167 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3541,23 +2973,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 137 + "__id__": 144 }, "_children": [], "_active": true, "_components": [ { - "__id__": 163 + "__id__": 170 }, { - "__id__": 165 + "__id__": 172 }, { - "__id__": 167 + "__id__": 174 } ], "_prefab": { - "__id__": 169 + "__id__": 176 }, "_lpos": { "__type__": "cc.Vec3", @@ -3594,11 +3026,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 169 }, "_enabled": true, "__prefab": { - "__id__": 164 + "__id__": 171 }, "_contentSize": { "__type__": "cc.Size", @@ -3622,11 +3054,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 169 }, "_enabled": true, "__prefab": { - "__id__": 166 + "__id__": 173 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3667,11 +3099,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 162 + "__id__": 169 }, "_enabled": true, "__prefab": { - "__id__": 168 + "__id__": 175 }, "playOnLoad": true, "_clips": [ @@ -3709,23 +3141,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 137 + "__id__": 144 }, "_children": [], "_active": true, "_components": [ { - "__id__": 171 + "__id__": 178 }, { - "__id__": 173 + "__id__": 180 }, { - "__id__": 175 + "__id__": 182 } ], "_prefab": { - "__id__": 177 + "__id__": 184 }, "_lpos": { "__type__": "cc.Vec3", @@ -3762,11 +3194,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 170 + "__id__": 177 }, "_enabled": true, "__prefab": { - "__id__": 172 + "__id__": 179 }, "_contentSize": { "__type__": "cc.Size", @@ -3790,11 +3222,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 170 + "__id__": 177 }, "_enabled": true, "__prefab": { - "__id__": 174 + "__id__": 181 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3835,11 +3267,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 170 + "__id__": 177 }, "_enabled": true, "__prefab": { - "__id__": 176 + "__id__": 183 }, "playOnLoad": true, "_clips": [ @@ -3877,23 +3309,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 137 + "__id__": 144 }, "_children": [], "_active": true, "_components": [ { - "__id__": 179 + "__id__": 186 }, { - "__id__": 181 + "__id__": 188 }, { - "__id__": 183 + "__id__": 190 } ], "_prefab": { - "__id__": 185 + "__id__": 192 }, "_lpos": { "__type__": "cc.Vec3", @@ -3930,11 +3362,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 178 + "__id__": 185 }, "_enabled": true, "__prefab": { - "__id__": 180 + "__id__": 187 }, "_contentSize": { "__type__": "cc.Size", @@ -3958,11 +3390,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 178 + "__id__": 185 }, "_enabled": true, "__prefab": { - "__id__": 182 + "__id__": 189 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4003,11 +3435,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 178 + "__id__": 185 }, "_enabled": true, "__prefab": { - "__id__": 184 + "__id__": 191 }, "playOnLoad": true, "_clips": [ @@ -4045,20 +3477,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 137 + "__id__": 144 }, "_children": [], "_active": true, "_components": [ { - "__id__": 187 + "__id__": 194 }, { - "__id__": 189 + "__id__": 196 } ], "_prefab": { - "__id__": 191 + "__id__": 198 }, "_lpos": { "__type__": "cc.Vec3", @@ -4095,11 +3527,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 186 + "__id__": 193 }, "_enabled": true, "__prefab": { - "__id__": 188 + "__id__": 195 }, "_contentSize": { "__type__": "cc.Size", @@ -4123,11 +3555,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 186 + "__id__": 193 }, "_enabled": true, "__prefab": { - "__id__": 190 + "__id__": 197 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4181,20 +3613,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 137 + "__id__": 144 }, "_children": [], "_active": true, "_components": [ { - "__id__": 193 + "__id__": 200 }, { - "__id__": 195 + "__id__": 202 } ], "_prefab": { - "__id__": 197 + "__id__": 204 }, "_lpos": { "__type__": "cc.Vec3", @@ -4231,11 +3663,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 192 + "__id__": 199 }, "_enabled": true, "__prefab": { - "__id__": 194 + "__id__": 201 }, "_contentSize": { "__type__": "cc.Size", @@ -4259,11 +3691,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 192 + "__id__": 199 }, "_enabled": true, "__prefab": { - "__id__": 196 + "__id__": 203 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4317,20 +3749,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 137 + "__id__": 144 }, "_children": [], "_active": true, "_components": [ { - "__id__": 199 + "__id__": 206 }, { - "__id__": 201 + "__id__": 208 } ], "_prefab": { - "__id__": 203 + "__id__": 210 }, "_lpos": { "__type__": "cc.Vec3", @@ -4367,11 +3799,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 198 + "__id__": 205 }, "_enabled": true, "__prefab": { - "__id__": 200 + "__id__": 207 }, "_contentSize": { "__type__": "cc.Size", @@ -4395,11 +3827,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 198 + "__id__": 205 }, "_enabled": true, "__prefab": { - "__id__": 202 + "__id__": 209 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4453,11 +3885,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 137 + "__id__": 144 }, "_enabled": true, "__prefab": { - "__id__": 205 + "__id__": 212 }, "_contentSize": { "__type__": "cc.Size", @@ -4481,11 +3913,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 137 + "__id__": 144 }, "_enabled": true, "__prefab": { - "__id__": 207 + "__id__": 214 }, "_alignFlags": 1, "_target": null, @@ -4534,29 +3966,29 @@ }, "_children": [ { - "__id__": 210 + "__id__": 217 }, { - "__id__": 225 + "__id__": 232 }, { - "__id__": 246 + "__id__": 253 } ], "_active": true, "_components": [ { - "__id__": 261 + "__id__": 268 }, { - "__id__": 263 + "__id__": 270 }, { - "__id__": 265 + "__id__": 272 } ], "_prefab": { - "__id__": 267 + "__id__": 274 }, "_lpos": { "__type__": "cc.Vec3", @@ -4593,31 +4025,31 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 209 + "__id__": 216 }, "_children": [ { - "__id__": 211 + "__id__": 218 } ], "_active": true, "_components": [ { - "__id__": 217 + "__id__": 224 }, { - "__id__": 219 + "__id__": 226 }, { - "__id__": 221 + "__id__": 228 } ], "_prefab": { - "__id__": 224 + "__id__": 231 }, "_lpos": { "__type__": "cc.Vec3", - "x": -250, + "x": -115, "y": 0, "z": 0 }, @@ -4650,20 +4082,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 210 + "__id__": 217 }, "_children": [], "_active": true, "_components": [ { - "__id__": 212 + "__id__": 219 }, { - "__id__": 214 + "__id__": 221 } ], "_prefab": { - "__id__": 216 + "__id__": 223 }, "_lpos": { "__type__": "cc.Vec3", @@ -4700,11 +4132,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 211 + "__id__": 218 }, "_enabled": true, "__prefab": { - "__id__": 213 + "__id__": 220 }, "_contentSize": { "__type__": "cc.Size", @@ -4728,11 +4160,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 211 + "__id__": 218 }, "_enabled": true, "__prefab": { - "__id__": 215 + "__id__": 222 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4809,11 +4241,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 210 + "__id__": 217 }, "_enabled": true, "__prefab": { - "__id__": 218 + "__id__": 225 }, "_contentSize": { "__type__": "cc.Size", @@ -4837,11 +4269,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 210 + "__id__": 217 }, "_enabled": true, "__prefab": { - "__id__": 220 + "__id__": 227 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4882,15 +4314,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 210 + "__id__": 217 }, "_enabled": true, "__prefab": { - "__id__": 222 + "__id__": 229 }, "clickEvents": [ { - "__id__": 223 + "__id__": 230 } ], "_interactable": true, @@ -4965,30 +4397,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 209 + "__id__": 216 }, "_children": [ { - "__id__": 226 + "__id__": 233 }, { - "__id__": 232 + "__id__": 239 } ], - "_active": true, + "_active": false, "_components": [ { - "__id__": 238 + "__id__": 245 }, { - "__id__": 240 + "__id__": 247 }, { - "__id__": 242 + "__id__": 249 } ], "_prefab": { - "__id__": 245 + "__id__": 252 }, "_lpos": { "__type__": "cc.Vec3", @@ -5025,20 +4457,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 225 + "__id__": 232 }, "_children": [], "_active": true, "_components": [ { - "__id__": 227 + "__id__": 234 }, { - "__id__": 229 + "__id__": 236 } ], "_prefab": { - "__id__": 231 + "__id__": 238 }, "_lpos": { "__type__": "cc.Vec3", @@ -5075,11 +4507,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 226 + "__id__": 233 }, "_enabled": true, "__prefab": { - "__id__": 228 + "__id__": 235 }, "_contentSize": { "__type__": "cc.Size", @@ -5103,11 +4535,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 226 + "__id__": 233 }, "_enabled": true, "__prefab": { - "__id__": 230 + "__id__": 237 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5125,7 +4557,7 @@ }, "_type": 0, "_fillType": 0, - "_sizeMode": 1, + "_sizeMode": 0, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, @@ -5161,20 +4593,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 225 + "__id__": 232 }, "_children": [], "_active": true, "_components": [ { - "__id__": 233 + "__id__": 240 }, { - "__id__": 235 + "__id__": 242 } ], "_prefab": { - "__id__": 237 + "__id__": 244 }, "_lpos": { "__type__": "cc.Vec3", @@ -5211,11 +4643,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 232 + "__id__": 239 }, "_enabled": true, "__prefab": { - "__id__": 234 + "__id__": 241 }, "_contentSize": { "__type__": "cc.Size", @@ -5239,11 +4671,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 232 + "__id__": 239 }, "_enabled": true, "__prefab": { - "__id__": 236 + "__id__": 243 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5320,11 +4752,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 225 + "__id__": 232 }, "_enabled": true, "__prefab": { - "__id__": 239 + "__id__": 246 }, "_contentSize": { "__type__": "cc.Size", @@ -5348,11 +4780,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 225 + "__id__": 232 }, "_enabled": true, "__prefab": { - "__id__": 241 + "__id__": 248 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5396,15 +4828,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 225 + "__id__": 232 }, "_enabled": true, "__prefab": { - "__id__": 243 + "__id__": 250 }, "clickEvents": [ { - "__id__": 244 + "__id__": 251 } ], "_interactable": true, @@ -5479,31 +4911,31 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 209 + "__id__": 216 }, "_children": [ { - "__id__": 247 + "__id__": 254 } ], "_active": true, "_components": [ { - "__id__": 253 + "__id__": 260 }, { - "__id__": 255 + "__id__": 262 }, { - "__id__": 257 + "__id__": 264 } ], "_prefab": { - "__id__": 260 + "__id__": 267 }, "_lpos": { "__type__": "cc.Vec3", - "x": 250, + "x": 115, "y": 0, "z": 0 }, @@ -5536,20 +4968,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 246 + "__id__": 253 }, "_children": [], "_active": true, "_components": [ { - "__id__": 248 + "__id__": 255 }, { - "__id__": 250 + "__id__": 257 } ], "_prefab": { - "__id__": 252 + "__id__": 259 }, "_lpos": { "__type__": "cc.Vec3", @@ -5586,11 +5018,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 247 + "__id__": 254 }, "_enabled": true, "__prefab": { - "__id__": 249 + "__id__": 256 }, "_contentSize": { "__type__": "cc.Size", @@ -5614,11 +5046,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 247 + "__id__": 254 }, "_enabled": true, "__prefab": { - "__id__": 251 + "__id__": 258 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5695,11 +5127,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 246 + "__id__": 253 }, "_enabled": true, "__prefab": { - "__id__": 254 + "__id__": 261 }, "_contentSize": { "__type__": "cc.Size", @@ -5723,11 +5155,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 246 + "__id__": 253 }, "_enabled": true, "__prefab": { - "__id__": 256 + "__id__": 263 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5768,15 +5200,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 246 + "__id__": 253 }, "_enabled": true, "__prefab": { - "__id__": 258 + "__id__": 265 }, "clickEvents": [ { - "__id__": 259 + "__id__": 266 } ], "_interactable": true, @@ -5851,15 +5283,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 209 + "__id__": 216 }, "_enabled": true, "__prefab": { - "__id__": 262 + "__id__": 269 }, "_contentSize": { "__type__": "cc.Size", - "width": 760, + "width": 490, "height": 100 }, "_anchorPoint": { @@ -5879,11 +5311,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 209 + "__id__": 216 }, "_enabled": true, "__prefab": { - "__id__": 264 + "__id__": 271 }, "_resizeMode": 1, "_layoutType": 1, @@ -5917,11 +5349,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 209 + "__id__": 216 }, "_enabled": true, "__prefab": { - "__id__": 266 + "__id__": 273 }, "_alignFlags": 4, "_target": null, @@ -5970,7 +5402,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 269 + "__id__": 276 }, "_contentSize": { "__type__": "cc.Size", @@ -5998,7 +5430,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 271 + "__id__": 278 }, "_id": "" }, @@ -6016,7 +5448,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 273 + "__id__": 280 }, "_alignFlags": 45, "_target": null, @@ -6052,7 +5484,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 275 + "__id__": 282 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6094,7 +5526,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 277 + "__id__": 284 }, "_id": "" }, @@ -6115,7 +5547,16 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": [ { - "__id__": 125 + "__id__": 132 + }, + { + "__id__": 101 + }, + { + "__id__": 82 + }, + { + "__id__": 57 }, { "__id__": 11 diff --git a/assets/script/game/common/config/Guide.ts b/assets/script/game/common/config/Guide.ts index f3714a0d..bd0f7863 100644 --- a/assets/script/game/common/config/Guide.ts +++ b/assets/script/game/common/config/Guide.ts @@ -67,7 +67,7 @@ export const GuideConfig: { [key: number]: IGuideStep } = { 0: { id: "welcome", type: GuideStepType.WAIT,key:0, targetPath: "root/gui/LayerUI/role_controller/mission_home/start/name", - tipText: "伟大的勇者,欢迎来到 『像素大陆』", + tipText: "伟大的勇者,欢迎来到 『像素模拟战』", handOffset: { x: 42, y: -45 }, nextStep: "start_battle", waitTime: 5, end_event: "click", noInput: true, }, diff --git a/assets/script/game/map/VictoryComp.ts b/assets/script/game/map/VictoryComp.ts index ed0c9f1c..c4c6724f 100644 --- a/assets/script/game/map/VictoryComp.ts +++ b/assets/script/game/map/VictoryComp.ts @@ -6,6 +6,7 @@ import { smc } from "../common/SingletonModuleComp"; import { GameEvent } from "../common/config/GameEvent"; import { ItemComp } from "./ItemComp"; import { startGuide } from "../common/config/Guide"; +import { it } from "node:test"; const { ccclass, property } = _decorator; @@ -36,9 +37,9 @@ export class VictoryComp extends CCComp { this.add_reward(args.rewards) this.rewards=args.rewards } - this.node.getChildByName("box").getChildByName("exp").getChildByName("num").getComponent(Label)!.string="x"+this.game_data["exp"].toString() - this.node.getChildByName("box").getChildByName("gold").getChildByName("num").getComponent(Label)!.string="x"+this.game_data["gold"].toString() - this.node.getChildByName("box").getChildByName("diamond").getChildByName("num").getComponent(Label)!.string="x"+this.game_data["diamond"].toString() + this.node.getChildByName("box").getChildByName("items").getChildByName("exp").getChildByName("num").getComponent(Label)!.string="x"+this.game_data["exp"].toString() + this.node.getChildByName("box").getChildByName("items").getChildByName("gold").getChildByName("num").getComponent(Label)!.string="x"+this.game_data["gold"].toString() + this.node.getChildByName("box").getChildByName("items").getChildByName("diamond").getChildByName("num").getComponent(Label)!.string="x"+this.game_data["diamond"].toString() this.node.getChildByName("title").getChildByName("victory").active=args.victory this.node.getChildByName("title").getChildByName("defeat").active=!args.victory this.node.getChildByName("btns").getChildByName("next").active=false @@ -76,7 +77,14 @@ export class VictoryComp extends CCComp { diamond:0 } this.rewards=[] - this.node.getChildByName("box").getChildByName("items").removeAllChildren() + let items=this.node.getChildByName("box").getChildByName("items") + items.children.forEach(element => { + if(element.name=="exp"||element.name=="gold"||element.name=="diamond"){ + element.getChildByName("num").getComponent(Label)!.string="0" + }else{ + element.destroy() + } + }); } //看广告双倍 watch_ad(){