diff --git a/assets/resources/game/gui/hcard.prefab b/assets/resources/game/gui/hcard.prefab index ba8a5d8f..9c4be559 100644 --- a/assets/resources/game/gui/hcard.prefab +++ b/assets/resources/game/gui/hcard.prefab @@ -25,38 +25,41 @@ "__id__": 14 }, { - "__id__": 28 + "__id__": 42 }, { - "__id__": 44 + "__id__": 50 }, { - "__id__": 60 + "__id__": 64 }, { - "__id__": 74 - }, - { - "__id__": 88 + "__id__": 78 }, { "__id__": 94 + }, + { + "__id__": 110 + }, + { + "__id__": 116 } ], "_active": true, "_components": [ { - "__id__": 100 + "__id__": 122 }, { - "__id__": 102 + "__id__": 124 }, { - "__id__": 104 + "__id__": 126 } ], "_prefab": { - "__id__": 106 + "__id__": 128 }, "_lpos": { "__type__": "cc.Vec3", @@ -100,7 +103,7 @@ "__id__": 3 } ], - "_active": true, + "_active": false, "_components": [ { "__id__": 9 @@ -365,7 +368,7 @@ }, { "__type__": "cc.Node", - "_name": "Mask", + "_name": "bg", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -374,27 +377,30 @@ "_children": [ { "__id__": 15 - } - ], - "_active": true, - "_components": [ + }, { "__id__": 21 }, { - "__id__": 23 + "__id__": 29 + } + ], + "_active": false, + "_components": [ + { + "__id__": 37 }, { - "__id__": 25 + "__id__": 39 } ], "_prefab": { - "__id__": 27 + "__id__": 41 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 50.736, + "y": -81.42, "z": 0 }, "_lrot": { @@ -422,14 +428,14 @@ }, { "__type__": "cc.Node", - "_name": "icon", + "_name": "CardFrame01_Glow", "_objFlags": 0, "__editorExtras__": {}, "_parent": { "__id__": 14 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { "__id__": 16 @@ -443,8 +449,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 0.297, - "y": -26.492, + "x": 3.384, + "y": 158.432, "z": 0 }, "_lrot": { @@ -456,8 +462,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.7, - "y": 0.7, + "x": 1.4, + "y": 1.4, "z": 1 }, "_mobility": 0, @@ -484,8 +490,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 211, - "height": 232 + "width": 226, + "height": 226 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -496,7 +502,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "41VdEpjdZH3bnBgNN9ylnG" + "fileId": "ff6kJDNZtMg73+SzkezBWp" }, { "__type__": "cc.Sprite", @@ -515,13 +521,13 @@ "_dstBlendFactor": 4, "_color": { "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, + "r": 117, + "g": 115, + "b": 115, "a": 255 }, "_spriteFrame": { - "__uuid__": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d@f9fc4", + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@a4212", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, @@ -541,7 +547,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "2a3qDO1npC86JpqWf/Cqwv" + "fileId": "c74kwRgDZG27hFGpMTloZf" }, { "__type__": "cc.PrefabInfo", @@ -551,7 +557,357 @@ "asset": { "__id__": 0 }, - "fileId": "59cQyFRa9B4b4aK7cVeZjO", + "fileId": "82OuMvFeBOArvQTe/WY4je", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "CardFrame03_n_Bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 14 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 22 + }, + { + "__id__": 24 + }, + { + "__id__": 26 + } + ], + "_prefab": { + "__id__": 28 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 95, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 21 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 160, + "height": 190 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f9U24606ROh4opgIYP8g7Z" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 21 + }, + "_enabled": true, + "__prefab": { + "__id__": 25 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 80, + "g": 154, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "260d01c4-5936-4c90-8ff9-b892c60b2e48@8ed5b", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c8KutCIF1NBrj55zRM6bE2" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 21 + }, + "_enabled": true, + "__prefab": { + "__id__": 27 + }, + "_alignFlags": 41, + "_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": 140, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "femGTOhEVL6oArsEE5sdhu" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7bfSgbtC1CU72ozdZVzmVW", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "CardFrame03_n_InnerBg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 14 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 30 + }, + { + "__id__": 32 + }, + { + "__id__": 34 + } + ], + "_prefab": { + "__id__": 36 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 118, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 29 + }, + "_enabled": true, + "__prefab": { + "__id__": 31 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 136, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3a7qgoztxHBrADB33EUbrZ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 29 + }, + "_enabled": true, + "__prefab": { + "__id__": 33 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 133, + "g": 188, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "260d01c4-5936-4c90-8ff9-b892c60b2e48@e230b", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0bgcmLO/xEdp1wAb3Uu8L8" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 29 + }, + "_enabled": true, + "__prefab": { + "__id__": 35 + }, + "_alignFlags": 41, + "_target": null, + "_left": 12, + "_right": 12, + "_top": 12, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 130, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6dcbCsXadM1Y+y5tfFS9Oa" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f0W0nO175EW6JEAWQXobcb", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -566,7 +922,146 @@ }, "_enabled": true, "__prefab": { - "__id__": 22 + "__id__": 38 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 160, + "height": 190 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c3VDIri4pLfJXoiD767Djh" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 14 + }, + "_enabled": false, + "__prefab": { + "__id__": 40 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@cf2fa", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3d0w6N0gRGAIuUA+EWkH8C" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "45nXtAk3xLV751i39jmchg", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Mask", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 43 + }, + { + "__id__": 45 + }, + { + "__id__": 47 + } + ], + "_prefab": { + "__id__": 49 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -17.644, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1.4, + "y": 1.4, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 42 + }, + "_enabled": true, + "__prefab": { + "__id__": 44 }, "_contentSize": { "__type__": "cc.Size", @@ -576,7 +1071,7 @@ "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, - "y": 0.5 + "y": 0 }, "_id": "" }, @@ -590,11 +1085,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 14 + "__id__": 42 }, - "_enabled": true, + "_enabled": false, "__prefab": { - "__id__": 24 + "__id__": 46 }, "_type": 0, "_inverted": false, @@ -612,11 +1107,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 14 + "__id__": 42 }, - "_enabled": true, + "_enabled": false, "__prefab": { - "__id__": 26 + "__id__": 48 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -665,6 +1160,614 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "life", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 51 + } + ], + "_active": true, + "_components": [ + { + "__id__": 57 + }, + { + "__id__": 59 + }, + { + "__id__": 61 + } + ], + "_prefab": { + "__id__": 63 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -37.206, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 50 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 52 + }, + { + "__id__": 54 + } + ], + "_prefab": { + "__id__": 56 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -62, + "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": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": { + "__id__": 53 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 124, + "height": 13 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a93K1SuvRPYYe5+CiEPHRB" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 51 + }, + "_enabled": true, + "__prefab": { + "__id__": 55 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@39df8", + "__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": "b3SPmV03pNGoduW9McOjx/" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "231EYz9FdBZ6RUIQFeXN2g", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 50 + }, + "_enabled": true, + "__prefab": { + "__id__": 58 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 130, + "height": 17 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "63/0VAbtVIqImhb0SaaV/a" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 50 + }, + "_enabled": true, + "__prefab": { + "__id__": 60 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@9e883", + "__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": "b3WQgNb+9K/rCedfj4APb7" + }, + { + "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 50 + }, + "_enabled": true, + "__prefab": { + "__id__": 62 + }, + "_barSprite": { + "__id__": 54 + }, + "_mode": 0, + "_totalLength": 130, + "_progress": 1, + "_reverse": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ddq4GXI+JDup+JPcKHW8k5" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e6ul0bxWtCAokNZV1piWDw", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "pow", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 65 + } + ], + "_active": true, + "_components": [ + { + "__id__": 71 + }, + { + "__id__": 73 + }, + { + "__id__": 75 + } + ], + "_prefab": { + "__id__": 77 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -52.43, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Bar", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 64 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 66 + }, + { + "__id__": 68 + } + ], + "_prefab": { + "__id__": 70 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -62, + "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": 33554432, + "_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": 124, + "height": 11 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e8ntLxafJIDpzvcelY1QAI" + }, + { + "__type__": "cc.Sprite", + "_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 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@5c4a5", + "__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": "27n+0aqHFEi4637gjuTxVh" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d2nLGnRUFMF6Pec/yBHj/W", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 64 + }, + "_enabled": true, + "__prefab": { + "__id__": 72 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 130, + "height": 15 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bfnIv/iphHi5I2LeTvdLG2" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 64 + }, + "_enabled": true, + "__prefab": { + "__id__": 74 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@9e883", + "__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": "1dKrj/V+BCj6QUxkZEeBBi" + }, + { + "__type__": "cc.ProgressBar", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 64 + }, + "_enabled": true, + "__prefab": { + "__id__": 76 + }, + "_barSprite": { + "__id__": 68 + }, + "_mode": 0, + "_totalLength": 130, + "_progress": 1, + "_reverse": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "268lEzU/xExZjaA1mptdhP" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "38JsxcOABPVaAjpq1JTAPN", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.Node", "_name": "ap", @@ -675,25 +1778,25 @@ }, "_children": [ { - "__id__": 29 + "__id__": 79 }, { - "__id__": 35 + "__id__": 85 } ], "_active": true, "_components": [ { - "__id__": 41 + "__id__": 91 } ], "_prefab": { - "__id__": 43 + "__id__": 93 }, "_lpos": { "__type__": "cc.Vec3", "x": -50.47, - "y": -21.993, + "y": 127.286, "z": 0 }, "_lrot": { @@ -725,20 +1828,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 28 + "__id__": 78 }, "_children": [], "_active": true, "_components": [ { - "__id__": 30 + "__id__": 80 }, { - "__id__": 32 + "__id__": 82 } ], "_prefab": { - "__id__": 34 + "__id__": 84 }, "_lpos": { "__type__": "cc.Vec3", @@ -775,11 +1878,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 29 + "__id__": 79 }, "_enabled": true, "__prefab": { - "__id__": 31 + "__id__": 81 }, "_contentSize": { "__type__": "cc.Size", @@ -803,11 +1906,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 29 + "__id__": 79 }, "_enabled": true, "__prefab": { - "__id__": 33 + "__id__": 83 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -884,20 +1987,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 28 + "__id__": 78 }, "_children": [], "_active": true, "_components": [ { - "__id__": 36 + "__id__": 86 }, { - "__id__": 38 + "__id__": 88 } ], "_prefab": { - "__id__": 40 + "__id__": 90 }, "_lpos": { "__type__": "cc.Vec3", @@ -934,11 +2037,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 35 + "__id__": 85 }, "_enabled": true, "__prefab": { - "__id__": 37 + "__id__": 87 }, "_contentSize": { "__type__": "cc.Size", @@ -962,11 +2065,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 35 + "__id__": 85 }, "_enabled": true, "__prefab": { - "__id__": 39 + "__id__": 89 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1020,11 +2123,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 28 + "__id__": 78 }, "_enabled": true, "__prefab": { - "__id__": 42 + "__id__": 92 }, "_contentSize": { "__type__": "cc.Size", @@ -1065,25 +2168,25 @@ }, "_children": [ { - "__id__": 45 + "__id__": 95 }, { - "__id__": 51 + "__id__": 101 } ], "_active": true, "_components": [ { - "__id__": 57 + "__id__": 107 } ], "_prefab": { - "__id__": 59 + "__id__": 109 }, "_lpos": { "__type__": "cc.Vec3", "x": -50.47, - "y": -40.385, + "y": 104.079, "z": 0 }, "_lrot": { @@ -1115,20 +2218,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 44 + "__id__": 94 }, "_children": [], "_active": true, "_components": [ { - "__id__": 46 + "__id__": 96 }, { - "__id__": 48 + "__id__": 98 } ], "_prefab": { - "__id__": 50 + "__id__": 100 }, "_lpos": { "__type__": "cc.Vec3", @@ -1165,11 +2268,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 45 + "__id__": 95 }, "_enabled": true, "__prefab": { - "__id__": 47 + "__id__": 97 }, "_contentSize": { "__type__": "cc.Size", @@ -1193,11 +2296,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 45 + "__id__": 95 }, "_enabled": true, "__prefab": { - "__id__": 49 + "__id__": 99 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1274,20 +2377,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 44 + "__id__": 94 }, "_children": [], "_active": true, "_components": [ { - "__id__": 52 + "__id__": 102 }, { - "__id__": 54 + "__id__": 104 } ], "_prefab": { - "__id__": 56 + "__id__": 106 }, "_lpos": { "__type__": "cc.Vec3", @@ -1324,11 +2427,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 51 + "__id__": 101 }, "_enabled": true, "__prefab": { - "__id__": 53 + "__id__": 103 }, "_contentSize": { "__type__": "cc.Size", @@ -1352,11 +2455,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 51 + "__id__": 101 }, "_enabled": true, "__prefab": { - "__id__": 55 + "__id__": 105 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1410,11 +2513,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 44 + "__id__": 94 }, "_enabled": true, "__prefab": { - "__id__": 58 + "__id__": 108 }, "_contentSize": { "__type__": "cc.Size", @@ -1445,614 +2548,6 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.Node", - "_name": "life", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 61 - } - ], - "_active": true, - "_components": [ - { - "__id__": 67 - }, - { - "__id__": 69 - }, - { - "__id__": 71 - } - ], - "_prefab": { - "__id__": 73 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": -62.247, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "Bar", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 60 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 62 - }, - { - "__id__": 64 - } - ], - "_prefab": { - "__id__": 66 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -62, - "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": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 61 - }, - "_enabled": true, - "__prefab": { - "__id__": 63 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 124, - "height": 13 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "a93K1SuvRPYYe5+CiEPHRB" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 61 - }, - "_enabled": true, - "__prefab": { - "__id__": 65 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@39df8", - "__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": "b3SPmV03pNGoduW9McOjx/" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "231EYz9FdBZ6RUIQFeXN2g", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 60 - }, - "_enabled": true, - "__prefab": { - "__id__": 68 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 130, - "height": 17 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "63/0VAbtVIqImhb0SaaV/a" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 60 - }, - "_enabled": true, - "__prefab": { - "__id__": 70 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@9e883", - "__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": "b3WQgNb+9K/rCedfj4APb7" - }, - { - "__type__": "cc.ProgressBar", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 60 - }, - "_enabled": true, - "__prefab": { - "__id__": 72 - }, - "_barSprite": { - "__id__": 64 - }, - "_mode": 0, - "_totalLength": 130, - "_progress": 1, - "_reverse": false, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "ddq4GXI+JDup+JPcKHW8k5" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "e6ul0bxWtCAokNZV1piWDw", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "pow", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 75 - } - ], - "_active": true, - "_components": [ - { - "__id__": 81 - }, - { - "__id__": 83 - }, - { - "__id__": 85 - } - ], - "_prefab": { - "__id__": 87 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": -77.471, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "Bar", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 74 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 76 - }, - { - "__id__": 78 - } - ], - "_prefab": { - "__id__": 80 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -62, - "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": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 75 - }, - "_enabled": true, - "__prefab": { - "__id__": 77 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 124, - "height": 11 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e8ntLxafJIDpzvcelY1QAI" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 75 - }, - "_enabled": true, - "__prefab": { - "__id__": 79 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@5c4a5", - "__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": "27n+0aqHFEi4637gjuTxVh" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "d2nLGnRUFMF6Pec/yBHj/W", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 74 - }, - "_enabled": true, - "__prefab": { - "__id__": 82 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 130, - "height": 15 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "bfnIv/iphHi5I2LeTvdLG2" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 74 - }, - "_enabled": true, - "__prefab": { - "__id__": 84 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@9e883", - "__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": "1dKrj/V+BCj6QUxkZEeBBi" - }, - { - "__type__": "cc.ProgressBar", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 74 - }, - "_enabled": true, - "__prefab": { - "__id__": 86 - }, - "_barSprite": { - "__id__": 78 - }, - "_mode": 0, - "_totalLength": 130, - "_progress": 1, - "_reverse": false, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "268lEzU/xExZjaA1mptdhP" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "38JsxcOABPVaAjpq1JTAPN", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.Node", "_name": "name", @@ -2065,14 +2560,14 @@ "_active": false, "_components": [ { - "__id__": 89 + "__id__": 111 }, { - "__id__": 91 + "__id__": 113 } ], "_prefab": { - "__id__": 93 + "__id__": 115 }, "_lpos": { "__type__": "cc.Vec3", @@ -2109,11 +2604,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 88 + "__id__": 110 }, "_enabled": true, "__prefab": { - "__id__": 90 + "__id__": 112 }, "_contentSize": { "__type__": "cc.Size", @@ -2137,11 +2632,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 88 + "__id__": 110 }, "_enabled": true, "__prefab": { - "__id__": 92 + "__id__": 114 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2224,14 +2719,14 @@ "_active": false, "_components": [ { - "__id__": 95 + "__id__": 117 }, { - "__id__": 97 + "__id__": 119 } ], "_prefab": { - "__id__": 99 + "__id__": 121 }, "_lpos": { "__type__": "cc.Vec3", @@ -2268,11 +2763,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 94 + "__id__": 116 }, "_enabled": true, "__prefab": { - "__id__": 96 + "__id__": 118 }, "_contentSize": { "__type__": "cc.Size", @@ -2296,11 +2791,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 94 + "__id__": 116 }, "_enabled": true, "__prefab": { - "__id__": 98 + "__id__": 120 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2358,7 +2853,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 101 + "__id__": 123 }, "_contentSize": { "__type__": "cc.Size", @@ -2386,7 +2881,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 103 + "__id__": 125 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2428,7 +2923,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 105 + "__id__": 127 }, "_id": "" }, diff --git a/assets/resources/game/gui/hchip.prefab b/assets/resources/game/gui/hchip.prefab index 08cc330a..58e38ecb 100644 --- a/assets/resources/game/gui/hchip.prefab +++ b/assets/resources/game/gui/hchip.prefab @@ -31,26 +31,29 @@ "__id__": 29 }, { - "__id__": 43 + "__id__": 35 }, { "__id__": 49 }, { "__id__": 55 + }, + { + "__id__": 61 } ], "_active": true, "_components": [ { - "__id__": 61 + "__id__": 67 }, { - "__id__": 63 + "__id__": 69 } ], "_prefab": { - "__id__": 65 + "__id__": 71 }, "_lpos": { "__type__": "cc.Vec3", @@ -714,6 +717,142 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "ListFrame04_Single_f_Blue", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 30 + }, + { + "__id__": 32 + } + ], + "_prefab": { + "__id__": 34 + }, + "_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__": 29 + }, + "_enabled": true, + "__prefab": { + "__id__": 31 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 128, + "height": 130 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2agU4KPrpIfpmecPXGCJyJ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 29 + }, + "_enabled": true, + "__prefab": { + "__id__": 33 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@b9426", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1dagWlTkNNl6RUPCoHn99B" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "62BOGEqbpGCpEQEErq5Y56", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.Node", "_name": "hero", @@ -724,23 +863,23 @@ }, "_children": [ { - "__id__": 30 + "__id__": 36 } ], "_active": true, "_components": [ { - "__id__": 36 + "__id__": 42 }, { - "__id__": 38 + "__id__": 44 }, { - "__id__": 40 + "__id__": 46 } ], "_prefab": { - "__id__": 42 + "__id__": 48 }, "_lpos": { "__type__": "cc.Vec3", @@ -777,25 +916,25 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 29 + "__id__": 35 }, "_children": [], "_active": true, "_components": [ { - "__id__": 31 + "__id__": 37 }, { - "__id__": 33 + "__id__": 39 } ], "_prefab": { - "__id__": 35 + "__id__": 41 }, "_lpos": { "__type__": "cc.Vec3", - "x": 4.996, - "y": -50.051, + "x": 6.915, + "y": -53.508, "z": 0 }, "_lrot": { @@ -807,8 +946,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.5, - "y": 0.5, + "x": 0.55, + "y": 0.55, "z": 1 }, "_mobility": 0, @@ -827,11 +966,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 30 + "__id__": 36 }, "_enabled": true, "__prefab": { - "__id__": 32 + "__id__": 38 }, "_contentSize": { "__type__": "cc.Size", @@ -855,11 +994,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 30 + "__id__": 36 }, "_enabled": true, "__prefab": { - "__id__": 34 + "__id__": 40 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -913,11 +1052,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 29 + "__id__": 35 }, "_enabled": true, "__prefab": { - "__id__": 37 + "__id__": 43 }, "_contentSize": { "__type__": "cc.Size", @@ -941,11 +1080,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 29 + "__id__": 35 }, "_enabled": true, "__prefab": { - "__id__": 39 + "__id__": 45 }, "_type": 0, "_inverted": false, @@ -963,11 +1102,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 29 + "__id__": 35 }, "_enabled": true, "__prefab": { - "__id__": 41 + "__id__": 47 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1028,14 +1167,14 @@ "_active": true, "_components": [ { - "__id__": 44 + "__id__": 50 }, { - "__id__": 46 + "__id__": 52 } ], "_prefab": { - "__id__": 48 + "__id__": 54 }, "_lpos": { "__type__": "cc.Vec3", @@ -1072,11 +1211,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 43 + "__id__": 49 }, "_enabled": true, "__prefab": { - "__id__": 45 + "__id__": 51 }, "_contentSize": { "__type__": "cc.Size", @@ -1100,11 +1239,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 43 + "__id__": 49 }, "_enabled": true, "__prefab": { - "__id__": 47 + "__id__": 53 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1187,14 +1326,14 @@ "_active": false, "_components": [ { - "__id__": 50 + "__id__": 56 }, { - "__id__": 52 + "__id__": 58 } ], "_prefab": { - "__id__": 54 + "__id__": 60 }, "_lpos": { "__type__": "cc.Vec3", @@ -1231,11 +1370,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 49 + "__id__": 55 }, "_enabled": true, "__prefab": { - "__id__": 51 + "__id__": 57 }, "_contentSize": { "__type__": "cc.Size", @@ -1259,11 +1398,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 49 + "__id__": 55 }, "_enabled": true, "__prefab": { - "__id__": 53 + "__id__": 59 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1323,14 +1462,14 @@ "_active": true, "_components": [ { - "__id__": 56 + "__id__": 62 }, { - "__id__": 58 + "__id__": 64 } ], "_prefab": { - "__id__": 60 + "__id__": 66 }, "_lpos": { "__type__": "cc.Vec3", @@ -1367,11 +1506,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 55 + "__id__": 61 }, "_enabled": true, "__prefab": { - "__id__": 57 + "__id__": 63 }, "_contentSize": { "__type__": "cc.Size", @@ -1395,11 +1534,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 55 + "__id__": 61 }, "_enabled": true, "__prefab": { - "__id__": 59 + "__id__": 65 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1457,7 +1596,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 62 + "__id__": 68 }, "_contentSize": { "__type__": "cc.Size", @@ -1485,7 +1624,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 64 + "__id__": 70 }, "_id": "" }, diff --git a/assets/resources/game/gui/hero_card.prefab b/assets/resources/game/gui/hero_card.prefab index e6b7a06e..cd21716c 100644 --- a/assets/resources/game/gui/hero_card.prefab +++ b/assets/resources/game/gui/hero_card.prefab @@ -22,28 +22,25 @@ "__id__": 2 }, { - "__id__": 14 + "__id__": 30 }, { - "__id__": 20 + "__id__": 36 }, { - "__id__": 40 + "__id__": 56 }, { - "__id__": 46 - }, - { - "__id__": 52 + "__id__": 62 }, { "__id__": 68 }, { - "__id__": 82 + "__id__": 84 }, { - "__id__": 88 + "__id__": 98 }, { "__id__": 104 @@ -56,25 +53,28 @@ }, { "__id__": 122 + }, + { + "__id__": 138 } ], "_active": true, "_components": [ { - "__id__": 128 + "__id__": 144 }, { - "__id__": 130 + "__id__": 146 }, { - "__id__": 132 + "__id__": 148 }, { - "__id__": 134 + "__id__": 150 } ], "_prefab": { - "__id__": 137 + "__id__": 153 }, "_lpos": { "__type__": "cc.Vec3", @@ -116,24 +116,30 @@ "_children": [ { "__id__": 3 + }, + { + "__id__": 9 + }, + { + "__id__": 17 } ], "_active": true, "_components": [ { - "__id__": 9 + "__id__": 25 }, { - "__id__": 11 + "__id__": 27 } ], "_prefab": { - "__id__": 13 + "__id__": 29 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -72.117, + "y": -81.42, "z": 0 }, "_lrot": { @@ -145,8 +151,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.9, - "y": 0.8, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -295,6 +301,356 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "CardFrame03_n_Bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 10 + }, + { + "__id__": 12 + }, + { + "__id__": 14 + } + ], + "_prefab": { + "__id__": 16 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 95, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 9 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 160, + "height": 190 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "23b3R5XcpIf6TCaHwMFZeY" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 9 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 80, + "g": 154, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "260d01c4-5936-4c90-8ff9-b892c60b2e48@8ed5b", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "447ZF13B9I0K3VErEt0VZJ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 9 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "_alignFlags": 41, + "_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": 140, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8e/l3/345BtaHuqgPTKvkl" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d7ADKerkFGgbcszyQFxJBc", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "CardFrame03_n_InnerBg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 18 + }, + { + "__id__": 20 + }, + { + "__id__": 22 + } + ], + "_prefab": { + "__id__": 24 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 118, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 19 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 136, + "height": 120 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b3Wc8YkYRPZYQYy4uNvp/L" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 21 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 133, + "g": 188, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "260d01c4-5936-4c90-8ff9-b892c60b2e48@e230b", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "55HxuHUmhHc6Gm8BCzTMdC" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "_alignFlags": 41, + "_target": null, + "_left": 12, + "_right": 12, + "_top": 12, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 130, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bbe6WvQMBH/b302ogpOB/7" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "feZ3tMV8JJiIAoYkJUavvC", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -305,12 +661,12 @@ }, "_enabled": true, "__prefab": { - "__id__": 10 + "__id__": 26 }, "_contentSize": { "__type__": "cc.Size", - "width": 170, - "height": 220 + "width": 160, + "height": 190 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -331,9 +687,9 @@ "node": { "__id__": 2 }, - "_enabled": true, + "_enabled": false, "__prefab": { - "__id__": 12 + "__id__": 28 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -393,14 +749,14 @@ "_active": false, "_components": [ { - "__id__": 15 + "__id__": 31 }, { - "__id__": 17 + "__id__": 33 } ], "_prefab": { - "__id__": 19 + "__id__": 35 }, "_lpos": { "__type__": "cc.Vec3", @@ -437,11 +793,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 14 + "__id__": 30 }, "_enabled": true, "__prefab": { - "__id__": 16 + "__id__": 32 }, "_contentSize": { "__type__": "cc.Size", @@ -465,11 +821,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 14 + "__id__": 30 }, "_enabled": true, "__prefab": { - "__id__": 18 + "__id__": 34 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -527,31 +883,31 @@ }, "_children": [ { - "__id__": 21 + "__id__": 37 }, { - "__id__": 27 + "__id__": 43 } ], "_active": true, "_components": [ { - "__id__": 33 + "__id__": 49 }, { - "__id__": 35 + "__id__": 51 }, { - "__id__": 37 + "__id__": 53 } ], "_prefab": { - "__id__": 39 + "__id__": 55 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 48.112, + "y": -14.471, "z": 0 }, "_lrot": { @@ -563,8 +919,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 1.4, + "y": 1.4, "z": 1 }, "_mobility": 0, @@ -583,20 +939,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 20 + "__id__": 36 }, "_children": [], "_active": false, "_components": [ { - "__id__": 22 + "__id__": 38 }, { - "__id__": 24 + "__id__": 40 } ], "_prefab": { - "__id__": 26 + "__id__": 42 }, "_lpos": { "__type__": "cc.Vec3", @@ -633,11 +989,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 21 + "__id__": 37 }, "_enabled": true, "__prefab": { - "__id__": 23 + "__id__": 39 }, "_contentSize": { "__type__": "cc.Size", @@ -661,11 +1017,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 21 + "__id__": 37 }, "_enabled": true, "__prefab": { - "__id__": 25 + "__id__": 41 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -719,20 +1075,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 20 + "__id__": 36 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { - "__id__": 28 + "__id__": 44 }, { - "__id__": 30 + "__id__": 46 } ], "_prefab": { - "__id__": 32 + "__id__": 48 }, "_lpos": { "__type__": "cc.Vec3", @@ -749,8 +1105,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.5, - "y": 0.5, + "x": 0.6, + "y": 0.6, "z": 1 }, "_mobility": 0, @@ -769,11 +1125,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 27 + "__id__": 43 }, "_enabled": true, "__prefab": { - "__id__": 29 + "__id__": 45 }, "_contentSize": { "__type__": "cc.Size", @@ -797,11 +1153,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 27 + "__id__": 43 }, "_enabled": true, "__prefab": { - "__id__": 31 + "__id__": 47 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -855,11 +1211,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 20 + "__id__": 36 }, "_enabled": true, "__prefab": { - "__id__": 34 + "__id__": 50 }, "_contentSize": { "__type__": "cc.Size", @@ -869,7 +1225,7 @@ "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, - "y": 0.5 + "y": 0 }, "_id": "" }, @@ -883,12 +1239,12 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 20 - }, - "_enabled": true, - "__prefab": { "__id__": 36 }, + "_enabled": false, + "__prefab": { + "__id__": 52 + }, "_type": 0, "_inverted": false, "_segments": 64, @@ -905,11 +1261,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 20 + "__id__": 36 }, - "_enabled": true, + "_enabled": false, "__prefab": { - "__id__": 38 + "__id__": 54 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -970,19 +1326,19 @@ "_active": true, "_components": [ { - "__id__": 41 + "__id__": 57 }, { - "__id__": 43 + "__id__": 59 } ], "_prefab": { - "__id__": 45 + "__id__": 61 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, - "y": -24.404, + "x": -0.846, + "y": -32.016, "z": 0 }, "_lrot": { @@ -1014,11 +1370,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 40 + "__id__": 56 }, "_enabled": true, "__prefab": { - "__id__": 42 + "__id__": 58 }, "_contentSize": { "__type__": "cc.Size", @@ -1042,11 +1398,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 40 + "__id__": 56 }, "_enabled": true, "__prefab": { - "__id__": 44 + "__id__": 60 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1129,19 +1485,19 @@ "_active": true, "_components": [ { - "__id__": 47 + "__id__": 63 }, { - "__id__": 49 + "__id__": 65 } ], "_prefab": { - "__id__": 51 + "__id__": 67 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -87.465, + "y": -91.694, "z": 0 }, "_lrot": { @@ -1173,11 +1529,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 46 + "__id__": 62 }, "_enabled": true, "__prefab": { - "__id__": 48 + "__id__": 64 }, "_contentSize": { "__type__": "cc.Size", @@ -1201,11 +1557,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 46 + "__id__": 62 }, "_enabled": true, "__prefab": { - "__id__": 50 + "__id__": 66 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1286,20 +1642,20 @@ }, "_children": [ { - "__id__": 53 + "__id__": 69 }, { - "__id__": 59 + "__id__": 75 } ], "_active": false, "_components": [ { - "__id__": 65 + "__id__": 81 } ], "_prefab": { - "__id__": 67 + "__id__": 83 }, "_lpos": { "__type__": "cc.Vec3", @@ -1336,20 +1692,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 52 + "__id__": 68 }, "_children": [], "_active": true, "_components": [ { - "__id__": 54 + "__id__": 70 }, { - "__id__": 56 + "__id__": 72 } ], "_prefab": { - "__id__": 58 + "__id__": 74 }, "_lpos": { "__type__": "cc.Vec3", @@ -1386,11 +1742,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 53 + "__id__": 69 }, "_enabled": true, "__prefab": { - "__id__": 55 + "__id__": 71 }, "_contentSize": { "__type__": "cc.Size", @@ -1414,11 +1770,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 53 + "__id__": 69 }, "_enabled": true, "__prefab": { - "__id__": 57 + "__id__": 73 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1472,20 +1828,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 52 + "__id__": 68 }, "_children": [], "_active": true, "_components": [ { - "__id__": 60 + "__id__": 76 }, { - "__id__": 62 + "__id__": 78 } ], "_prefab": { - "__id__": 64 + "__id__": 80 }, "_lpos": { "__type__": "cc.Vec3", @@ -1522,11 +1878,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 59 + "__id__": 75 }, "_enabled": true, "__prefab": { - "__id__": 61 + "__id__": 77 }, "_contentSize": { "__type__": "cc.Size", @@ -1550,11 +1906,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 59 + "__id__": 75 }, "_enabled": true, "__prefab": { - "__id__": 63 + "__id__": 79 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1631,11 +1987,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 52 + "__id__": 68 }, "_enabled": true, "__prefab": { - "__id__": 66 + "__id__": 82 }, "_contentSize": { "__type__": "cc.Size", @@ -1676,28 +2032,28 @@ }, "_children": [ { - "__id__": 69 + "__id__": 85 } ], "_active": true, "_components": [ { - "__id__": 75 + "__id__": 91 }, { - "__id__": 77 + "__id__": 93 }, { - "__id__": 79 + "__id__": 95 } ], "_prefab": { - "__id__": 81 + "__id__": 97 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -48.887, + "y": -57.345, "z": 0 }, "_lrot": { @@ -1729,24 +2085,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 68 + "__id__": 84 }, "_children": [], "_active": true, "_components": [ { - "__id__": 70 + "__id__": 86 }, { - "__id__": 72 + "__id__": 88 } ], "_prefab": { - "__id__": 74 + "__id__": 90 }, "_lpos": { "__type__": "cc.Vec3", - "x": -70, + "x": -65, "y": 0, "z": 0 }, @@ -1779,15 +2135,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 69 + "__id__": 85 }, "_enabled": true, "__prefab": { - "__id__": 71 + "__id__": 87 }, "_contentSize": { "__type__": "cc.Size", - "width": 140, + "width": 130, "height": 25 }, "_anchorPoint": { @@ -1807,11 +2163,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 69 + "__id__": 85 }, "_enabled": true, "__prefab": { - "__id__": 73 + "__id__": 89 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1865,15 +2221,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 68 + "__id__": 84 }, "_enabled": true, "__prefab": { - "__id__": 76 + "__id__": 92 }, "_contentSize": { "__type__": "cc.Size", - "width": 140, + "width": 130, "height": 25 }, "_anchorPoint": { @@ -1893,11 +2249,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 68 + "__id__": 84 }, "_enabled": true, "__prefab": { - "__id__": 78 + "__id__": 94 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1938,17 +2294,17 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 68 + "__id__": 84 }, "_enabled": true, "__prefab": { - "__id__": 80 + "__id__": 96 }, "_barSprite": { - "__id__": 72 + "__id__": 88 }, "_mode": 0, - "_totalLength": 140, + "_totalLength": 130, "_progress": 1, "_reverse": false, "_id": "" @@ -1972,153 +2328,13 @@ }, { "__type__": "cc.Node", - "_name": "line_bg", + "_name": "num", "_objFlags": 0, "__editorExtras__": {}, "_parent": { "__id__": 1 }, "_children": [], - "_active": false, - "_components": [ - { - "__id__": 83 - }, - { - "__id__": 85 - } - ], - "_prefab": { - "__id__": 87 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": -48.717, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 0.54, - "y": 0.33, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 82 - }, - "_enabled": true, - "__prefab": { - "__id__": 84 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 270, - "height": 80 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "7e5Ki8CQREBpK8HPJJOKry" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 82 - }, - "_enabled": true, - "__prefab": { - "__id__": 86 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 0, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@b36c4", - "__expectedType__": "cc.SpriteFrame" - }, - "_type": 1, - "_fillType": 0, - "_sizeMode": 0, - "_fillCenter": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_fillStart": 0, - "_fillRange": 0, - "_isTrimmedMode": true, - "_useGrayscale": false, - "_atlas": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "96D9UHziJCJqIJ2DDVpEdy" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "69/bOqEj5LQqRDf2n0lZ9T", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "up", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 89 - } - ], "_active": true, "_components": [ { @@ -2133,8 +2349,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 63.754, - "y": 92.236, + "x": -38.859, + "y": -57.032, "z": 0 }, "_lrot": { @@ -2146,8 +2362,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.6, - "y": 0.6, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -2161,501 +2377,17 @@ "_id": "" }, { - "__type__": "cc.Node", - "_name": "Node", + "__type__": "cc.UITransform", + "_name": "", "_objFlags": 0, "__editorExtras__": {}, - "_parent": { - "__id__": 88 - }, - "_children": [ - { - "__id__": 90 - } - ], - "_active": true, - "_components": [ - { - "__id__": 96 - } - ], - "_prefab": { + "node": { "__id__": 98 }, - "_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": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "Slider_Level02_Icon_Up_Green", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 89 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 91 - }, - { - "__id__": 93 - } - ], - "_prefab": { - "__id__": 95 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": -228.983, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 90 - }, - "_enabled": true, - "__prefab": { - "__id__": 92 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 54, - "height": 64 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "24r7U0OjJNvqD3FiDFcR13" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 90 - }, - "_enabled": true, - "__prefab": { - "__id__": 94 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@f082c", - "__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": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "fdkygwQ7xDmpzOd/pujnf2" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "a7mjj38XNL2q1nz85ImXbB", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 89 - }, - "_enabled": true, - "__prefab": { - "__id__": 97 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "59wTXzAlFGxKY1FiZcPmZ7" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "9ee/EkFDhBsJ6PZNGHkvPl", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 88 - }, "_enabled": true, "__prefab": { "__id__": 100 }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "f1rhsU/IZAXrLCBTTbWAro" - }, - { - "__type__": "cc.Animation", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 88 - }, - "_enabled": true, - "__prefab": { - "__id__": 102 - }, - "playOnLoad": true, - "_clips": [ - { - "__uuid__": "9599753d-1da0-4b0c-8e4a-8293c3035393", - "__expectedType__": "cc.AnimationClip" - } - ], - "_defaultClip": { - "__uuid__": "9599753d-1da0-4b0c-8e4a-8293c3035393", - "__expectedType__": "cc.AnimationClip" - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "bb2NsFXLBGKaynnNEf86Iq" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "3dA2PQm/hKjphBfBPuNR2h", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "lock", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": false, - "_components": [ - { - "__id__": 105 - }, - { - "__id__": 107 - } - ], - "_prefab": { - "__id__": 109 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 20.052, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 104 - }, - "_enabled": true, - "__prefab": { - "__id__": 106 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 71, - "height": 93 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "654mnzJpVDzJJKcyX84Ne0" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 104 - }, - "_enabled": true, - "__prefab": { - "__id__": 108 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@cebb2", - "__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": null, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "4b/zqVpgRCRaOYrjCytFES" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "73lun4U/ZCyJxV8iXIxj/t", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "num", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 111 - }, - { - "__id__": 113 - } - ], - "_prefab": { - "__id__": 115 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -38.859, - "y": -48.574, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 33554432, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 110 - }, - "_enabled": true, - "__prefab": { - "__id__": 112 - }, "_contentSize": { "__type__": "cc.Size", "width": 70, @@ -2678,11 +2410,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 110 + "__id__": 98 }, "_enabled": true, "__prefab": { - "__id__": 114 + "__id__": 102 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2765,19 +2497,19 @@ "_active": true, "_components": [ { - "__id__": 117 + "__id__": 105 }, { - "__id__": 119 + "__id__": 107 } ], "_prefab": { - "__id__": 121 + "__id__": 109 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -48.573999999999955, + "y": -57.032, "z": 0 }, "_lrot": { @@ -2809,11 +2541,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 116 + "__id__": 104 }, "_enabled": true, "__prefab": { - "__id__": 118 + "__id__": 106 }, "_contentSize": { "__type__": "cc.Size", @@ -2837,11 +2569,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 116 + "__id__": 104 }, "_enabled": true, "__prefab": { - "__id__": 120 + "__id__": 108 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2924,19 +2656,19 @@ "_active": true, "_components": [ { - "__id__": 123 + "__id__": 111 }, { - "__id__": 125 + "__id__": 113 } ], "_prefab": { - "__id__": 127 + "__id__": 115 }, "_lpos": { "__type__": "cc.Vec3", "x": 36.21, - "y": -48.574, + "y": -57.032, "z": 0 }, "_lrot": { @@ -2968,11 +2700,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 110 }, "_enabled": true, "__prefab": { - "__id__": 124 + "__id__": 112 }, "_contentSize": { "__type__": "cc.Size", @@ -2996,11 +2728,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 110 }, "_enabled": true, "__prefab": { - "__id__": 126 + "__id__": 114 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3071,6 +2803,630 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "line_bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 117 + }, + { + "__id__": 119 + } + ], + "_prefab": { + "__id__": 121 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -48.717, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.54, + "y": 0.33, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 116 + }, + "_enabled": true, + "__prefab": { + "__id__": 118 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 270, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7e5Ki8CQREBpK8HPJJOKry" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 116 + }, + "_enabled": true, + "__prefab": { + "__id__": 120 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@b36c4", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "96D9UHziJCJqIJ2DDVpEdy" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "69/bOqEj5LQqRDf2n0lZ9T", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "up", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 123 + } + ], + "_active": true, + "_components": [ + { + "__id__": 133 + }, + { + "__id__": 135 + } + ], + "_prefab": { + "__id__": 137 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 58.751, + "y": 95.082, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.6, + "y": 0.6, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Node", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 122 + }, + "_children": [ + { + "__id__": 124 + } + ], + "_active": true, + "_components": [ + { + "__id__": 130 + } + ], + "_prefab": { + "__id__": 132 + }, + "_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": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "Slider_Level02_Icon_Up_Green", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 123 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 125 + }, + { + "__id__": 127 + } + ], + "_prefab": { + "__id__": 129 + }, + "_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": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 124 + }, + "_enabled": true, + "__prefab": { + "__id__": 126 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 54, + "height": 64 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "24r7U0OjJNvqD3FiDFcR13" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 124 + }, + "_enabled": true, + "__prefab": { + "__id__": 128 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@f082c", + "__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": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "fdkygwQ7xDmpzOd/pujnf2" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a7mjj38XNL2q1nz85ImXbB", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 123 + }, + "_enabled": true, + "__prefab": { + "__id__": 131 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "59wTXzAlFGxKY1FiZcPmZ7" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9ee/EkFDhBsJ6PZNGHkvPl", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 122 + }, + "_enabled": true, + "__prefab": { + "__id__": 134 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f1rhsU/IZAXrLCBTTbWAro" + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 122 + }, + "_enabled": true, + "__prefab": { + "__id__": 136 + }, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "9599753d-1da0-4b0c-8e4a-8293c3035393", + "__expectedType__": "cc.AnimationClip" + } + ], + "_defaultClip": { + "__uuid__": "9599753d-1da0-4b0c-8e4a-8293c3035393", + "__expectedType__": "cc.AnimationClip" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bb2NsFXLBGKaynnNEf86Iq" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "3dA2PQm/hKjphBfBPuNR2h", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "lock", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": false, + "_components": [ + { + "__id__": 139 + }, + { + "__id__": 141 + } + ], + "_prefab": { + "__id__": 143 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 20.052, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 138 + }, + "_enabled": true, + "__prefab": { + "__id__": 140 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 71, + "height": 93 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "654mnzJpVDzJJKcyX84Ne0" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 138 + }, + "_enabled": true, + "__prefab": { + "__id__": 142 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@cebb2", + "__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": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4b/zqVpgRCRaOYrjCytFES" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "73lun4U/ZCyJxV8iXIxj/t", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -3081,7 +3437,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 129 + "__id__": 145 }, "_contentSize": { "__type__": "cc.Size", @@ -3109,7 +3465,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 131 + "__id__": 147 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3151,7 +3507,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 133 + "__id__": 149 }, "_id": "" }, @@ -3169,11 +3525,11 @@ }, "_enabled": true, "__prefab": { - "__id__": 135 + "__id__": 151 }, "clickEvents": [ { - "__id__": 136 + "__id__": 152 } ], "_interactable": true, diff --git a/assets/resources/game/gui/hero_set.prefab b/assets/resources/game/gui/hero_set.prefab index d2fe1ef8..e497f91a 100644 --- a/assets/resources/game/gui/hero_set.prefab +++ b/assets/resources/game/gui/hero_set.prefab @@ -22,38 +22,38 @@ "__id__": 2 }, { - "__id__": 14 + "__id__": 30 }, { - "__id__": 28 + "__id__": 44 }, { - "__id__": 34 - }, - { - "__id__": 40 + "__id__": 50 }, { "__id__": 56 + }, + { + "__id__": 72 } ], "_active": true, "_components": [ { - "__id__": 62 + "__id__": 78 }, { - "__id__": 64 + "__id__": 80 }, { - "__id__": 66 + "__id__": 82 }, { - "__id__": 69 + "__id__": 85 } ], "_prefab": { - "__id__": 71 + "__id__": 87 }, "_lpos": { "__type__": "cc.Vec3", @@ -95,24 +95,30 @@ "_children": [ { "__id__": 3 + }, + { + "__id__": 9 + }, + { + "__id__": 17 } ], "_active": true, "_components": [ { - "__id__": 9 + "__id__": 25 }, { - "__id__": 11 + "__id__": 27 } ], "_prefab": { - "__id__": 13 + "__id__": 29 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -76.863, + "y": -3.747, "z": 0 }, "_lrot": { @@ -124,8 +130,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.5, - "y": 0.5, + "x": 1, + "y": 1, "z": 1 }, "_mobility": 0, @@ -147,7 +153,7 @@ "__id__": 2 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { "__id__": 4 @@ -161,8 +167,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, - "y": 174.048, + "x": 3.384, + "y": 158.432, "z": 0 }, "_lrot": { @@ -174,7 +180,7 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1.6, + "x": 1.4, "y": 1.4, "z": 1 }, @@ -214,7 +220,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "03864UDIpAD6OPhEJiME7T" + "fileId": "d1vZ8dLaJHnqvKJjdpnkdW" }, { "__type__": "cc.Sprite", @@ -233,9 +239,9 @@ "_dstBlendFactor": 4, "_color": { "__type__": "cc.Color", - "r": 145, - "g": 141, - "b": 141, + "r": 117, + "g": 115, + "b": 115, "a": 255 }, "_spriteFrame": { @@ -259,7 +265,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "3eHSvg08RLn4x53DUnoqqP" + "fileId": "7aKx9YsN5OlrYCGew4IjQr" }, { "__type__": "cc.PrefabInfo", @@ -269,7 +275,357 @@ "asset": { "__id__": 0 }, - "fileId": "3aPrSrLWVPPYaOFw5MAd1o", + "fileId": "63PcHk6I1LybN3X1drWO3p", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "CardFrame03_n_Bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 10 + }, + { + "__id__": 12 + }, + { + "__id__": 14 + } + ], + "_prefab": { + "__id__": 16 + }, + "_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": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 9 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 145, + "height": 160 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "05Tn5tejJG4oiZ7+bEaBtu" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 9 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 80, + "g": 154, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "260d01c4-5936-4c90-8ff9-b892c60b2e48@8ed5b", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5cPEtz5HhDvpHcMbc93A6x" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 9 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "_alignFlags": 45, + "_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": 140, + "_originalHeight": 160, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3aZRpSJjZGbpwCFJYVodbI" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "2fKIfeXoxPcI/3Wq2E1Jzx", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "CardFrame03_n_InnerBg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 18 + }, + { + "__id__": 20 + }, + { + "__id__": 22 + } + ], + "_prefab": { + "__id__": 24 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 14, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 19 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 121, + "height": 108 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2a4mX7Ye5NVquKo3n6AL6w" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 21 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 133, + "g": 188, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "260d01c4-5936-4c90-8ff9-b892c60b2e48@e230b", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 1, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "38YE/ZQilHcq55fTOJkWVP" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "_alignFlags": 45, + "_target": null, + "_left": 12, + "_right": 12, + "_top": 12, + "_bottom": 40, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 130, + "_originalHeight": 120, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0d7bQeNx9EraXghOW6wH9S" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "170ILD+CVAr5Nj9bKND5qP", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -284,23 +640,23 @@ }, "_enabled": true, "__prefab": { - "__id__": 10 + "__id__": 26 }, "_contentSize": { "__type__": "cc.Size", - "width": 270, - "height": 320 + "width": 145, + "height": 160 }, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, - "y": 0 + "y": 0.5 }, "_id": "" }, { "__type__": "cc.CompPrefabInfo", - "fileId": "d73m+6mWxHMbW5QE1RcNPo" + "fileId": "07zHRWFm9HppYpCG2WbTty" }, { "__type__": "cc.Sprite", @@ -310,9 +666,9 @@ "node": { "__id__": 2 }, - "_enabled": true, + "_enabled": false, "__prefab": { - "__id__": 12 + "__id__": 28 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -345,7 +701,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "69UiHzAq9JL6rcoi5Q1nzE" + "fileId": "968nWWGGtOzIbDB5S+Skem" }, { "__type__": "cc.PrefabInfo", @@ -355,7 +711,7 @@ "asset": { "__id__": 0 }, - "fileId": "c0milzaOFAeajzeOztocv4", + "fileId": "e7puIbDkhCSbJc8oG4zamJ", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null @@ -370,28 +726,28 @@ }, "_children": [ { - "__id__": 15 + "__id__": 31 } ], "_active": true, "_components": [ { - "__id__": 21 + "__id__": 37 }, { - "__id__": 23 + "__id__": 39 }, { - "__id__": 25 + "__id__": 41 } ], "_prefab": { - "__id__": 27 + "__id__": 43 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 21.751, + "y": -36.954, "z": 0 }, "_lrot": { @@ -403,8 +759,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 1.2, + "y": 1.2, "z": 1 }, "_mobility": 0, @@ -423,24 +779,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 14 + "__id__": 30 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { - "__id__": 16 + "__id__": 32 }, { - "__id__": 18 + "__id__": 34 } ], "_prefab": { - "__id__": 20 + "__id__": 36 }, "_lpos": { "__type__": "cc.Vec3", - "x": -1.181, + "x": 3, "y": -88.258, "z": 0 }, @@ -453,8 +809,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.7, - "y": 0.7, + "x": 0.5, + "y": 0.5, "z": 1 }, "_mobility": 0, @@ -473,16 +829,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 15 + "__id__": 31 }, "_enabled": true, "__prefab": { - "__id__": 17 + "__id__": 33 }, "_contentSize": { "__type__": "cc.Size", - "width": 160, - "height": 202 + "width": 185, + "height": 213 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -501,11 +857,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 15 + "__id__": 31 }, "_enabled": true, "__prefab": { - "__id__": 19 + "__id__": 35 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -559,11 +915,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 14 + "__id__": 30 }, "_enabled": true, "__prefab": { - "__id__": 22 + "__id__": 38 }, "_contentSize": { "__type__": "cc.Size", @@ -573,7 +929,7 @@ "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, - "y": 0.5 + "y": 0 }, "_id": "" }, @@ -587,11 +943,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 14 + "__id__": 30 }, - "_enabled": true, + "_enabled": false, "__prefab": { - "__id__": 24 + "__id__": 40 }, "_type": 0, "_inverted": false, @@ -609,11 +965,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 14 + "__id__": 30 }, - "_enabled": true, + "_enabled": false, "__prefab": { - "__id__": 26 + "__id__": 42 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -674,19 +1030,19 @@ "_active": true, "_components": [ { - "__id__": 29 + "__id__": 45 }, { - "__id__": 31 + "__id__": 47 } ], "_prefab": { - "__id__": 33 + "__id__": 49 }, "_lpos": { "__type__": "cc.Vec3", - "x": 19.718, - "y": 66.227, + "x": 41.216, + "y": 57.484, "z": 0 }, "_lrot": { @@ -698,8 +1054,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.4, - "y": 0.4, + "x": 0.8, + "y": 1, "z": 1 }, "_mobility": 0, @@ -718,11 +1074,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 28 + "__id__": 44 }, "_enabled": true, "__prefab": { - "__id__": 30 + "__id__": 46 }, "_contentSize": { "__type__": "cc.Size", @@ -746,11 +1102,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 28 + "__id__": 44 }, "_enabled": true, "__prefab": { - "__id__": 32 + "__id__": 48 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -763,12 +1119,12 @@ "a": 255 }, "_string": "111", - "_horizontalAlign": 2, + "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 41, - "_fontSize": 40, + "_actualFontSize": 21, + "_fontSize": 20, "_fontFamily": "Arial", - "_lineHeight": 40, + "_lineHeight": 24.6, "_overflow": 2, "_enableWrapText": true, "_font": null, @@ -833,19 +1189,19 @@ "_active": true, "_components": [ { - "__id__": 35 + "__id__": 51 }, { - "__id__": 37 + "__id__": 53 } ], "_prefab": { - "__id__": 39 + "__id__": 55 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -55.089, + "y": -57.587, "z": 0 }, "_lrot": { @@ -877,11 +1233,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 34 + "__id__": 50 }, "_enabled": true, "__prefab": { - "__id__": 36 + "__id__": 52 }, "_contentSize": { "__type__": "cc.Size", @@ -905,11 +1261,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 34 + "__id__": 50 }, "_enabled": true, "__prefab": { - "__id__": 38 + "__id__": 54 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -924,8 +1280,8 @@ "_string": "name", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 21, - "_fontSize": 20, + "_actualFontSize": 26, + "_fontSize": 25, "_fontFamily": "Arial", "_lineHeight": 25, "_overflow": 2, @@ -990,20 +1346,20 @@ }, "_children": [ { - "__id__": 41 + "__id__": 57 }, { - "__id__": 47 + "__id__": 63 } ], - "_active": true, + "_active": false, "_components": [ { - "__id__": 53 + "__id__": 69 } ], "_prefab": { - "__id__": 55 + "__id__": 71 }, "_lpos": { "__type__": "cc.Vec3", @@ -1040,20 +1396,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 40 + "__id__": 56 }, "_children": [], "_active": true, "_components": [ { - "__id__": 42 + "__id__": 58 }, { - "__id__": 44 + "__id__": 60 } ], "_prefab": { - "__id__": 46 + "__id__": 62 }, "_lpos": { "__type__": "cc.Vec3", @@ -1090,11 +1446,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 41 + "__id__": 57 }, "_enabled": true, "__prefab": { - "__id__": 43 + "__id__": 59 }, "_contentSize": { "__type__": "cc.Size", @@ -1118,11 +1474,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 41 + "__id__": 57 }, "_enabled": true, "__prefab": { - "__id__": 45 + "__id__": 61 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1176,20 +1532,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 40 + "__id__": 56 }, "_children": [], "_active": true, "_components": [ { - "__id__": 48 + "__id__": 64 }, { - "__id__": 50 + "__id__": 66 } ], "_prefab": { - "__id__": 52 + "__id__": 68 }, "_lpos": { "__type__": "cc.Vec3", @@ -1226,11 +1582,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 47 + "__id__": 63 }, "_enabled": true, "__prefab": { - "__id__": 49 + "__id__": 65 }, "_contentSize": { "__type__": "cc.Size", @@ -1254,11 +1610,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 47 + "__id__": 63 }, "_enabled": true, "__prefab": { - "__id__": 51 + "__id__": 67 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1335,11 +1691,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 40 + "__id__": 56 }, "_enabled": true, "__prefab": { - "__id__": 54 + "__id__": 70 }, "_contentSize": { "__type__": "cc.Size", @@ -1382,14 +1738,14 @@ "_active": false, "_components": [ { - "__id__": 57 + "__id__": 73 }, { - "__id__": 59 + "__id__": 75 } ], "_prefab": { - "__id__": 61 + "__id__": 77 }, "_lpos": { "__type__": "cc.Vec3", @@ -1426,11 +1782,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 56 + "__id__": 72 }, "_enabled": true, "__prefab": { - "__id__": 58 + "__id__": 74 }, "_contentSize": { "__type__": "cc.Size", @@ -1454,11 +1810,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 56 + "__id__": 72 }, "_enabled": true, "__prefab": { - "__id__": 60 + "__id__": 76 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1516,7 +1872,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 63 + "__id__": 79 }, "_contentSize": { "__type__": "cc.Size", @@ -1544,7 +1900,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 65 + "__id__": 81 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1586,11 +1942,11 @@ }, "_enabled": true, "__prefab": { - "__id__": 67 + "__id__": 83 }, "clickEvents": [ { - "__id__": 68 + "__id__": 84 } ], "_interactable": true, @@ -1656,7 +2012,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 70 + "__id__": 86 }, "_id": "" }, diff --git a/assets/resources/gui/gui2.plist b/assets/resources/gui/gui2.plist new file mode 100644 index 00000000..edc63165 --- /dev/null +++ b/assets/resources/gui/gui2.plist @@ -0,0 +1,400 @@ + + + + + frames + + Background_Stage01_Icon.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {252,195} + spriteSourceSize + {252,195} + textureRect + {{1,731},{252,195}} + textureRotated + + + Background_Stage02_icon.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {291,229} + spriteSourceSize + {291,229} + textureRect + {{1,251},{291,229}} + textureRotated + + + Background_Stage03_icon.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {235,200} + spriteSourceSize + {235,200} + textureRect + {{263,567},{235,200}} + textureRotated + + + Background_Stage04_icon.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {247,260} + spriteSourceSize + {247,260} + textureRect + {{1,482},{247,260}} + textureRotated + + + Background_Stage05_icon.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {250,210} + spriteSourceSize + {250,210} + textureRect + {{294,315},{250,210}} + textureRotated + + + CardFrame03_n_Bg.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {64,67} + spriteSourceSize + {64,67} + textureRect + {{317,1019},{64,67}} + textureRotated + + + CardFrame03_n_InnerBg.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {40,40} + spriteSourceSize + {40,40} + textureRect + {{113,1038},{40,40}} + textureRotated + + + CardFrame03_n_Light.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {56,56} + spriteSourceSize + {56,56} + textureRect + {{223,1024},{56,56}} + textureRotated + + + CardFrame04_FocusGlow.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {108,108} + spriteSourceSize + {108,108} + textureRect + {{113,928},{108,108}} + textureRotated + + + Image_Effect_Circle.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {37,37} + spriteSourceSize + {37,37} + textureRect + {{418,863},{37,37}} + textureRotated + + + Image_Effect_Light01_Sky.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {1,0} + spriteSize + {312,180} + spriteSourceSize + {314,184} + textureRect + {{321,1},{312,180}} + textureRotated + + + Image_Effect_Light01_Yellow.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {-2,0} + spriteSize + {305,180} + spriteSourceSize + {309,184} + textureRect + {{1,69},{305,180}} + textureRotated + + + Image_Effect_Light02.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {-1,0} + spriteSize + {202,92} + spriteSourceSize + {206,92} + textureRect + {{255,769},{202,92}} + textureRotated + + + Image_Effect_Light03.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {161,65} + spriteSourceSize + {161,65} + textureRect + {{255,863},{161,65}} + textureRotated + + + Image_Effect_Light04.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {318,66} + spriteSourceSize + {318,66} + textureRect + {{1,1},{318,66}} + textureRotated + + + Image_Effect_Square_Blue.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {87,87} + spriteSourceSize + {87,87} + textureRect + {{317,930},{87,87}} + textureRotated + + + Image_Effect_Square_Yellow.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {87,87} + spriteSourceSize + {87,87} + textureRect + {{406,997},{87,87}} + textureRotated + + + Image_Effect_Star01_Blue.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {92,92} + spriteSourceSize + {92,92} + textureRect + {{418,903},{92,92}} + textureRotated + + + Image_Effect_Star01_Yellow.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {92,92} + spriteSourceSize + {92,92} + textureRect + {{223,930},{92,92}} + textureRotated + + + ItemFrame00~03_CornerDeco.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {110,110} + spriteSourceSize + {110,110} + textureRect + {{1,928},{110,110}} + textureRotated + + + Title_Line01_Divider_Left.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {65,42} + spriteSourceSize + {65,42} + textureRect + {{459,769},{65,42}} + textureRotated + + + Title_Line01_Divider_Right.png + + aliases + + anchor + {0.5,0.5} + spriteOffset + {0,0} + spriteSize + {65,42} + spriteSourceSize + {65,42} + textureRect + {{459,836},{65,42}} + textureRotated + + + + metadata + + format + 3 + pixelFormat + RGBA8888 + premultiplyAlpha + + realTextureFileName + gui2.png + size + {511,1085} + smartupdate + $TexturePacker:SmartUpdate:1f5c5e46d0e7817ce652ca5a52b94bfd:b9ff5b23a2124bd3caf57edfcbbd0f33:02d895b6f8eccee3d27099fa0f66bd83$ + textureFileName + gui2.png + + + diff --git a/assets/resources/gui/gui2.plist.meta b/assets/resources/gui/gui2.plist.meta new file mode 100644 index 00000000..ea4ed4ef --- /dev/null +++ b/assets/resources/gui/gui2.plist.meta @@ -0,0 +1,1029 @@ +{ + "ver": "1.0.8", + "importer": "sprite-atlas", + "imported": true, + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48", + "files": [ + ".json" + ], + "subMetas": { + "55883": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@55883", + "displayName": "", + "id": "55883", + "name": "Background_Stage01_Icon", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 1, + "trimY": 731, + "width": 252, + "height": 195, + "rawWidth": 252, + "rawHeight": 195, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "94865": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@94865", + "displayName": "", + "id": "94865", + "name": "Image_Effect_Light02", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": -1, + "offsetY": 0, + "trimX": 255, + "trimY": 769, + "width": 202, + "height": 92, + "rawWidth": 206, + "rawHeight": 92, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "40c7e": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@40c7e", + "displayName": "", + "id": "40c7e", + "name": "Background_Stage02_icon", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 1, + "trimY": 251, + "width": 291, + "height": 229, + "rawWidth": 291, + "rawHeight": 229, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "be9cf": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@be9cf", + "displayName": "", + "id": "be9cf", + "name": "Background_Stage03_icon", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 263, + "trimY": 567, + "width": 235, + "height": 200, + "rawWidth": 235, + "rawHeight": 200, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "5e7b9": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@5e7b9", + "displayName": "", + "id": "5e7b9", + "name": "Background_Stage04_icon", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": true, + "offsetX": 0, + "offsetY": 0, + "trimX": 1, + "trimY": 482, + "width": 247, + "height": 260, + "rawWidth": 247, + "rawHeight": 260, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "c041f": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@c041f", + "displayName": "", + "id": "c041f", + "name": "Background_Stage05_icon", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": true, + "offsetX": 0, + "offsetY": 0, + "trimX": 294, + "trimY": 315, + "width": 250, + "height": 210, + "rawWidth": 250, + "rawHeight": 210, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "8ed5b": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@8ed5b", + "displayName": "", + "id": "8ed5b", + "name": "CardFrame03_n_Bg", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": true, + "offsetX": 0, + "offsetY": 0, + "trimX": 317, + "trimY": 1019, + "width": 64, + "height": 67, + "rawWidth": 64, + "rawHeight": 67, + "borderTop": 32, + "borderBottom": 32, + "borderLeft": 32, + "borderRight": 32, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "e230b": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@e230b", + "displayName": "", + "id": "e230b", + "name": "CardFrame03_n_InnerBg", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 113, + "trimY": 1038, + "width": 40, + "height": 40, + "rawWidth": 40, + "rawHeight": 40, + "borderTop": 20, + "borderBottom": 20, + "borderLeft": 20, + "borderRight": 20, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "6c895": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@6c895", + "displayName": "", + "id": "6c895", + "name": "CardFrame03_n_Light", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 223, + "trimY": 1024, + "width": 56, + "height": 56, + "rawWidth": 56, + "rawHeight": 56, + "borderTop": 27, + "borderBottom": 27, + "borderLeft": 27, + "borderRight": 27, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "b1490": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@b1490", + "displayName": "", + "id": "b1490", + "name": "CardFrame04_FocusGlow", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 113, + "trimY": 928, + "width": 108, + "height": 108, + "rawWidth": 108, + "rawHeight": 108, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "d353a": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@d353a", + "displayName": "", + "id": "d353a", + "name": "Image_Effect_Circle", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 418, + "trimY": 863, + "width": 37, + "height": 37, + "rawWidth": 37, + "rawHeight": 37, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f0f57": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@f0f57", + "displayName": "", + "id": "f0f57", + "name": "Image_Effect_Light01_Sky", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": true, + "offsetX": 1, + "offsetY": 0, + "trimX": 321, + "trimY": 1, + "width": 312, + "height": 180, + "rawWidth": 314, + "rawHeight": 184, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "98bc3": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@98bc3", + "displayName": "", + "id": "98bc3", + "name": "Image_Effect_Light01_Yellow", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": -2, + "offsetY": 0, + "trimX": 1, + "trimY": 69, + "width": 305, + "height": 180, + "rawWidth": 309, + "rawHeight": 184, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "1d839": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@1d839", + "displayName": "", + "id": "1d839", + "name": "Image_Effect_Light03", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 255, + "trimY": 863, + "width": 161, + "height": 65, + "rawWidth": 161, + "rawHeight": 65, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "79ac1": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@79ac1", + "displayName": "", + "id": "79ac1", + "name": "Image_Effect_Light04", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 1, + "trimY": 1, + "width": 318, + "height": 66, + "rawWidth": 318, + "rawHeight": 66, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "54f7c": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@54f7c", + "displayName": "", + "id": "54f7c", + "name": "Image_Effect_Square_Blue", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 317, + "trimY": 930, + "width": 87, + "height": 87, + "rawWidth": 87, + "rawHeight": 87, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "df465": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@df465", + "displayName": "", + "id": "df465", + "name": "Image_Effect_Square_Yellow", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 406, + "trimY": 997, + "width": 87, + "height": 87, + "rawWidth": 87, + "rawHeight": 87, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "37ee6": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@37ee6", + "displayName": "", + "id": "37ee6", + "name": "Image_Effect_Star01_Blue", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 418, + "trimY": 903, + "width": 92, + "height": 92, + "rawWidth": 92, + "rawHeight": 92, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "ce362": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@ce362", + "displayName": "", + "id": "ce362", + "name": "Image_Effect_Star01_Yellow", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 223, + "trimY": 930, + "width": 92, + "height": 92, + "rawWidth": 92, + "rawHeight": 92, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "7bd73": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@7bd73", + "displayName": "", + "id": "7bd73", + "name": "ItemFrame00~03_CornerDeco", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 1, + "trimY": 928, + "width": 110, + "height": 110, + "rawWidth": 110, + "rawHeight": 110, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "71ae6": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@71ae6", + "displayName": "", + "id": "71ae6", + "name": "Title_Line01_Divider_Left", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": true, + "offsetX": 0, + "offsetY": 0, + "trimX": 459, + "trimY": 769, + "width": 65, + "height": 42, + "rawWidth": 65, + "rawHeight": 42, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "b64ba": { + "importer": "sprite-frame", + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48@b64ba", + "displayName": "", + "id": "b64ba", + "name": "Title_Line01_Divider_Right", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": true, + "offsetX": 0, + "offsetY": 0, + "trimX": 459, + "trimY": 836, + "width": 65, + "height": 42, + "rawWidth": 65, + "rawHeight": 42, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [], + "indexes": [], + "uv": [], + "nuv": [], + "minPos": [], + "maxPos": [] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "atlasUuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "atlasTextureName": "gui2.png", + "format": 3, + "uuid": "260d01c4-5936-4c90-8ff9-b892c60b2e48", + "textureUuid": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a" + } +} diff --git a/assets/resources/gui/gui2.png b/assets/resources/gui/gui2.png new file mode 100644 index 00000000..da5340b7 Binary files /dev/null and b/assets/resources/gui/gui2.png differ diff --git a/assets/resources/gui/gui2.png.meta b/assets/resources/gui/gui2.png.meta new file mode 100644 index 00000000..c0655ca0 --- /dev/null +++ b/assets/resources/gui/gui2.png.meta @@ -0,0 +1,42 @@ +{ + "ver": "1.0.26", + "importer": "image", + "imported": true, + "uuid": "486aac0a-12a3-438a-8902-c797ec07aedc", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a", + "displayName": "gui2", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "486aac0a-12a3-438a-8902-c797ec07aedc", + "visible": false + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "hasAlpha": true, + "type": "texture", + "fixAlphaTransparencyArtifacts": false, + "redirect": "486aac0a-12a3-438a-8902-c797ec07aedc@6c48a" + } +} diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index ba881cdf..7e83f823 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -112,7 +112,7 @@ "__id__": 284 } ], - "_active": false, + "_active": true, "_components": [ { "__id__": 392 @@ -6817,7 +6817,7 @@ "_layoutType": 3, "_cellSize": { "__type__": "cc.Size", - "width": 130, + "width": 160, "height": 200 }, "_startAxis": 0, @@ -31738,7 +31738,7 @@ "__id__": 1462 } ], - "_active": true, + "_active": false, "_components": [ { "__id__": 1482 @@ -33599,7 +33599,7 @@ "__id__": 1574 } ], - "_active": true, + "_active": false, "_components": [ { "__id__": 3048 diff --git a/assets/script/game/hero/BuffComp.ts b/assets/script/game/hero/BuffComp.ts index b6dd6110..697a10a4 100644 --- a/assets/script/game/hero/BuffComp.ts +++ b/assets/script/game/hero/BuffComp.ts @@ -34,7 +34,7 @@ export class BuffComp extends Component { start() { this.heroView = this.node.getComponent(HeroViewComp); - this.buff_get("dodge") + // this.buff_get("dodge") // this.node.getChildByName("top").getChildByName("buff").getChildByName("ap").active = false; // this.node.getChildByName("top").getChildByName("buff").getChildByName("cd").active = false; // this.node.getChildByName("top").getChildByName("buff").getChildByName("def").active = false; diff --git a/assets/script/game/hero/HeroCard.ts b/assets/script/game/hero/HeroCard.ts index d4166dcb..e80f4bca 100644 --- a/assets/script/game/hero/HeroCard.ts +++ b/assets/script/game/hero/HeroCard.ts @@ -15,17 +15,20 @@ export class HeroCard extends ecs.Entity { load(uuid:number=101,parent:any) { // var path = "game/monster/"+prefab_path; var path = "game/gui/hero_card"; - var icon_path = "game/heros/herois" + // var icon_path = "game/heros/herois" var prefab: Prefab = oops.res.get(path, Prefab)!; var node = instantiate(prefab); let slv = node.getChildByName("slv"); node.parent = parent; node.getChildByName("name").getComponent(Label).string = HeroInfo[uuid].name - resources.load(icon_path, SpriteAtlas, (err: any, atlas) => { - const sprite = node.getChildByName("Mask").getChildByName("hero").getComponent(Sprite); - sprite.spriteFrame = atlas.getSpriteFrame(HeroInfo[uuid].path); - }); - + // resources.load(icon_path, SpriteAtlas, (err: any, atlas) => { + // const sprite = node.getChildByName("Mask").getChildByName("hero").getComponent(Sprite); + // sprite.spriteFrame = atlas.getSpriteFrame(HeroInfo[uuid].path); + // }); + var path = "game/heros/uiheros/"+HeroInfo[uuid].path; + var prefab: Prefab = oops.res.get(path, Prefab)!; + var snode = instantiate(prefab); + snode.parent = node.getChildByName("Mask") let hcc = node.getComponent(HeroCardComp)!; hcc.h_uuid = uuid; hcc.update_data(); diff --git a/assets/script/game/hero/HeroCardComp.ts b/assets/script/game/hero/HeroCardComp.ts index 78fd8ae8..b4393129 100644 --- a/assets/script/game/hero/HeroCardComp.ts +++ b/assets/script/game/hero/HeroCardComp.ts @@ -1,4 +1,4 @@ -import { _decorator, Color, Label, ProgressBar, Sprite } from "cc"; +import { _decorator, Color, instantiate, Label, Prefab, ProgressBar, Sprite } from "cc"; import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp"; import { HeroHomeComp } from "../map/HeroHomeComp"; @@ -41,7 +41,6 @@ export class HeroCardComp extends CCComp { this.node.getChildByName("show").active=val } update_data(){ - let slv = this.node.getChildByName("slv") this.node.getChildByName("lv").getComponent(Label).string=smc.heros[this.h_uuid].lv.toString()+"级" // if(smc.heros[this.h_uuid].slv==0){ @@ -70,14 +69,16 @@ export class HeroCardComp extends CCComp { // break; // } } - /** 全局消息逻辑处理 */ - // private onHandler(event: string, args: any) { - // switch (event) { - // case ModuleEvent.Cmd: - // break; - // } - // } + call_hero(uuid:number){ + var path = "game/heros/uiheros/"+HeroInfo[uuid].path; + var prefab: Prefab = oops.res.get(path, Prefab)!; + var node = instantiate(prefab); + node.parent = this.node.getChildByName("Mask") + } + clear_hero(){ + this.node.getChildByName("Mask").destroyAllChildren() + } /** 视图对象通过 ecs.Entity.remove(ModuleViewComp) 删除组件是触发组件处理自定义释放逻辑 */ reset() { this.node.destroy(); diff --git a/assets/script/game/hero/HeroSelect.ts b/assets/script/game/hero/HeroSelect.ts index 3f5faab0..c09f6438 100644 --- a/assets/script/game/hero/HeroSelect.ts +++ b/assets/script/game/hero/HeroSelect.ts @@ -15,16 +15,20 @@ export class HeroSelect extends ecs.Entity { load(uuid:number=101,parent:any) { // var path = "game/monster/"+prefab_path; var path = "game/gui/hero_set"; - var icon_path = "game/heros/herois" + // var icon_path = "game/heros/herois" var prefab: Prefab = oops.res.get(path, Prefab)!; var node = instantiate(prefab); let slv = node.getChildByName("slv"); node.parent = parent; node.getChildByName("name").getComponent(Label).string = HeroInfo[uuid].name - resources.load(icon_path, SpriteAtlas, (err: any, atlas) => { - const sprite = node.getChildByName("Mask").getChildByName("hero").getComponent(Sprite); - sprite.spriteFrame = atlas.getSpriteFrame(HeroInfo[uuid].path); - }); + // resources.load(icon_path, SpriteAtlas, (err: any, atlas) => { + // const sprite = node.getChildByName("Mask").getChildByName("hero").getComponent(Sprite); + // sprite.spriteFrame = atlas.getSpriteFrame(HeroInfo[uuid].path); + // }); + var path = "game/heros/uiheros/"+HeroInfo[uuid].path; + var prefab: Prefab = oops.res.get(path, Prefab)!; + var snode = instantiate(prefab); + snode.parent = node.getChildByName("Mask") let hcc = node.getComponent(HeroSelectComp)!; hcc.h_uuid = uuid; hcc.update_data(); diff --git a/assets/script/game/hero/HeroViewComp.ts b/assets/script/game/hero/HeroViewComp.ts index 0d2a03e5..ec23ab58 100644 --- a/assets/script/game/hero/HeroViewComp.ts +++ b/assets/script/game/hero/HeroViewComp.ts @@ -136,7 +136,7 @@ export class HeroViewComp extends CCComp { this.node.setScale(this.scale,1); this.node.getChildByName("top").setScale(this.scale,1); if(this.is_boss){ - this.node.setScale(this.node.scale.x*1.2,this.node.scale.y*1.2); + this.node.setScale(this.node.scale.x*1.5,this.node.scale.y*1.5); this.node.getChildByName("top").getChildByName("sboss").active = true; } /** 显示角色血量 */ diff --git a/assets/script/game/map/HCard.ts b/assets/script/game/map/HCard.ts index 2890fd0d..32951d6a 100644 --- a/assets/script/game/map/HCard.ts +++ b/assets/script/game/map/HCard.ts @@ -15,15 +15,19 @@ export class HCard extends ecs.Entity { } load(uuid:number=1001,index:number=-1,parent:any) { var path = "game/gui/hcard"; - var icon_path = "game/heros/herois" - resources.load(icon_path, SpriteAtlas, (err: any, atlas) => { - const sprite = node.getChildByName("Mask").getChildByName("icon").getComponent(Sprite); - sprite.spriteFrame = atlas.getSpriteFrame(HeroInfo[uuid].path); - }); + // var icon_path = "game/heros/herois" + // resources.load(icon_path, SpriteAtlas, (err: any, atlas) => { + // const sprite = node.getChildByName("Mask").getChildByName("icon").getComponent(Sprite); + // sprite.spriteFrame = atlas.getSpriteFrame(HeroInfo[uuid].path); + // }); var prefab: Prefab = oops.res.get(path, Prefab)!; console.log("load_hcard",prefab) var node = instantiate(prefab); node.parent = parent + var path = "game/heros/uiheros/"+HeroInfo[uuid].path; + var prefab: Prefab = oops.res.get(path, Prefab)!; + var snode = instantiate(prefab); + snode.parent = node.getChildByName("Mask") var hcc = node.getComponent(HCardComp)!; hcc.hi= index this.add(hcc) diff --git a/assets/script/game/map/HeroHomeComp.ts b/assets/script/game/map/HeroHomeComp.ts index 00c76820..6323d646 100644 --- a/assets/script/game/map/HeroHomeComp.ts +++ b/assets/script/game/map/HeroHomeComp.ts @@ -61,8 +61,7 @@ export class HeroHomeComp extends CCComp { this.node.getChildByName("show").active=true this.h_uuid=uuid this.hero=HeroInfo[uuid] - this.gold_need=(getUpGoldByRange(smc.heros[uuid].lv)*smc.heros[uuid].lv) - this.chip_need=(getUpChipByLv(smc.heros[uuid].lv)-this.hero.lvexp)*smc.heros[uuid].lv + console.log("hero_show",uuid) let skill1 = SkillSet[this.hero.sk1[0]] let skill2 = SkillSet[this.hero.sk2[0]] @@ -101,6 +100,8 @@ export class HeroHomeComp extends CCComp { } update_data(){ this.slv = Math.floor((smc.heros[this.h_uuid].lv) / 5); + this.gold_need=(getUpGoldByRange(smc.heros[this.h_uuid].lv)*smc.heros[this.h_uuid].lv) + this.chip_need=getUpChipByLv(smc.heros[this.h_uuid].lv)-this.hero.lvexp // let slv_node=this.node.getChildByName("show").getChildByName("name").getChildByName("slv"); let lvup=this.node.getChildByName("show").getChildByName("lvup"); // let slvup=this.node.getChildByName("show").getChildByName("slvup");