diff --git a/assets/resources/gui/gui/UI-02.png b/assets/resources/gui/gui/UI-02.png new file mode 100644 index 00000000..4c4044a1 Binary files /dev/null and b/assets/resources/gui/gui/UI-02.png differ diff --git a/assets/resources/gui/gui/UI-02.png.meta b/assets/resources/gui/gui/UI-02.png.meta new file mode 100644 index 00000000..ceec31b2 --- /dev/null +++ b/assets/resources/gui/gui/UI-02.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.26", + "importer": "image", + "imported": true, + "uuid": "ae2de04e-e5d2-462e-890d-1d1341c4f70a", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "ae2de04e-e5d2-462e-890d-1d1341c4f70a@6c48a", + "displayName": "UI-02", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "ae2de04e-e5d2-462e-890d-1d1341c4f70a", + "visible": false + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "ae2de04e-e5d2-462e-890d-1d1341c4f70a@f9941", + "displayName": "UI-02", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 105, + "height": 10, + "rawWidth": 105, + "rawHeight": 10, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -52.5, + -5, + 0, + 52.5, + -5, + 0, + -52.5, + 5, + 0, + 52.5, + 5, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 10, + 105, + 10, + 0, + 0, + 105, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -52.5, + -5, + 0 + ], + "maxPos": [ + 52.5, + 5, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "ae2de04e-e5d2-462e-890d-1d1341c4f70a@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "hasAlpha": true, + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": false, + "redirect": "ae2de04e-e5d2-462e-890d-1d1341c4f70a@f9941" + } +} diff --git a/assets/resources/gui/gui/UI-03.png b/assets/resources/gui/gui/UI-03.png new file mode 100644 index 00000000..5b9f8476 Binary files /dev/null and b/assets/resources/gui/gui/UI-03.png differ diff --git a/assets/resources/gui/gui/UI-03.png.meta b/assets/resources/gui/gui/UI-03.png.meta new file mode 100644 index 00000000..438b5891 --- /dev/null +++ b/assets/resources/gui/gui/UI-03.png.meta @@ -0,0 +1,134 @@ +{ + "ver": "1.0.26", + "importer": "image", + "imported": true, + "uuid": "0f012cca-4741-4d33-85c6-55e9e8183a67", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "0f012cca-4741-4d33-85c6-55e9e8183a67@6c48a", + "displayName": "UI-03", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "clamp-to-edge", + "wrapModeT": "clamp-to-edge", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "0f012cca-4741-4d33-85c6-55e9e8183a67", + "visible": false + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + }, + "f9941": { + "importer": "sprite-frame", + "uuid": "0f012cca-4741-4d33-85c6-55e9e8183a67@f9941", + "displayName": "UI-03", + "id": "f9941", + "name": "spriteFrame", + "userData": { + "trimType": "auto", + "trimThreshold": 1, + "rotated": false, + "offsetX": 0, + "offsetY": 0, + "trimX": 0, + "trimY": 0, + "width": 111, + "height": 16, + "rawWidth": 111, + "rawHeight": 16, + "borderTop": 0, + "borderBottom": 0, + "borderLeft": 0, + "borderRight": 0, + "packable": true, + "pixelsToUnit": 100, + "pivotX": 0.5, + "pivotY": 0.5, + "meshType": 0, + "vertices": { + "rawPosition": [ + -55.5, + -8, + 0, + 55.5, + -8, + 0, + -55.5, + 8, + 0, + 55.5, + 8, + 0 + ], + "indexes": [ + 0, + 1, + 2, + 2, + 1, + 3 + ], + "uv": [ + 0, + 16, + 111, + 16, + 0, + 0, + 111, + 0 + ], + "nuv": [ + 0, + 0, + 1, + 0, + 0, + 1, + 1, + 1 + ], + "minPos": [ + -55.5, + -8, + 0 + ], + "maxPos": [ + 55.5, + 8, + 0 + ] + }, + "isUuid": true, + "imageUuidOrDatabaseUri": "0f012cca-4741-4d33-85c6-55e9e8183a67@6c48a", + "atlasUuid": "" + }, + "ver": "1.0.12", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "hasAlpha": true, + "type": "sprite-frame", + "fixAlphaTransparencyArtifacts": false, + "redirect": "0f012cca-4741-4d33-85c6-55e9e8183a67@f9941" + } +} diff --git a/assets/resources/gui/prefab/role_controller.prefab b/assets/resources/gui/prefab/role_controller.prefab index 138efeb4..d673d47d 100644 --- a/assets/resources/gui/prefab/role_controller.prefab +++ b/assets/resources/gui/prefab/role_controller.prefab @@ -25,38 +25,38 @@ "__id__": 48 }, { - "__id__": 94 + "__id__": 112 }, { - "__id__": 138 + "__id__": 158 }, { - "__id__": 186 + "__id__": 206 }, { - "__id__": 198 + "__id__": 218 }, { - "__id__": 216 + "__id__": 236 }, { - "__id__": 230 + "__id__": 250 } ], "_active": true, "_components": [ { - "__id__": 254 + "__id__": 274 }, { - "__id__": 256 + "__id__": 276 }, { - "__id__": 258 + "__id__": 278 } ], "_prefab": { - "__id__": 260 + "__id__": 280 }, "_lpos": { "__type__": "cc.Vec3", @@ -123,8 +123,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -238.082, - "y": -184.71499999999992, + "x": -355, + "y": -190, "z": 0 }, "_lrot": { @@ -227,8 +227,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -158.342, - "y": 0, + "x": 65.674, + "y": 56.004, "z": 0 }, "_lrot": { @@ -359,8 +359,8 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 + "x": 0, + "y": 0 }, "_id": "" }, @@ -455,8 +455,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": -7.525, - "y": 0, + "x": 94.6, + "y": 31.296, "z": 0 }, "_lrot": { @@ -659,8 +659,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 29.123, - "y": 0, + "x": 131.248, + "y": 31.296, "z": 0 }, "_lrot": { @@ -842,8 +842,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 63.149, - "y": 0, + "x": 165.274, + "y": 31.296, "z": 0 }, "_lrot": { @@ -1039,8 +1039,8 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 + "x": 0, + "y": 0 }, "_id": "" }, @@ -1060,12 +1060,12 @@ "__prefab": { "__id__": 46 }, - "_alignFlags": 9, + "_alignFlags": 12, "_target": null, - "_left": 71.918, + "_left": 5, "_right": 0, "_top": 774.7149999999999, - "_bottom": 0, + "_bottom": 450, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -1099,7 +1099,7 @@ }, { "__type__": "cc.Node", - "_name": "exp", + "_name": "gold", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -1109,40 +1109,46 @@ { "__id__": 49 }, + { + "__id__": 55 + }, { "__id__": 61 }, { - "__id__": 71 + "__id__": 79 }, { - "__id__": 79 + "__id__": 89 + }, + { + "__id__": 97 } ], "_active": true, "_components": [ { - "__id__": 89 + "__id__": 107 }, { - "__id__": 91 + "__id__": 109 } ], "_prefab": { - "__id__": 93 + "__id__": 111 }, "_lpos": { "__type__": "cc.Vec3", - "x": 4.214999999999975, - "y": -184.029, + "x": -120, + "y": -190, "z": 0 }, "_lrot": { "__type__": "cc.Quat", "x": 0, - "y": -1.2246467991473532e-16, + "y": 0, "z": 0, - "w": -1 + "w": 1 }, "_lscale": { "__type__": "cc.Vec3", @@ -1155,7 +1161,7 @@ "_euler": { "__type__": "cc.Vec3", "x": 0, - "y": -360, + "y": 0, "z": 0 }, "_id": "" @@ -1168,26 +1174,22 @@ "_parent": { "__id__": 48 }, - "_children": [ - { - "__id__": 50 - } - ], + "_children": [], "_active": true, "_components": [ { - "__id__": 56 + "__id__": 50 }, { - "__id__": 58 + "__id__": 52 } ], "_prefab": { - "__id__": 60 + "__id__": 54 }, "_lpos": { "__type__": "cc.Vec3", - "x": -12.57, + "x": 0, "y": 0, "z": 0 }, @@ -1214,142 +1216,6 @@ }, "_id": "" }, - { - "__type__": "cc.Node", - "_name": "magic", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 49 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 51 - }, - { - "__id__": 53 - } - ], - "_prefab": { - "__id__": 55 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -162.626, - "y": 5.218, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1.1, - "y": 1.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__": 50 - }, - "_enabled": true, - "__prefab": { - "__id__": 52 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 67, - "height": 53 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "de7C0FWJVBWIqTzJYXn0hh" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 50 - }, - "_enabled": true, - "__prefab": { - "__id__": 54 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "6558d905-0d5a-4278-b42f-0e69ec2f02d5@f9941", - "__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": "ecBMA5BkFMaYi1oAfSL8yo" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "44VAH9dvhIjpgCIA2Majom", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.UITransform", "_name": "", @@ -1360,7 +1226,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 57 + "__id__": 51 }, "_contentSize": { "__type__": "cc.Size", @@ -1369,14 +1235,14 @@ }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 + "x": 0, + "y": 0 }, "_id": "" }, { "__type__": "cc.CompPrefabInfo", - "fileId": "21503+J4tLBo8zs3AZy97l" + "fileId": "976SSsERlNJbY9ocJJhDAY" }, { "__type__": "cc.Sprite", @@ -1388,7 +1254,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 59 + "__id__": 53 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1421,7 +1287,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "9dNZ125ABBEpGhx7ik6AU3" + "fileId": "7fQ8Mt1hVOY6vW6dXzXWap" }, { "__type__": "cc.PrefabInfo", @@ -1431,14 +1297,14 @@ "asset": { "__id__": 0 }, - "fileId": "47u+KKylpO/J0Pd2aMyRZ3", + "fileId": "d3HV2rGqVDOpo7Ez9fHylh", "instance": null, "targetOverrides": null, "nestedPrefabInstanceRoots": null }, { "__type__": "cc.Node", - "_name": "exp_min", + "_name": "gold1", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -1448,25 +1314,19 @@ "_active": true, "_components": [ { - "__id__": 62 + "__id__": 56 }, { - "__id__": 64 - }, - { - "__id__": 66 - }, - { - "__id__": 68 + "__id__": 58 } ], "_prefab": { - "__id__": 70 + "__id__": 60 }, "_lpos": { "__type__": "cc.Vec3", - "x": -22.018, - "y": 0, + "x": 15, + "y": 15, "z": 0 }, "_lrot": { @@ -1478,12 +1338,12 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 0.5, + "y": 0.5, "z": 1 }, "_mobility": 0, - "_layer": 33554432, + "_layer": 1073741824, "_euler": { "__type__": "cc.Vec3", "x": 0, @@ -1494,43 +1354,43 @@ }, { "__type__": "cc.UITransform", - "_name": "lab_progress", + "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 61 + "__id__": 55 }, "_enabled": true, "__prefab": { - "__id__": 63 + "__id__": 57 }, "_contentSize": { "__type__": "cc.Size", - "width": 52.0537109375, - "height": 39.8 + "width": 76, + "height": 76 }, "_anchorPoint": { "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 + "x": 0, + "y": 0 }, "_id": "" }, { "__type__": "cc.CompPrefabInfo", - "fileId": "d2P2bmMpVHLa0sx8RX4ZzI" + "fileId": "7aZacKYAZPaqEgFia1lX5X" }, { - "__type__": "cc.Label", - "_name": "lab_progress