From 0006a75db93149a16b48d5ec0298fbca441f1bc0 Mon Sep 17 00:00:00 2001 From: pan Date: Wed, 14 Aug 2024 17:47:33 +0800 Subject: [PATCH] dd --- assets/resources/game/heros/hero_card.prefab | 20 +- assets/resources/gui/gui.plist.meta | 18 +- .../gui/prefab/role_controller.prefab | 3339 +++++++++-------- assets/script/game/map/CardController.ts | 2 +- .../script/game/monster/HeroCardViewComp.ts | 11 +- 5 files changed, 1835 insertions(+), 1555 deletions(-) diff --git a/assets/resources/game/heros/hero_card.prefab b/assets/resources/game/heros/hero_card.prefab index 83e94667..4dcbbe54 100644 --- a/assets/resources/game/heros/hero_card.prefab +++ b/assets/resources/game/heros/hero_card.prefab @@ -78,7 +78,7 @@ "__id__": 1 }, "_children": [], - "_active": false, + "_active": true, "_components": [ { "__id__": 3 @@ -133,8 +133,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 110, - "height": 110 + "width": 93, + "height": 93 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -170,7 +170,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "27c92e56-a5f9-4a91-a837-468ff584d119@f9941", + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@c7034", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, @@ -228,8 +228,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 55, - "y": 55, + "x": 47.5, + "y": 47.5, "z": 0 }, "_lrot": { @@ -241,8 +241,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 0.7, + "y": 0.7, "z": 1 }, "_mobility": 0, @@ -491,8 +491,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 100, - "height": 100 + "width": 95, + "height": 95 }, "_anchorPoint": { "__type__": "cc.Vec2", diff --git a/assets/resources/gui/gui.plist.meta b/assets/resources/gui/gui.plist.meta index b5034344..a3bf0afb 100644 --- a/assets/resources/gui/gui.plist.meta +++ b/assets/resources/gui/gui.plist.meta @@ -2557,8 +2557,8 @@ "rawHeight": 16, "borderTop": 0, "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, + "borderLeft": 4, + "borderRight": 5, "packable": true, "pixelsToUnit": 100, "pivotX": 0.5, @@ -2647,10 +2647,10 @@ "height": 308, "rawWidth": 231, "rawHeight": 308, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, + "borderTop": 14, + "borderBottom": 14, + "borderLeft": 15, + "borderRight": 13, "packable": true, "pixelsToUnit": 100, "pivotX": 0.5, @@ -3017,7 +3017,7 @@ "rawHeight": 38, "borderTop": 0, "borderBottom": 0, - "borderLeft": 0, + "borderLeft": 41, "borderRight": 0, "packable": true, "pixelsToUnit": 100, @@ -3201,8 +3201,8 @@ "rawHeight": 8, "borderTop": 0, "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, + "borderLeft": 5, + "borderRight": 5, "packable": true, "pixelsToUnit": 100, "pivotX": 0.5, diff --git a/assets/resources/gui/prefab/role_controller.prefab b/assets/resources/gui/prefab/role_controller.prefab index 6ae2f3b3..aa42f89c 100644 --- a/assets/resources/gui/prefab/role_controller.prefab +++ b/assets/resources/gui/prefab/role_controller.prefab @@ -22,50 +22,47 @@ "__id__": 2 }, { - "__id__": 48 + "__id__": 16 }, { - "__id__": 112 + "__id__": 62 }, { - "__id__": 158 + "__id__": 126 }, { - "__id__": 170 + "__id__": 172 }, { - "__id__": 178 + "__id__": 186 }, { - "__id__": 192 + "__id__": 206 }, { - "__id__": 224 + "__id__": 254 }, { - "__id__": 242 + "__id__": 296 }, { - "__id__": 284 - }, - { - "__id__": 312 + "__id__": 324 } ], "_active": true, "_components": [ { - "__id__": 336 + "__id__": 348 }, { - "__id__": 338 + "__id__": 350 }, { - "__id__": 340 + "__id__": 352 } ], "_prefab": { - "__id__": 342 + "__id__": 354 }, "_lpos": { "__type__": "cc.Vec3", @@ -98,7 +95,7 @@ }, { "__type__": "cc.Node", - "_name": "life", + "_name": "info", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -107,28 +104,334 @@ "_children": [ { "__id__": 3 - }, - { - "__id__": 15 - }, - { - "__id__": 25 - }, - { - "__id__": 33 } ], "_active": true, "_components": [ { - "__id__": 43 + "__id__": 11 }, { - "__id__": 45 + "__id__": 13 } ], "_prefab": { - "__id__": 47 + "__id__": 15 + }, + "_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.Node", + "_name": "infobox", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 4 + }, + { + "__id__": 6 + }, + { + "__id__": 8 + } + ], + "_prefab": { + "__id__": 10 + }, + "_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__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 5 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 570 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c6wVrx7YhJ/5DuRt52a80C" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 7 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@58cb7", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0.2, + "_fillRange": 0.8, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c5UnppXHFFo7I9Nnl2pc3k" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_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": 1190, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b62uFz/zRKOrrazBX4sWki" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7aqa+AsfJHSZxmeS5qo8WG", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 12 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 450 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8fJ+HVzEFKqYoIUKAnqS/B" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 14 + }, + "_alignFlags": 44, + "_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": 100, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "94BQdNziNG1bdXajFqQ/Ot" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b6q93+ZThEOpnIJa1+q3Yv", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "life", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 17 + }, + { + "__id__": 29 + }, + { + "__id__": 39 + }, + { + "__id__": 47 + } + ], + "_active": true, + "_components": [ + { + "__id__": 57 + }, + { + "__id__": 59 + } + ], + "_prefab": { + "__id__": 61 }, "_lpos": { "__type__": "cc.Vec3", @@ -165,24 +468,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2 + "__id__": 16 }, "_children": [ { - "__id__": 4 + "__id__": 18 } ], "_active": true, "_components": [ { - "__id__": 10 + "__id__": 24 }, { - "__id__": 12 + "__id__": 26 } ], "_prefab": { - "__id__": 14 + "__id__": 28 }, "_lpos": { "__type__": "cc.Vec3", @@ -197,56 +500,6 @@ "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.Node", - "_name": "life2", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 3 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 5 - }, - { - "__id__": 7 - } - ], - "_prefab": { - "__id__": 9 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 65.674, - "y": 56.004, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, "_lscale": { "__type__": "cc.Vec3", "x": 1, @@ -263,17 +516,67 @@ }, "_id": "" }, + { + "__type__": "cc.Node", + "_name": "life2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 17 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 19 + }, + { + "__id__": 21 + } + ], + "_prefab": { + "__id__": 23 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 25, + "y": 32.5, + "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__": 4 + "__id__": 18 }, "_enabled": true, "__prefab": { - "__id__": 6 + "__id__": 20 }, "_contentSize": { "__type__": "cc.Size", @@ -297,11 +600,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 4 + "__id__": 18 }, "_enabled": true, "__prefab": { - "__id__": 8 + "__id__": 22 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -355,16 +658,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 3 + "__id__": 17 }, "_enabled": true, "__prefab": { - "__id__": 11 + "__id__": 25 }, "_contentSize": { "__type__": "cc.Size", - "width": 450, - "height": 130 + "width": 230, + "height": 65 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -383,11 +686,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 3 + "__id__": 17 }, "_enabled": true, "__prefab": { - "__id__": 13 + "__id__": 27 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -400,7 +703,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "d30607b0-f1aa-4080-ad66-37408fe2f933@f9941", + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@b874d", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, @@ -441,31 +744,31 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2 + "__id__": 16 }, "_children": [], "_active": true, "_components": [ { - "__id__": 16 + "__id__": 30 }, { - "__id__": 18 + "__id__": 32 }, { - "__id__": 20 + "__id__": 34 }, { - "__id__": 22 + "__id__": 36 } ], "_prefab": { - "__id__": 24 + "__id__": 38 }, "_lpos": { "__type__": "cc.Vec3", - "x": 94.6, - "y": 31.296, + "x": 95, + "y": 32.5, "z": 0 }, "_lrot": { @@ -497,11 +800,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 15 + "__id__": 29 }, "_enabled": true, "__prefab": { - "__id__": 17 + "__id__": 31 }, "_contentSize": { "__type__": "cc.Size", @@ -525,11 +828,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 15 + "__id__": 29 }, "_enabled": true, "__prefab": { - "__id__": 19 + "__id__": 33 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -593,11 +896,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 15 + "__id__": 29 }, "_enabled": true, "__prefab": { - "__id__": 21 + "__id__": 35 }, "_id": "" }, @@ -611,11 +914,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 15 + "__id__": 29 }, "_enabled": true, "__prefab": { - "__id__": 23 + "__id__": 37 }, "templateMode": false, "watchPath": "data.hp.min", @@ -648,28 +951,28 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2 + "__id__": 16 }, "_children": [], "_active": true, "_components": [ { - "__id__": 26 + "__id__": 40 }, { - "__id__": 28 + "__id__": 42 }, { - "__id__": 30 + "__id__": 44 } ], "_prefab": { - "__id__": 32 + "__id__": 46 }, "_lpos": { "__type__": "cc.Vec3", - "x": 131.248, - "y": 31.296, + "x": 140, + "y": 32.5, "z": 0 }, "_lrot": { @@ -701,11 +1004,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 25 + "__id__": 39 }, "_enabled": true, "__prefab": { - "__id__": 27 + "__id__": 41 }, "_contentSize": { "__type__": "cc.Size", @@ -729,11 +1032,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 25 + "__id__": 39 }, "_enabled": true, "__prefab": { - "__id__": 29 + "__id__": 43 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -797,11 +1100,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 25 + "__id__": 39 }, "_enabled": true, "__prefab": { - "__id__": 31 + "__id__": 45 }, "_id": "" }, @@ -828,31 +1131,31 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 2 + "__id__": 16 }, "_children": [], "_active": true, "_components": [ { - "__id__": 34 + "__id__": 48 }, { - "__id__": 36 + "__id__": 50 }, { - "__id__": 38 + "__id__": 52 }, { - "__id__": 40 + "__id__": 54 } ], "_prefab": { - "__id__": 42 + "__id__": 56 }, "_lpos": { "__type__": "cc.Vec3", - "x": 165.274, - "y": 31.296, + "x": 172, + "y": 32.5, "z": 0 }, "_lrot": { @@ -884,11 +1187,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 33 + "__id__": 47 }, "_enabled": true, "__prefab": { - "__id__": 35 + "__id__": 49 }, "_contentSize": { "__type__": "cc.Size", @@ -912,11 +1215,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 33 + "__id__": 47 }, "_enabled": true, "__prefab": { - "__id__": 37 + "__id__": 51 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -980,11 +1283,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 33 + "__id__": 47 }, "_enabled": true, "__prefab": { - "__id__": 39 + "__id__": 53 }, "_id": "" }, @@ -998,11 +1301,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 33 + "__id__": 47 }, "_enabled": true, "__prefab": { - "__id__": 41 + "__id__": 55 }, "templateMode": false, "watchPath": "data.hp.max", @@ -1035,11 +1338,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2 + "__id__": 16 }, "_enabled": true, "__prefab": { - "__id__": 44 + "__id__": 58 }, "_contentSize": { "__type__": "cc.Size", @@ -1063,11 +1366,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 2 + "__id__": 16 }, "_enabled": true, "__prefab": { - "__id__": 46 + "__id__": 60 }, "_alignFlags": 12, "_target": null, @@ -1116,39 +1419,36 @@ }, "_children": [ { - "__id__": 49 + "__id__": 63 }, { - "__id__": 55 + "__id__": 75 }, { - "__id__": 61 + "__id__": 93 }, { - "__id__": 79 + "__id__": 103 }, { - "__id__": 89 - }, - { - "__id__": 97 + "__id__": 111 } ], "_active": true, "_components": [ { - "__id__": 107 + "__id__": 121 }, { - "__id__": 109 + "__id__": 123 } ], "_prefab": { - "__id__": 111 + "__id__": 125 }, "_lpos": { "__type__": "cc.Vec3", - "x": 240, + "x": 245, "y": 490, "z": 0 }, @@ -1181,20 +1481,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 48 + "__id__": 62 }, - "_children": [], + "_children": [ + { + "__id__": 64 + } + ], "_active": true, "_components": [ { - "__id__": 50 + "__id__": 70 }, { - "__id__": 52 + "__id__": 72 } ], "_prefab": { - "__id__": 54 + "__id__": 74 }, "_lpos": { "__type__": "cc.Vec3", @@ -1211,8 +1515,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.5, - "y": 0.5, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -1225,117 +1529,31 @@ }, "_id": "" }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 49 - }, - "_enabled": true, - "__prefab": { - "__id__": 51 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 450, - "height": 130 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "976SSsERlNJbY9ocJJhDAY" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 49 - }, - "_enabled": true, - "__prefab": { - "__id__": 53 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "d30607b0-f1aa-4080-ad66-37408fe2f933@f9941", - "__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": "7fQ8Mt1hVOY6vW6dXzXWap" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "d3HV2rGqVDOpo7Ez9fHylh", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.Node", "_name": "gold1", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 48 + "__id__": 63 }, "_children": [], "_active": true, "_components": [ { - "__id__": 56 + "__id__": 65 }, { - "__id__": 58 + "__id__": 67 } ], "_prefab": { - "__id__": 60 + "__id__": 69 }, "_lpos": { "__type__": "cc.Vec3", - "x": 15, - "y": 15, + "x": 25, + "y": 32.5, "z": 0 }, "_lrot": { @@ -1367,11 +1585,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 55 + "__id__": 64 }, "_enabled": true, "__prefab": { - "__id__": 57 + "__id__": 66 }, "_contentSize": { "__type__": "cc.Size", @@ -1380,8 +1598,8 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "x": 0.5, + "y": 0.5 }, "_id": "" }, @@ -1395,11 +1613,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 55 + "__id__": 64 }, "_enabled": true, "__prefab": { - "__id__": 59 + "__id__": 68 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1447,39 +1665,125 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 63 + }, + "_enabled": true, + "__prefab": { + "__id__": 71 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 230, + "height": 65 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "976SSsERlNJbY9ocJJhDAY" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 63 + }, + "_enabled": true, + "__prefab": { + "__id__": 73 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@b874d", + "__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": "7fQ8Mt1hVOY6vW6dXzXWap" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d3HV2rGqVDOpo7Ez9fHylh", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.Node", "_name": "pro_progress", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 48 + "__id__": 62 }, "_children": [ { - "__id__": 62 + "__id__": 76 } ], "_active": true, "_components": [ { - "__id__": 68 + "__id__": 82 }, { - "__id__": 70 + "__id__": 84 }, { - "__id__": 72 + "__id__": 86 }, { - "__id__": 74 + "__id__": 88 }, { - "__id__": 76 + "__id__": 90 } ], "_prefab": { - "__id__": 78 + "__id__": 92 }, "_lpos": { "__type__": "cc.Vec3", @@ -1516,20 +1820,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 61 + "__id__": 75 }, "_children": [], "_active": true, "_components": [ { - "__id__": 63 + "__id__": 77 }, { - "__id__": 65 + "__id__": 79 } ], "_prefab": { - "__id__": 67 + "__id__": 81 }, "_lpos": { "__type__": "cc.Vec3", @@ -1566,11 +1870,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 62 + "__id__": 76 }, "_enabled": true, "__prefab": { - "__id__": 64 + "__id__": 78 }, "_contentSize": { "__type__": "cc.Size", @@ -1594,11 +1898,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 62 + "__id__": 76 }, "_enabled": true, "__prefab": { - "__id__": 66 + "__id__": 80 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1611,7 +1915,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "ae2de04e-e5d2-462e-890d-1d1341c4f70a@f9941", + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@57d74", "__expectedType__": "cc.SpriteFrame" }, "_type": 3, @@ -1652,11 +1956,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 61 + "__id__": 75 }, "_enabled": true, "__prefab": { - "__id__": 69 + "__id__": 83 }, "_contentSize": { "__type__": "cc.Size", @@ -1680,11 +1984,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 61 + "__id__": 75 }, "_enabled": true, "__prefab": { - "__id__": 71 + "__id__": 85 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1722,14 +2026,14 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 61 + "__id__": 75 }, "_enabled": true, "__prefab": { - "__id__": 73 + "__id__": 87 }, "_barSprite": { - "__id__": 65 + "__id__": 79 }, "_mode": 2, "_totalLength": 1, @@ -1747,11 +2051,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 61 + "__id__": 75 }, "_enabled": true, "__prefab": { - "__id__": 75 + "__id__": 89 }, "controller": false, "watchPath": "", @@ -1775,11 +2079,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 61 + "__id__": 75 }, "_enabled": true, "__prefab": { - "__id__": 77 + "__id__": 91 }, "_alignFlags": 4, "_target": null, @@ -1824,31 +2128,31 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 48 + "__id__": 62 }, "_children": [], "_active": true, "_components": [ { - "__id__": 80 + "__id__": 94 }, { - "__id__": 82 + "__id__": 96 }, { - "__id__": 84 + "__id__": 98 }, { - "__id__": 86 + "__id__": 100 } ], "_prefab": { - "__id__": 88 + "__id__": 102 }, "_lpos": { "__type__": "cc.Vec3", - "x": 78.275, - "y": 15, + "x": 95, + "y": 32.5, "z": 0 }, "_lrot": { @@ -1880,11 +2184,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 79 + "__id__": 93 }, "_enabled": true, "__prefab": { - "__id__": 81 + "__id__": 95 }, "_contentSize": { "__type__": "cc.Size", @@ -1893,8 +2197,8 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "x": 0.5, + "y": 0.5 }, "_id": "" }, @@ -1908,11 +2212,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 79 + "__id__": 93 }, "_enabled": true, "__prefab": { - "__id__": 83 + "__id__": 97 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1976,11 +2280,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 79 + "__id__": 93 }, "_enabled": true, "__prefab": { - "__id__": 85 + "__id__": 99 }, "_id": "" }, @@ -1994,11 +2298,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 79 + "__id__": 93 }, "_enabled": true, "__prefab": { - "__id__": 87 + "__id__": 101 }, "templateMode": false, "watchPath": "data.gold.min", @@ -2031,28 +2335,28 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 48 + "__id__": 62 }, "_children": [], "_active": true, "_components": [ { - "__id__": 90 + "__id__": 104 }, { - "__id__": 92 + "__id__": 106 }, { - "__id__": 94 + "__id__": 108 } ], "_prefab": { - "__id__": 96 + "__id__": 110 }, "_lpos": { "__type__": "cc.Vec3", - "x": 146.676, - "y": 15, + "x": 140, + "y": 32.5, "z": 0 }, "_lrot": { @@ -2084,11 +2388,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 89 + "__id__": 103 }, "_enabled": true, "__prefab": { - "__id__": 91 + "__id__": 105 }, "_contentSize": { "__type__": "cc.Size", @@ -2097,8 +2401,8 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "x": 0.5, + "y": 0.5 }, "_id": "" }, @@ -2112,11 +2416,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 89 + "__id__": 103 }, "_enabled": true, "__prefab": { - "__id__": 93 + "__id__": 107 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2180,11 +2484,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 89 + "__id__": 103 }, "_enabled": true, "__prefab": { - "__id__": 95 + "__id__": 109 }, "_id": "" }, @@ -2211,31 +2515,31 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 48 + "__id__": 62 }, "_children": [], "_active": true, "_components": [ { - "__id__": 98 + "__id__": 112 }, { - "__id__": 100 + "__id__": 114 }, { - "__id__": 102 + "__id__": 116 }, { - "__id__": 104 + "__id__": 118 } ], "_prefab": { - "__id__": 106 + "__id__": 120 }, "_lpos": { "__type__": "cc.Vec3", - "x": 163.145, - "y": 15, + "x": 175, + "y": 32.5, "z": 0 }, "_lrot": { @@ -2267,11 +2571,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 97 + "__id__": 111 }, "_enabled": true, "__prefab": { - "__id__": 99 + "__id__": 113 }, "_contentSize": { "__type__": "cc.Size", @@ -2280,8 +2584,8 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0, - "y": 0 + "x": 0.5, + "y": 0.5 }, "_id": "" }, @@ -2295,11 +2599,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 97 + "__id__": 111 }, "_enabled": true, "__prefab": { - "__id__": 101 + "__id__": 115 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2363,11 +2667,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 97 + "__id__": 111 }, "_enabled": true, "__prefab": { - "__id__": 103 + "__id__": 117 }, "_id": "" }, @@ -2381,11 +2685,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 97 + "__id__": 111 }, "_enabled": true, "__prefab": { - "__id__": 105 + "__id__": 119 }, "templateMode": false, "watchPath": "data.gold.max", @@ -2418,11 +2722,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 48 + "__id__": 62 }, "_enabled": true, "__prefab": { - "__id__": 108 + "__id__": 122 }, "_contentSize": { "__type__": "cc.Size", @@ -2446,15 +2750,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 48 + "__id__": 62 }, "_enabled": true, "__prefab": { - "__id__": 110 + "__id__": 124 }, "_alignFlags": 12, "_target": null, - "_left": 240, + "_left": 245, "_right": 0, "_top": 779.934, "_bottom": 490, @@ -2499,33 +2803,33 @@ }, "_children": [ { - "__id__": 113 + "__id__": 127 }, { - "__id__": 125 + "__id__": 139 }, { - "__id__": 135 + "__id__": 149 }, { - "__id__": 143 + "__id__": 157 } ], "_active": true, "_components": [ { - "__id__": 153 + "__id__": 167 }, { - "__id__": 155 + "__id__": 169 } ], "_prefab": { - "__id__": 157 + "__id__": 171 }, "_lpos": { "__type__": "cc.Vec3", - "x": 475, + "x": 485, "y": 490, "z": 0 }, @@ -2558,24 +2862,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 112 + "__id__": 126 }, "_children": [ { - "__id__": 114 + "__id__": 128 } ], "_active": true, "_components": [ { - "__id__": 120 + "__id__": 134 }, { - "__id__": 122 + "__id__": 136 } ], "_prefab": { - "__id__": 124 + "__id__": 138 }, "_lpos": { "__type__": "cc.Vec3", @@ -2592,8 +2896,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.5, - "y": 0.5, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -2612,25 +2916,25 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 113 + "__id__": 127 }, "_children": [], "_active": true, "_components": [ { - "__id__": 115 + "__id__": 129 }, { - "__id__": 117 + "__id__": 131 } ], "_prefab": { - "__id__": 119 + "__id__": 133 }, "_lpos": { "__type__": "cc.Vec3", - "x": 74.568, - "y": 61.222, + "x": 25, + "y": 32.5, "z": 0 }, "_lrot": { @@ -2642,8 +2946,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1.1, - "y": 1.1, + "x": 0.6, + "y": 0.6, "z": 1 }, "_mobility": 0, @@ -2662,11 +2966,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 114 + "__id__": 128 }, "_enabled": true, "__prefab": { - "__id__": 116 + "__id__": 130 }, "_contentSize": { "__type__": "cc.Size", @@ -2690,11 +2994,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 114 + "__id__": 128 }, "_enabled": true, "__prefab": { - "__id__": 118 + "__id__": 132 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2712,7 +3016,7 @@ }, "_type": 0, "_fillType": 0, - "_sizeMode": 1, + "_sizeMode": 0, "_fillCenter": { "__type__": "cc.Vec2", "x": 0, @@ -2748,16 +3052,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 113 + "__id__": 127 }, "_enabled": true, "__prefab": { - "__id__": 121 + "__id__": 135 }, "_contentSize": { "__type__": "cc.Size", - "width": 470, - "height": 130 + "width": 230, + "height": 62.5 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2776,11 +3080,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 113 + "__id__": 127 }, "_enabled": true, "__prefab": { - "__id__": 123 + "__id__": 137 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2793,7 +3097,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "d30607b0-f1aa-4080-ad66-37408fe2f933@f9941", + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@b874d", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, @@ -2834,31 +3138,31 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 112 + "__id__": 126 }, "_children": [], "_active": true, "_components": [ { - "__id__": 126 + "__id__": 140 }, { - "__id__": 128 + "__id__": 142 }, { - "__id__": 130 + "__id__": 144 }, { - "__id__": 132 + "__id__": 146 } ], "_prefab": { - "__id__": 134 + "__id__": 148 }, "_lpos": { "__type__": "cc.Vec3", - "x": 96.579, - "y": 28.002, + "x": 95, + "y": 32.5, "z": 0 }, "_lrot": { @@ -2890,11 +3194,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 125 + "__id__": 139 }, "_enabled": true, "__prefab": { - "__id__": 127 + "__id__": 141 }, "_contentSize": { "__type__": "cc.Size", @@ -2918,11 +3222,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 125 + "__id__": 139 }, "_enabled": true, "__prefab": { - "__id__": 129 + "__id__": 143 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2986,11 +3290,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 125 + "__id__": 139 }, "_enabled": true, "__prefab": { - "__id__": 131 + "__id__": 145 }, "_id": "" }, @@ -3004,11 +3308,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 125 + "__id__": 139 }, "_enabled": true, "__prefab": { - "__id__": 133 + "__id__": 147 }, "templateMode": false, "watchPath": "data.power.min", @@ -3041,23 +3345,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 112 + "__id__": 126 }, "_children": [], "_active": false, "_components": [ { - "__id__": 136 + "__id__": 150 }, { - "__id__": 138 + "__id__": 152 }, { - "__id__": 140 + "__id__": 154 } ], "_prefab": { - "__id__": 142 + "__id__": 156 }, "_lpos": { "__type__": "cc.Vec3", @@ -3094,11 +3398,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 135 + "__id__": 149 }, "_enabled": true, "__prefab": { - "__id__": 137 + "__id__": 151 }, "_contentSize": { "__type__": "cc.Size", @@ -3122,11 +3426,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 135 + "__id__": 149 }, "_enabled": true, "__prefab": { - "__id__": 139 + "__id__": 153 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3190,11 +3494,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 135 + "__id__": 149 }, "_enabled": true, "__prefab": { - "__id__": 141 + "__id__": 155 }, "_id": "" }, @@ -3221,26 +3525,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 112 + "__id__": 126 }, "_children": [], "_active": false, "_components": [ { - "__id__": 144 + "__id__": 158 }, { - "__id__": 146 + "__id__": 160 }, { - "__id__": 148 + "__id__": 162 }, { - "__id__": 150 + "__id__": 164 } ], "_prefab": { - "__id__": 152 + "__id__": 166 }, "_lpos": { "__type__": "cc.Vec3", @@ -3277,11 +3581,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 143 + "__id__": 157 }, "_enabled": true, "__prefab": { - "__id__": 145 + "__id__": 159 }, "_contentSize": { "__type__": "cc.Size", @@ -3305,11 +3609,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 143 + "__id__": 157 }, "_enabled": true, "__prefab": { - "__id__": 147 + "__id__": 161 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3373,11 +3677,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 143 + "__id__": 157 }, "_enabled": true, "__prefab": { - "__id__": 149 + "__id__": 163 }, "_id": "" }, @@ -3391,11 +3695,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 143 + "__id__": 157 }, "_enabled": true, "__prefab": { - "__id__": 151 + "__id__": 165 }, "templateMode": false, "watchPath": "data.power.max", @@ -3428,11 +3732,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 112 + "__id__": 126 }, "_enabled": true, "__prefab": { - "__id__": 154 + "__id__": 168 }, "_contentSize": { "__type__": "cc.Size", @@ -3456,15 +3760,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 112 + "__id__": 126 }, "_enabled": true, "__prefab": { - "__id__": 156 + "__id__": 170 }, "_alignFlags": 12, "_target": null, - "_left": 475, + "_left": 485, "_right": 68.59100000000001, "_top": 0, "_bottom": 490, @@ -3499,448 +3803,6 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.Node", - "_name": "info", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 159 - } - ], - "_active": true, - "_components": [ - { - "__id__": 165 - }, - { - "__id__": 167 - } - ], - "_prefab": { - "__id__": 169 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 5, - "y": 260, - "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": "infobox", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 158 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 160 - }, - { - "__id__": 162 - } - ], - "_prefab": { - "__id__": 164 - }, - "_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__": 159 - }, - "_enabled": true, - "__prefab": { - "__id__": 161 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 1180, - "height": 680 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "c6wVrx7YhJ/5DuRt52a80C" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 159 - }, - "_enabled": true, - "__prefab": { - "__id__": 163 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "27c92e56-a5f9-4a91-a837-468ff584d119@f9941", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 1, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0.2, - "_fillRange": 0.8, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "c5UnppXHFFo7I9Nnl2pc3k" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "7aqa+AsfJHSZxmeS5qo8WG", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 158 - }, - "_enabled": true, - "__prefab": { - "__id__": 166 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "8fJ+HVzEFKqYoIUKAnqS/B" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 158 - }, - "_enabled": true, - "__prefab": { - "__id__": 168 - }, - "_alignFlags": 12, - "_target": null, - "_left": 5, - "_right": 0, - "_top": 0, - "_bottom": 260, - "_horizontalCenter": 0, - "_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": "94BQdNziNG1bdXajFqQ/Ot" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "b6q93+ZThEOpnIJa1+q3Yv", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "shop", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 171 - }, - { - "__id__": 173 - }, - { - "__id__": 175 - } - ], - "_prefab": { - "__id__": 177 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 605, - "y": 370, - "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__": 170 - }, - "_enabled": true, - "__prefab": { - "__id__": 172 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 110, - "height": 110 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e5D+nCxytFVqqeO1wsgL4y" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 170 - }, - "_enabled": true, - "__prefab": { - "__id__": 174 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "27c92e56-a5f9-4a91-a837-468ff584d119@f9941", - "__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": "adOs6NvgFIo4lxFUkvN00M" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 170 - }, - "_enabled": true, - "__prefab": { - "__id__": 176 - }, - "_alignFlags": 4, - "_target": null, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 370, - "_horizontalCenter": 0, - "_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": "d8FnZVRedDCYwMApPpPOIN" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "b0rLwVSFBKXIgZtoDFBa0B", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.Node", "_name": "shuaxin", @@ -3951,27 +3813,27 @@ }, "_children": [ { - "__id__": 179 + "__id__": 173 } ], "_active": true, "_components": [ { - "__id__": 185 + "__id__": 179 }, { - "__id__": 187 + "__id__": 181 }, { - "__id__": 189 + "__id__": 183 } ], "_prefab": { - "__id__": 191 + "__id__": 185 }, "_lpos": { "__type__": "cc.Vec3", - "x": 505, + "x": 515, "y": 25, "z": 0 }, @@ -4004,20 +3866,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 178 + "__id__": 172 }, "_children": [], "_active": true, "_components": [ { - "__id__": 180 + "__id__": 174 }, { - "__id__": 182 + "__id__": 176 } ], "_prefab": { - "__id__": 184 + "__id__": 178 }, "_lpos": { "__type__": "cc.Vec3", @@ -4054,11 +3916,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 179 + "__id__": 173 }, "_enabled": true, "__prefab": { - "__id__": 181 + "__id__": 175 }, "_contentSize": { "__type__": "cc.Size", @@ -4082,11 +3944,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 179 + "__id__": 173 }, "_enabled": true, "__prefab": { - "__id__": 183 + "__id__": 177 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4140,11 +4002,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 178 + "__id__": 172 }, "_enabled": true, "__prefab": { - "__id__": 186 + "__id__": 180 }, "_contentSize": { "__type__": "cc.Size", @@ -4168,11 +4030,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 178 + "__id__": 172 }, "_enabled": true, "__prefab": { - "__id__": 188 + "__id__": 182 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4213,16 +4075,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 178 + "__id__": 172 }, "_enabled": true, "__prefab": { - "__id__": 190 + "__id__": 184 }, "_alignFlags": 36, "_target": null, "_left": -5, - "_right": 120, + "_right": 110, "_top": 0, "_bottom": 25, "_horizontalCenter": 0, @@ -4258,7 +4120,7 @@ }, { "__type__": "cc.Node", - "_name": "com", + "_name": "bag", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -4266,37 +4128,28 @@ }, "_children": [ { - "__id__": 193 - }, - { - "__id__": 199 - }, - { - "__id__": 205 - }, - { - "__id__": 211 + "__id__": 187 } ], "_active": true, "_components": [ { - "__id__": 217 + "__id__": 199 }, { - "__id__": 219 + "__id__": 201 }, { - "__id__": 221 + "__id__": 203 } ], "_prefab": { - "__id__": 223 + "__id__": 205 }, "_lpos": { "__type__": "cc.Vec3", - "x": 667.5, - "y": 72.5, + "x": 662.5, + "y": 25, "z": 0 }, "_lrot": { @@ -4328,9 +4181,13 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 192 + "__id__": 186 }, - "_children": [], + "_children": [ + { + "__id__": 188 + } + ], "_active": true, "_components": [ { @@ -4345,8 +4202,58 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 4.179, - "y": -15.649, + "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.Node", + "_name": "zhujiemian-6", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 187 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 189 + }, + { + "__id__": 191 + } + ], + "_prefab": { + "__id__": 193 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 3, + "y": 45, "z": 0 }, "_lrot": { @@ -4378,16 +4285,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 193 + "__id__": 188 }, "_enabled": true, "__prefab": { - "__id__": 195 + "__id__": 190 }, "_contentSize": { "__type__": "cc.Size", - "width": 95, - "height": 95 + "width": 70, + "height": 70 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -4398,7 +4305,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "26gRmeiL9Ih66nBk8Y99Zw" + "fileId": "87WY+vSvJLCaomYDZGatoX" }, { "__type__": "cc.Sprite", @@ -4406,11 +4313,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 193 + "__id__": 188 }, "_enabled": true, "__prefab": { - "__id__": 197 + "__id__": 192 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4443,7 +4350,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "27/MZpnnFB6r0GXZpqv2l6" + "fileId": "3dYK7F31JDxI4PjWrba92o" }, { "__type__": "cc.PrefabInfo", @@ -4453,72 +4360,22 @@ "asset": { "__id__": 0 }, - "fileId": "d2qKC/XJVPmq0pUGspZx1v", + "fileId": "14nHglnO9L07m5DnopeiAQ", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.Node", - "_name": "Shop_icon", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 192 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 200 - }, - { - "__id__": 202 - } - ], - "_prefab": { - "__id__": 204 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 91.048, - "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__": 199 + "__id__": 187 }, "_enabled": true, "__prefab": { - "__id__": 201 + "__id__": 195 }, "_contentSize": { "__type__": "cc.Size", @@ -4528,7 +4385,7 @@ "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, - "y": 0.5 + "y": 0 }, "_id": "" }, @@ -4542,11 +4399,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 199 + "__id__": 187 }, "_enabled": true, "__prefab": { - "__id__": 203 + "__id__": 197 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4559,7 +4416,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@33690", + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@c7034", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, @@ -4594,67 +4451,17 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.Node", - "_name": "Heroes_icon", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 192 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 206 - }, - { - "__id__": 208 - } - ], - "_prefab": { - "__id__": 210 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -2.934, - "y": 132.304, - "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__": 205 + "__id__": 186 }, "_enabled": true, "__prefab": { - "__id__": 207 + "__id__": 200 }, "_contentSize": { "__type__": "cc.Size", @@ -4664,230 +4471,8 @@ "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "41blX6TTdE0qkvEoTnCLcl" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 205 - }, - "_enabled": true, - "__prefab": { - "__id__": 209 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@d3524", - "__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": "17FjSG1t1E84xNiW1+LiI7" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "c7vB1ii95PKpdPzahzLEJa", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "Artboard 5", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 192 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 212 - }, - { - "__id__": 214 - } - ], - "_prefab": { - "__id__": 216 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 236.155, - "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__": 211 - }, - "_enabled": true, - "__prefab": { - "__id__": 213 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 95, - "height": 95 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "b1IB3+wRZIN6GspCdQ0IzO" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 211 - }, - "_enabled": true, - "__prefab": { - "__id__": 215 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@3f37d", - "__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": "6fzsZ+Wt5Df4XPGpgv5GJn" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "3bZtPZS6ND95EOU4It0IMc", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 192 - }, - "_enabled": true, - "__prefab": { - "__id__": 218 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 95, - "height": 95 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, "_id": "" }, { @@ -4900,11 +4485,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 192 + "__id__": 186 }, "_enabled": true, "__prefab": { - "__id__": 220 + "__id__": 202 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4916,10 +4501,7 @@ "b": 255, "a": 255 }, - "_spriteFrame": { - "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@713f5", - "__expectedType__": "cc.SpriteFrame" - }, + "_spriteFrame": null, "_type": 0, "_fillType": 0, "_sizeMode": 0, @@ -4945,16 +4527,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 192 + "__id__": 186 }, "_enabled": true, "__prefab": { - "__id__": 222 + "__id__": 204 }, "_alignFlags": 36, "_target": null, "_left": 0, - "_right": 5, + "_right": 10, "_top": 0, "_bottom": 25, "_horizontalCenter": 0, @@ -4997,29 +4579,44 @@ "__id__": 1 }, "_children": [ + { + "__id__": 207 + }, + { + "__id__": 213 + }, + { + "__id__": 219 + }, { "__id__": 225 }, { "__id__": 231 + }, + { + "__id__": 237 + }, + { + "__id__": 243 } ], "_active": true, "_components": [ { - "__id__": 237 + "__id__": 249 }, { - "__id__": 239 + "__id__": 251 } ], "_prefab": { - "__id__": 241 + "__id__": 253 }, "_lpos": { "__type__": "cc.Vec3", - "x": 5, - "y": 140, + "x": 15, + "y": 120, "z": 0 }, "_lrot": { @@ -5051,20 +4648,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 224 + "__id__": 206 }, "_children": [], "_active": true, "_components": [ { - "__id__": 226 + "__id__": 208 }, { - "__id__": 228 + "__id__": 210 } ], "_prefab": { - "__id__": 230 + "__id__": 212 }, "_lpos": { "__type__": "cc.Vec3", @@ -5101,16 +4698,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 225 + "__id__": 207 }, "_enabled": true, "__prefab": { - "__id__": 227 + "__id__": 209 }, "_contentSize": { "__type__": "cc.Size", - "width": 110, - "height": 110 + "width": 95, + "height": 95 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -5129,11 +4726,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 225 + "__id__": 207 }, "_enabled": true, "__prefab": { - "__id__": 229 + "__id__": 211 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5146,7 +4743,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@176a9", + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@4b4e8", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, @@ -5187,8 +4784,416 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { + "__id__": 206 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 214 + }, + { + "__id__": 216 + } + ], + "_prefab": { + "__id__": 218 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 100, + "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__": 213 + }, + "_enabled": true, + "__prefab": { + "__id__": 215 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 95, + "height": 95 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "cf8+aI6U5PrbZ8V0ub4Hgo" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 213 + }, + "_enabled": true, + "__prefab": { + "__id__": 217 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@4b4e8", + "__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": "6famDrdyZOQJaR44fTKcou" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1dS3vIBcJGv7j8AFzk01vB", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "bag3", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 206 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 220 + }, + { + "__id__": 222 + } + ], + "_prefab": { "__id__": 224 }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 200, + "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__": 219 + }, + "_enabled": true, + "__prefab": { + "__id__": 221 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 95, + "height": 95 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e2N46oxKBP86SMdpaTk0Sb" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 219 + }, + "_enabled": true, + "__prefab": { + "__id__": 223 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@4b4e8", + "__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": "4dq6p75mdJkrIZHQXpmAGc" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "45AmmZ42JKxqqRNaR5Q0WE", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "bag4", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 206 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 226 + }, + { + "__id__": 228 + } + ], + "_prefab": { + "__id__": 230 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 300, + "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__": 225 + }, + "_enabled": true, + "__prefab": { + "__id__": 227 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 95, + "height": 95 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "52yr6aHHBDJa7EX7PFsXV2" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 225 + }, + "_enabled": true, + "__prefab": { + "__id__": 229 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@4b4e8", + "__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": "f7SWWGTeRPa52EdAZrGMU5" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c9B/F6lDdGaJWTpXn2YxF8", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "bag5", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 206 + }, "_children": [], "_active": true, "_components": [ @@ -5204,7 +5209,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 115, + "x": 400, "y": 0, "z": 0 }, @@ -5245,8 +5250,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 110, - "height": 110 + "width": 95, + "height": 95 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -5257,7 +5262,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "cf8+aI6U5PrbZ8V0ub4Hgo" + "fileId": "ebU8U4WphGtY/tkqXm0SRM" }, { "__type__": "cc.Sprite", @@ -5282,7 +5287,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@176a9", + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@4b4e8", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, @@ -5302,7 +5307,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "6famDrdyZOQJaR44fTKcou" + "fileId": "4aZgoTJtZLZoOOEIdC8UkA" }, { "__type__": "cc.PrefabInfo", @@ -5312,132 +5317,36 @@ "asset": { "__id__": 0 }, - "fileId": "1dS3vIBcJGv7j8AFzk01vB", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 224 - }, - "_enabled": true, - "__prefab": { - "__id__": 238 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 110, - "height": 225 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "8400aci7pPmpNf2TePwnSi" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 224 - }, - "_enabled": true, - "__prefab": { - "__id__": 240 - }, - "_alignFlags": 12, - "_target": null, - "_left": 5, - "_right": 5, - "_top": 0, - "_bottom": 140, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 110, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "1fed5Fd11NIZOMIX4GGuBE" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "fcT1m524FMVrsrLYg0iELa", + "fileId": "d5XcOryiZDiYhBxhrMVToN", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { "__type__": "cc.Node", - "_name": "cards", + "_name": "bag6", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 1 + "__id__": 206 }, - "_children": [ - { - "__id__": 243 - }, - { - "__id__": 249 - }, - { - "__id__": 255 - }, - { - "__id__": 261 - }, - { - "__id__": 267 - }, - { - "__id__": 273 - } - ], + "_children": [], "_active": true, "_components": [ { - "__id__": 279 + "__id__": 238 }, { - "__id__": 281 + "__id__": 240 } ], "_prefab": { - "__id__": 283 + "__id__": 242 }, "_lpos": { "__type__": "cc.Vec3", - "x": 5, - "y": 25, + "x": 500, + "y": 0, "z": 0 }, "_lrot": { @@ -5463,13 +5372,99 @@ }, "_id": "" }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 237 + }, + "_enabled": true, + "__prefab": { + "__id__": 239 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 95, + "height": 95 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "560pZrm/tJrp+ljmVPii0x" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 237 + }, + "_enabled": true, + "__prefab": { + "__id__": 241 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@4b4e8", + "__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": "9fw9l4dv1C/KUsubVEZIC/" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f21x6RIr1AQqsH42yovPIw", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.Node", - "_name": "card1", + "_name": "bag7", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 242 + "__id__": 206 }, "_children": [], "_active": true, @@ -5486,7 +5481,7 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, + "x": 600, "y": 0, "z": 0 }, @@ -5539,7 +5534,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "6f6m0/1PlM/otFknOoVi5A" + "fileId": "0fM93wDINLTb/gcy2jEv+c" }, { "__type__": "cc.Sprite", @@ -5563,6 +5558,288 @@ "b": 255, "a": 255 }, + "_spriteFrame": { + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@4b4e8", + "__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": "ffkYNHJN1F8YRraXqvwRwA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "75uSLNNtJPRYWum+TAi3/a", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 206 + }, + "_enabled": true, + "__prefab": { + "__id__": 250 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 110, + "height": 225 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8400aci7pPmpNf2TePwnSi" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 206 + }, + "_enabled": true, + "__prefab": { + "__id__": 252 + }, + "_alignFlags": 12, + "_target": null, + "_left": 15, + "_right": 5, + "_top": 0, + "_bottom": 120, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 110, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1fed5Fd11NIZOMIX4GGuBE" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "fcT1m524FMVrsrLYg0iELa", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "cards", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 255 + }, + { + "__id__": 261 + }, + { + "__id__": 267 + }, + { + "__id__": 273 + }, + { + "__id__": 279 + }, + { + "__id__": 285 + } + ], + "_active": true, + "_components": [ + { + "__id__": 291 + }, + { + "__id__": 293 + } + ], + "_prefab": { + "__id__": 295 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 15, + "y": 20, + "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": "card1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 254 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 256 + }, + { + "__id__": 258 + } + ], + "_prefab": { + "__id__": 260 + }, + "_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__": 255 + }, + "_enabled": true, + "__prefab": { + "__id__": 257 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 95, + "height": 95 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6f6m0/1PlM/otFknOoVi5A" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 255 + }, + "_enabled": true, + "__prefab": { + "__id__": 259 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, "_spriteFrame": { "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@176a9", "__expectedType__": "cc.SpriteFrame" @@ -5605,20 +5882,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 242 + "__id__": 254 }, "_children": [], "_active": true, "_components": [ { - "__id__": 250 + "__id__": 262 }, { - "__id__": 252 + "__id__": 264 } ], "_prefab": { - "__id__": 254 + "__id__": 266 }, "_lpos": { "__type__": "cc.Vec3", @@ -5655,11 +5932,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 249 + "__id__": 261 }, "_enabled": true, "__prefab": { - "__id__": 251 + "__id__": 263 }, "_contentSize": { "__type__": "cc.Size", @@ -5683,11 +5960,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 249 + "__id__": 261 }, "_enabled": true, "__prefab": { - "__id__": 253 + "__id__": 265 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5741,20 +6018,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 242 + "__id__": 254 }, "_children": [], "_active": true, "_components": [ { - "__id__": 256 + "__id__": 268 }, { - "__id__": 258 + "__id__": 270 } ], "_prefab": { - "__id__": 260 + "__id__": 272 }, "_lpos": { "__type__": "cc.Vec3", @@ -5791,11 +6068,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 255 + "__id__": 267 }, "_enabled": true, "__prefab": { - "__id__": 257 + "__id__": 269 }, "_contentSize": { "__type__": "cc.Size", @@ -5819,11 +6096,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 255 + "__id__": 267 }, "_enabled": true, "__prefab": { - "__id__": 259 + "__id__": 271 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5877,20 +6154,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 242 + "__id__": 254 }, "_children": [], "_active": true, "_components": [ { - "__id__": 262 + "__id__": 274 }, { - "__id__": 264 + "__id__": 276 } ], "_prefab": { - "__id__": 266 + "__id__": 278 }, "_lpos": { "__type__": "cc.Vec3", @@ -5927,11 +6204,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 261 + "__id__": 273 }, "_enabled": true, "__prefab": { - "__id__": 263 + "__id__": 275 }, "_contentSize": { "__type__": "cc.Size", @@ -5955,11 +6232,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 261 + "__id__": 273 }, "_enabled": true, "__prefab": { - "__id__": 265 + "__id__": 277 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6013,20 +6290,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 242 + "__id__": 254 }, "_children": [], "_active": true, "_components": [ { - "__id__": 268 + "__id__": 280 }, { - "__id__": 270 + "__id__": 282 } ], "_prefab": { - "__id__": 272 + "__id__": 284 }, "_lpos": { "__type__": "cc.Vec3", @@ -6063,11 +6340,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 267 + "__id__": 279 }, "_enabled": true, "__prefab": { - "__id__": 269 + "__id__": 281 }, "_contentSize": { "__type__": "cc.Size", @@ -6091,11 +6368,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 267 + "__id__": 279 }, "_enabled": true, "__prefab": { - "__id__": 271 + "__id__": 283 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6149,20 +6426,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 242 + "__id__": 254 }, "_children": [], "_active": false, "_components": [ { - "__id__": 274 + "__id__": 286 }, { - "__id__": 276 + "__id__": 288 } ], "_prefab": { - "__id__": 278 + "__id__": 290 }, "_lpos": { "__type__": "cc.Vec3", @@ -6199,16 +6476,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 273 + "__id__": 285 }, "_enabled": true, "__prefab": { - "__id__": 275 + "__id__": 287 }, "_contentSize": { "__type__": "cc.Size", - "width": 100, - "height": 100 + "width": 95, + "height": 95 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -6227,11 +6504,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 273 + "__id__": 285 }, "_enabled": true, "__prefab": { - "__id__": 277 + "__id__": 289 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6244,7 +6521,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "fdf9c650-fb92-49bb-82ce-3007df7745b6@f9941", + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@979f3", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, @@ -6285,11 +6562,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 242 + "__id__": 254 }, "_enabled": true, "__prefab": { - "__id__": 280 + "__id__": 292 }, "_contentSize": { "__type__": "cc.Size", @@ -6313,18 +6590,18 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 242 + "__id__": 254 }, "_enabled": true, "__prefab": { - "__id__": 282 + "__id__": 294 }, "_alignFlags": 12, "_target": null, - "_left": 5, + "_left": 15, "_right": 0, "_top": 0, - "_bottom": 25, + "_bottom": 20, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -6366,34 +6643,34 @@ }, "_children": [ { - "__id__": 285 + "__id__": 297 }, { - "__id__": 294 + "__id__": 306 } ], "_active": true, "_components": [ { - "__id__": 303 + "__id__": 315 }, { - "__id__": 305 + "__id__": 317 }, { - "__id__": 307 + "__id__": 319 }, { - "__id__": 309 + "__id__": 321 } ], "_prefab": { - "__id__": 311 + "__id__": 323 }, "_lpos": { "__type__": "cc.Vec3", "x": 305, - "y": 25, + "y": 20, "z": 0 }, "_lrot": { @@ -6425,23 +6702,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 284 + "__id__": 296 }, "_children": [], "_active": true, "_components": [ { - "__id__": 286 + "__id__": 298 }, { - "__id__": 288 + "__id__": 300 }, { - "__id__": 290 + "__id__": 302 } ], "_prefab": { - "__id__": 293 + "__id__": 305 }, "_lpos": { "__type__": "cc.Vec3", @@ -6478,11 +6755,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 285 + "__id__": 297 }, "_enabled": true, "__prefab": { - "__id__": 287 + "__id__": 299 }, "_contentSize": { "__type__": "cc.Size", @@ -6506,11 +6783,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 285 + "__id__": 297 }, "_enabled": true, "__prefab": { - "__id__": 289 + "__id__": 301 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6551,15 +6828,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 285 + "__id__": 297 }, "_enabled": true, "__prefab": { - "__id__": 291 + "__id__": 303 }, "clickEvents": [ { - "__id__": 292 + "__id__": 304 } ], "_interactable": true, @@ -6602,7 +6879,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 285 + "__id__": 297 }, "_id": "" }, @@ -6613,7 +6890,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 284 + "__id__": 296 }, "component": "", "_componentId": "bcd8aBpUghL4YyOLO3ds4YK", @@ -6639,23 +6916,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 284 + "__id__": 296 }, "_children": [], "_active": true, "_components": [ { - "__id__": 295 + "__id__": 307 }, { - "__id__": 297 + "__id__": 309 }, { - "__id__": 299 + "__id__": 311 } ], "_prefab": { - "__id__": 302 + "__id__": 314 }, "_lpos": { "__type__": "cc.Vec3", @@ -6692,11 +6969,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 294 + "__id__": 306 }, "_enabled": true, "__prefab": { - "__id__": 296 + "__id__": 308 }, "_contentSize": { "__type__": "cc.Size", @@ -6720,11 +6997,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 294 + "__id__": 306 }, "_enabled": true, "__prefab": { - "__id__": 298 + "__id__": 310 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -6765,15 +7042,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 294 + "__id__": 306 }, "_enabled": true, "__prefab": { - "__id__": 300 + "__id__": 312 }, "clickEvents": [ { - "__id__": 301 + "__id__": 313 } ], "_interactable": true, @@ -6816,7 +7093,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 294 + "__id__": 306 }, "_id": "" }, @@ -6827,7 +7104,7 @@ { "__type__": "cc.ClickEvent", "target": { - "__id__": 284 + "__id__": 296 }, "component": "", "_componentId": "bcd8aBpUghL4YyOLO3ds4YK", @@ -6853,11 +7130,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 284 + "__id__": 296 }, "_enabled": true, "__prefab": { - "__id__": 304 + "__id__": 316 }, "_contentSize": { "__type__": "cc.Size", @@ -6881,18 +7158,18 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 284 + "__id__": 296 }, "_enabled": true, "__prefab": { - "__id__": 306 + "__id__": 318 }, "_alignFlags": 4, "_target": null, "_left": 0, "_right": 0, "_top": 0, - "_bottom": 25, + "_bottom": 20, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -6917,11 +7194,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 284 + "__id__": 296 }, "_enabled": true, "__prefab": { - "__id__": 308 + "__id__": 320 }, "_id": "" }, @@ -6935,11 +7212,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 284 + "__id__": 296 }, "_enabled": true, "__prefab": { - "__id__": 310 + "__id__": 322 }, "_id": "" }, @@ -6970,25 +7247,25 @@ }, "_children": [ { - "__id__": 313 + "__id__": 325 } ], "_active": true, "_components": [ { - "__id__": 331 + "__id__": 343 }, { - "__id__": 333 + "__id__": 345 } ], "_prefab": { - "__id__": 335 + "__id__": 347 }, "_lpos": { "__type__": "cc.Vec3", - "x": 5, - "y": 5, + "x": 0, + "y": 0, "z": 0 }, "_lrot": { @@ -7020,33 +7297,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 312 + "__id__": 324 }, "_children": [ { - "__id__": 314 + "__id__": 326 } ], "_active": true, "_components": [ { - "__id__": 320 + "__id__": 332 }, { - "__id__": 322 + "__id__": 334 }, { - "__id__": 324 + "__id__": 336 }, { - "__id__": 326 + "__id__": 338 }, { - "__id__": 328 + "__id__": 340 } ], "_prefab": { - "__id__": 330 + "__id__": 342 }, "_lpos": { "__type__": "cc.Vec3", @@ -7083,20 +7360,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 313 + "__id__": 325 }, "_children": [], "_active": true, "_components": [ { - "__id__": 315 + "__id__": 327 }, { - "__id__": 317 + "__id__": 329 } ], "_prefab": { - "__id__": 319 + "__id__": 331 }, "_lpos": { "__type__": "cc.Vec3", @@ -7133,15 +7410,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 314 + "__id__": 326 }, "_enabled": true, "__prefab": { - "__id__": 316 + "__id__": 328 }, "_contentSize": { "__type__": "cc.Size", - "width": 710, + "width": 720, "height": 15 }, "_anchorPoint": { @@ -7161,11 +7438,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 314 + "__id__": 326 }, "_enabled": true, "__prefab": { - "__id__": 318 + "__id__": 330 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7178,7 +7455,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "9716cf6d-cc08-452b-8c72-13d63c89aac2@f9941", + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@57d74", "__expectedType__": "cc.SpriteFrame" }, "_type": 3, @@ -7219,15 +7496,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 313 + "__id__": 325 }, "_enabled": true, "__prefab": { - "__id__": 321 + "__id__": 333 }, "_contentSize": { "__type__": "cc.Size", - "width": 710, + "width": 720, "height": 15 }, "_anchorPoint": { @@ -7247,11 +7524,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 313 + "__id__": 325 }, "_enabled": true, "__prefab": { - "__id__": 323 + "__id__": 335 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -7264,7 +7541,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "eac8f388-79c5-438f-9602-d9bdac7a5d12@f9941", + "__uuid__": "475189e3-a159-45bc-90f5-57864087d290@cf09c", "__expectedType__": "cc.SpriteFrame" }, "_type": 1, @@ -7292,14 +7569,14 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 313 + "__id__": 325 }, "_enabled": true, "__prefab": { - "__id__": 325 + "__id__": 337 }, "_barSprite": { - "__id__": 317 + "__id__": 329 }, "_mode": 2, "_totalLength": 1, @@ -7317,11 +7594,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 313 + "__id__": 325 }, "_enabled": true, "__prefab": { - "__id__": 327 + "__id__": 339 }, "controller": false, "watchPath": "", @@ -7345,11 +7622,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 313 + "__id__": 325 }, "_enabled": true, "__prefab": { - "__id__": 329 + "__id__": 341 }, "_alignFlags": 4, "_target": null, @@ -7394,15 +7671,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 312 + "__id__": 324 }, "_enabled": true, "__prefab": { - "__id__": 332 + "__id__": 344 }, "_contentSize": { "__type__": "cc.Size", - "width": 1065, + "width": 720, "height": 100 }, "_anchorPoint": { @@ -7422,18 +7699,18 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 312 + "__id__": 324 }, "_enabled": true, "__prefab": { - "__id__": 334 + "__id__": 346 }, "_alignFlags": 44, "_target": null, - "_left": 5, - "_right": -350, + "_left": 0, + "_right": 0, "_top": 0, - "_bottom": 5, + "_bottom": 0, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -7475,7 +7752,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 337 + "__id__": 349 }, "_contentSize": { "__type__": "cc.Size", @@ -7503,7 +7780,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 339 + "__id__": 351 }, "_alignFlags": 45, "_target": null, @@ -7539,7 +7816,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 341 + "__id__": 353 }, "_id": "" }, diff --git a/assets/script/game/map/CardController.ts b/assets/script/game/map/CardController.ts index 74c50e8e..5deecefa 100644 --- a/assets/script/game/map/CardController.ts +++ b/assets/script/game/map/CardController.ts @@ -50,7 +50,7 @@ export class CardControllerComp extends CCComp { let card = ecs.getEntity(HeroCard); let pos = v3(x,y) card.load(pos,element[0],cards_node); - x=x+120 + x=x+100 }); this.node.getChildByName("cards").getChildByName("active").active = false } diff --git a/assets/script/game/monster/HeroCardViewComp.ts b/assets/script/game/monster/HeroCardViewComp.ts index 73826402..8bcb1ec7 100644 --- a/assets/script/game/monster/HeroCardViewComp.ts +++ b/assets/script/game/monster/HeroCardViewComp.ts @@ -25,7 +25,7 @@ export class HeroCardViewComp extends CCComp { pos_x=0; pos_y=0; protected onLoad(): void { - this.node.on(NodeEventType.TOUCH_START, this.onTouchMove, this); + this.node.on(NodeEventType.TOUCH_START, this.onTouch, this); this.node.on(NodeEventType.TOUCH_MOVE, this.onTouchMove, this); this.node.on(NodeEventType.TOUCH_END, this.onTouchEnd, this); this.node.on(NodeEventType.TOUCH_CANCEL, this.onTouchEnd, this); @@ -38,13 +38,16 @@ export class HeroCardViewComp extends CCComp { // this.reset(); // } } - - onTouchMove(event: EventTouch) { + onTouch(){ smc.vm_data.cards.eid = this.ent.eid; let parent = this.node.parent; let active = parent.getChildByName("active"); - active.setPosition(this.node.position.x,this.node.position.y) + active.setPosition(this.pos_x,this.pos_y) active.active = true; + active.setPosition(this.node.position.x,this.node.position.y); + } + onTouchMove(event: EventTouch) { + smc.vm_data.cards.eid = this.ent.eid; // if(this.ent.eid == smc.vm_data.cards.eid){ // this.node.getChildByName("active").active = true; // }else{