diff --git a/assets/resources/game/heros/hero_card.prefab b/assets/resources/game/heros/hero_card.prefab index 8d561518..7c341fe5 100644 --- a/assets/resources/game/heros/hero_card.prefab +++ b/assets/resources/game/heros/hero_card.prefab @@ -407,10 +407,10 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@98971", + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@4b4e8", "__expectedType__": "cc.SpriteFrame" }, - "_type": 0, + "_type": 1, "_fillType": 0, "_sizeMode": 0, "_fillCenter": { @@ -1134,7 +1134,7 @@ "_pressedSprite": null, "_disabledSprite": null, "_duration": 0.1, - "_zoomScale": 1.2, + "_zoomScale": 1.05, "_target": { "__id__": 1 }, diff --git a/assets/resources/game/heros/item_card.prefab b/assets/resources/game/heros/item_card.prefab index 7d31964e..a0de89c4 100644 --- a/assets/resources/game/heros/item_card.prefab +++ b/assets/resources/game/heros/item_card.prefab @@ -1134,7 +1134,7 @@ "_pressedSprite": null, "_disabledSprite": null, "_duration": 0.1, - "_zoomScale": 1.2, + "_zoomScale": 1.05, "_target": { "__id__": 1 }, diff --git a/assets/resources/game/heros/skill_card.prefab b/assets/resources/game/heros/skill_card.prefab index 057573f2..e3e3f460 100644 --- a/assets/resources/game/heros/skill_card.prefab +++ b/assets/resources/game/heros/skill_card.prefab @@ -1134,7 +1134,7 @@ "_pressedSprite": null, "_disabledSprite": null, "_duration": 0.1, - "_zoomScale": 1.2, + "_zoomScale": 1.05, "_target": { "__id__": 1 }, diff --git a/assets/resources/gui/gui.plist.meta b/assets/resources/gui/gui.plist.meta index 0b388af6..7e32ee1f 100644 --- a/assets/resources/gui/gui.plist.meta +++ b/assets/resources/gui/gui.plist.meta @@ -3659,10 +3659,10 @@ "height": 110, "rawWidth": 112, "rawHeight": 110, - "borderTop": 0, - "borderBottom": 0, - "borderLeft": 0, - "borderRight": 0, + "borderTop": 26, + "borderBottom": 24, + "borderLeft": 19, + "borderRight": 22, "packable": true, "pixelsToUnit": 100, "pivotX": 0.5, diff --git a/assets/resources/gui/item_box.prefab b/assets/resources/gui/item_box.prefab index 8f48b7f7..437772de 100644 --- a/assets/resources/gui/item_box.prefab +++ b/assets/resources/gui/item_box.prefab @@ -23,25 +23,22 @@ }, { "__id__": 8 - }, - { - "__id__": 26 - }, - { - "__id__": 54 } ], "_active": true, "_components": [ { - "__id__": 208 + "__id__": 144 }, { - "__id__": 210 + "__id__": 146 + }, + { + "__id__": 148 } ], "_prefab": { - "__id__": 212 + "__id__": 150 }, "_lpos": { "__type__": "cc.Vec3", @@ -81,7 +78,7 @@ "__id__": 1 }, "_children": [], - "_active": false, + "_active": true, "_components": [ { "__id__": 3 @@ -95,8 +92,8 @@ }, "_lpos": { "__type__": "cc.Vec3", - "x": 0.275, - "y": -31.321, + "x": 0, + "y": 0, "z": 0 }, "_lrot": { @@ -136,8 +133,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 700, - "height": 350 + "width": 425, + "height": 170 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -210,7 +207,7 @@ }, { "__type__": "cc.Node", - "_name": "Cartoon RPG UI_Slot - Avatar", + "_name": "data", "_objFlags": 0, "__editorExtras__": {}, "_parent": { @@ -221,25 +218,34 @@ "__id__": 9 }, { - "__id__": 15 + "__id__": 31 + }, + { + "__id__": 47 + }, + { + "__id__": 77 + }, + { + "__id__": 107 + }, + { + "__id__": 137 } ], "_active": true, "_components": [ { - "__id__": 21 - }, - { - "__id__": 23 + "__id__": 141 } ], "_prefab": { - "__id__": 25 + "__id__": 143 }, "_lpos": { "__type__": "cc.Vec3", - "x": 137, - "y": 172.5, + "x": 10, + "y": 15, "z": 0 }, "_lrot": { @@ -267,1128 +273,36 @@ }, { "__type__": "cc.Node", - "_name": "hero", + "_name": "name", "_objFlags": 0, "__editorExtras__": {}, "_parent": { "__id__": 8 }, - "_children": [], - "_active": true, - "_components": [ + "_children": [ { "__id__": 10 }, - { - "__id__": 12 - } - ], - "_prefab": { - "__id__": 14 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 10, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 0.5, - "y": 0.5, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 9 - }, - "_enabled": true, - "__prefab": { - "__id__": 11 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 173, - "height": 214.44000244140625 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5512716921767747, - "y": 0.03362245829164751 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "88fW2at8lD3onp11zgJZu7" - }, - { - "__type__": "sp.Skeleton", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 9 - }, - "_enabled": true, - "__prefab": { - "__id__": 13 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_skeletonData": { - "__uuid__": "015aa7dc-78fb-457f-b83e-ed78166b1088", - "__expectedType__": "sp.SkeletonData" - }, - "defaultSkin": "Character04", - "defaultAnimation": "", - "_premultipliedAlpha": true, - "_timeScale": 1, - "_preCacheMode": 0, - "_cacheMode": 0, - "_sockets": [], - "_useTint": false, - "_debugMesh": false, - "_debugBones": false, - "_debugSlots": false, - "_enableBatch": false, - "loop": false, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "6aRb8fseBCeKoK6P8bhZjw" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "604IESzQZLFaFsZKgobKxn", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "Label", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 8 - }, - "_children": [], - "_active": true, - "_components": [ { "__id__": 16 }, { - "__id__": 18 + "__id__": 22 } ], - "_prefab": { - "__id__": 20 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 24.113, - "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__": 15 - }, - "_enabled": true, - "__prefab": { - "__id__": 17 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 104, - "height": 54.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "6eRQzGWV1EzrnsEttqylpY" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 15 - }, - "_enabled": true, - "__prefab": { - "__id__": 19 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "见习召唤师", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 20, - "_fontSize": 20, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e4NWEjH5dGWbzoc2nJVwym" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "76/Zv5gotF/5Jq3/QatBRg", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 8 - }, - "_enabled": true, - "__prefab": { - "__id__": 22 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 130, - "height": 130 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "8dSZB3LNxPXJVM6nRiX/uu" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 8 - }, - "_enabled": true, - "__prefab": { - "__id__": 24 - }, - "_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@f60dc", - "__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": "1eXcKhBplFUIwAwfq/EpO+" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "c9+hhqkAhFLJT4Q0QvgR9/", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "equment", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 27 - }, - { - "__id__": 33 - }, - { - "__id__": 39 - }, - { - "__id__": 45 - } - ], - "_active": true, - "_components": [ - { - "__id__": 51 - } - ], - "_prefab": { - "__id__": 53 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 201.681, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "Cartoon RPG UI_Slot - Weapon", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 26 - }, - "_children": [], "_active": true, "_components": [ { "__id__": 28 - }, - { - "__id__": 30 } ], "_prefab": { - "__id__": 32 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 5, - "y": 65, - "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__": 27 - }, - "_enabled": true, - "__prefab": { - "__id__": 29 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 65, - "height": 65 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "0boMTRy/hBPK3G0+40/73U" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 27 - }, - "_enabled": true, - "__prefab": { - "__id__": 31 - }, - "_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@3cfbc", - "__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": "c9O4HiNwdG9p2RhTedN6py" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "4dJn3+jn9M+oJ/hHJj/vgS", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "Cartoon RPG UI_Slot - Shield", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 26 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 34 - }, - { - "__id__": 36 - } - ], - "_prefab": { - "__id__": 38 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 205, - "y": 65, - "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__": 33 - }, - "_enabled": true, - "__prefab": { - "__id__": 35 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 65, - "height": 65 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e1rLOIzEpKAYO3PjD2k+/h" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 33 - }, - "_enabled": true, - "__prefab": { - "__id__": 37 - }, - "_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@383dd", - "__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": "35jGLyqaROfoGMgzrjyP+h" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "5d/UvQmpxJbL1NPReJYZUj", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "Cartoon RPG UI_Slot - Armor", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 26 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 40 - }, - { - "__id__": 42 - } - ], - "_prefab": { - "__id__": 44 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 5, - "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__": 39 - }, - "_enabled": true, - "__prefab": { - "__id__": 41 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 65, - "height": 65 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "bbY3fOIqdLYJvVUjCFPLkJ" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 39 - }, - "_enabled": true, - "__prefab": { - "__id__": 43 - }, - "_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@7aef1", - "__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": "5fRMAtlEJKs78v1vTH/ylc" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "fe3kW2kERAipJYS/UvgsqG", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "Cartoon RPG UI_Slot - Amulet", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 26 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 46 - }, - { - "__id__": 48 - } - ], - "_prefab": { - "__id__": 50 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 205, - "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__": 45 - }, - "_enabled": true, - "__prefab": { - "__id__": 47 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 65, - "height": 65 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "04UTk1ycFMTLoD6XuvwNCW" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 45 - }, - "_enabled": true, - "__prefab": { - "__id__": 49 - }, - "_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@913f6", - "__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": "8eyJD0tw1EHIGn9RWWCKRC" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "60KryMJ9dEQYdLKdWhJ8wL", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 26 - }, - "_enabled": true, - "__prefab": { - "__id__": 52 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d2NSPFFDtCyobJ8gAPwp+V" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "38lWev885Ek7ngkqIdN/I8", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "data", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 55 - }, - { - "__id__": 85 - }, - { - "__id__": 115 - }, - { - "__id__": 145 - }, - { - "__id__": 175 - } - ], - "_active": true, - "_components": [ - { - "__id__": 205 - } - ], - "_prefab": { - "__id__": 207 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 279.45, - "y": 180.522, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "lv", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 54 - }, - "_children": [ - { - "__id__": 56 - }, - { - "__id__": 62 - }, - { - "__id__": 68 - }, - { - "__id__": 74 - } - ], - "_active": true, - "_components": [ - { - "__id__": 82 - } - ], - "_prefab": { - "__id__": 84 + "__id__": 30 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 100, + "y": 130, "z": 0 }, "_lrot": { @@ -1420,20 +334,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 55 + "__id__": 9 }, "_children": [], "_active": true, "_components": [ { - "__id__": 57 + "__id__": 11 }, { - "__id__": 59 + "__id__": 13 } ], "_prefab": { - "__id__": 61 + "__id__": 15 }, "_lpos": { "__type__": "cc.Vec3", @@ -1470,11 +384,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 56 + "__id__": 10 }, "_enabled": true, "__prefab": { - "__id__": 58 + "__id__": 12 }, "_contentSize": { "__type__": "cc.Size", @@ -1498,11 +412,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 56 + "__id__": 10 }, "_enabled": true, "__prefab": { - "__id__": 60 + "__id__": 14 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1556,20 +470,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 55 + "__id__": 9 }, "_children": [], "_active": true, "_components": [ { - "__id__": 63 + "__id__": 17 }, { - "__id__": 65 + "__id__": 19 } ], "_prefab": { - "__id__": 67 + "__id__": 21 }, "_lpos": { "__type__": "cc.Vec3", @@ -1606,11 +520,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 62 + "__id__": 16 }, "_enabled": true, "__prefab": { - "__id__": 64 + "__id__": 18 }, "_contentSize": { "__type__": "cc.Size", @@ -1634,11 +548,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 62 + "__id__": 16 }, "_enabled": true, "__prefab": { - "__id__": 66 + "__id__": 20 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1688,11 +602,1117 @@ }, { "__type__": "cc.Node", - "_name": "lv", + "_name": "name", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 55 + "__id__": 9 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 23 + }, + { + "__id__": 25 + } + ], + "_prefab": { + "__id__": 27 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 40, + "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__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 24 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 54.029296875, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "70SlijbdlKlqCf6CMsKoGn" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 22 + }, + "_enabled": true, + "__prefab": { + "__id__": 26 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "name", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 20, + "_fontSize": 20, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": true, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c8/9vf9SlKEqfsJ1IxGxML" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "22fRZgoCJMzI+yv+qU7pIY", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 9 + }, + "_enabled": true, + "__prefab": { + "__id__": 29 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 45, + "height": 20 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5c4bOaREpBMrmmlN5yz6U6" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "34i5sm7CdNAoNu8/0RDjfH", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "info", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 8 + }, + "_children": [ + { + "__id__": 32 + }, + { + "__id__": 38 + } + ], + "_active": true, + "_components": [ + { + "__id__": 44 + } + ], + "_prefab": { + "__id__": 46 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 90, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "data_bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 31 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 33 + }, + { + "__id__": 35 + } + ], + "_prefab": { + "__id__": 37 + }, + "_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__": 32 + }, + "_enabled": true, + "__prefab": { + "__id__": 34 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 405, + "height": 35 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1aliNEQ1hNM7uKPAOAKegO" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 32 + }, + "_enabled": true, + "__prefab": { + "__id__": 36 + }, + "_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@22385", + "__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": "1cDGWwtJNEoZIgMUiBF6Mx" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "73SUwVwOBJCYaLrdrsDP8K", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "info", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 31 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 39 + }, + { + "__id__": 41 + } + ], + "_prefab": { + "__id__": 43 + }, + "_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__": 38 + }, + "_enabled": true, + "__prefab": { + "__id__": 40 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 400, + "height": 35 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7b+PRtSaxME5sjCh16v/Be" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 38 + }, + "_enabled": true, + "__prefab": { + "__id__": 42 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "label", + "_horizontalAlign": 0, + "_verticalAlign": 1, + "_actualFontSize": 18, + "_fontSize": 17, + "_fontFamily": "Arial", + "_lineHeight": 17, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": false, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "47lMoO5ltGC4dOtvHCkmw1" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "aek8JdCJhCEq773sr/4Yra", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 31 + }, + "_enabled": true, + "__prefab": { + "__id__": 45 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 45, + "height": 20.16 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dbpJRvggpPCbOytfRskgRt" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a2EkZz7GBIbImyeN7fvcTJ", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "atk", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 8 + }, + "_children": [ + { + "__id__": 48 + }, + { + "__id__": 54 + }, + { + "__id__": 60 + }, + { + "__id__": 68 + } + ], + "_active": true, + "_components": [ + { + "__id__": 74 + } + ], + "_prefab": { + "__id__": 76 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 50, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "data_bg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 47 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 49 + }, + { + "__id__": 51 + } + ], + "_prefab": { + "__id__": 53 + }, + "_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__": 48 + }, + "_enabled": true, + "__prefab": { + "__id__": 50 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, + "height": 35 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3aO4PLP5NOLaGEuiQwVMzd" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 48 + }, + "_enabled": true, + "__prefab": { + "__id__": 52 + }, + "_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@22385", + "__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": "03qhEFqzxEqKImp9+NsLCM" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "26tFmc4l9E0oeCYu00bDab", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "Cartoon RPG UI_Game Icon - Attack", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 47 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 55 + }, + { + "__id__": 57 + } + ], + "_prefab": { + "__id__": 59 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 20, + "y": 0.443, + "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__": 54 + }, + "_enabled": true, + "__prefab": { + "__id__": 56 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 25, + "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d5iWjWSzJPQZwlTjnMPr+1" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 54 + }, + "_enabled": true, + "__prefab": { + "__id__": 58 + }, + "_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@360cc", + "__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": "dc11ECMi1F2IlKDxTEinii" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "be7SVRdnhP14pJ+pXSX0hm", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "v", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 47 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 61 + }, + { + "__id__": 63 + }, + { + "__id__": 65 + } + ], + "_prefab": { + "__id__": 67 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 100, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 60 + }, + "_enabled": true, + "__prefab": { + "__id__": 62 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 12.34228515625, + "height": 24.16 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "21mru+04JLx6a2YLOvU1a4" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 60 + }, + "_enabled": true, + "__prefab": { + "__id__": 64 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "1", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 15, + "_fontSize": 15, + "_fontFamily": "Arial", + "_lineHeight": 16, + "_overflow": 0, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": true, + "_outlineColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_outlineWidth": 2, + "_enableShadow": false, + "_shadowColor": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_shadowOffset": { + "__type__": "cc.Vec2", + "x": 2, + "y": 2 + }, + "_shadowBlur": 2, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ddyFhfaNZDPZjR5v6ugvgR" + }, + { + "__type__": "545c05XsG9GDJispEGWKvYv", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 60 + }, + "_enabled": true, + "__prefab": { + "__id__": 66 + }, + "templateMode": false, + "watchPath": "data.role.atk", + "labelType": "cc.Label", + "watchPathArr": [], + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a3ZNBKr2RDpq0t+I19rWac" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "1dZE8V+YdGEKglYEe7JZVN", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "atk", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 47 }, "_children": [], "_active": true, @@ -1762,7 +1782,7 @@ }, { "__type__": "cc.CompPrefabInfo", - "fileId": "70SlijbdlKlqCf6CMsKoGn" + "fileId": "f8KBtgPQRPF7kOjOM2FcKB" }, { "__type__": "cc.Label", @@ -1786,1623 +1806,7 @@ "b": 255, "a": 255 }, - "_string": "等级", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 20, - "_fontSize": 20, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "c8/9vf9SlKEqfsJ1IxGxML" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "22fRZgoCJMzI+yv+qU7pIY", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "v", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 55 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 75 - }, - { - "__id__": 77 - }, - { - "__id__": 79 - } - ], - "_prefab": { - "__id__": 81 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 140, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 74 - }, - "_enabled": true, - "__prefab": { - "__id__": 76 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 12.34228515625, - "height": 24.16 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "9dF+F44F1MtKzxlt+e+KRf" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 74 - }, - "_enabled": true, - "__prefab": { - "__id__": 78 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "1", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 15, - "_fontSize": 15, - "_fontFamily": "Arial", - "_lineHeight": 16, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "dcBr4wD1NGtKpBhXE2u7+F" - }, - { - "__type__": "545c05XsG9GDJispEGWKvYv", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 74 - }, - "_enabled": true, - "__prefab": { - "__id__": 80 - }, - "templateMode": false, - "watchPath": "data.role.lv", - "labelType": "cc.Label", - "watchPathArr": [], - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e2yir8i59IOao5oXXkVaKf" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "f4M0RWrUlMzZ3aa3FP3CDV", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 55 - }, - "_enabled": true, - "__prefab": { - "__id__": 83 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 45, - "height": 20 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "5c4bOaREpBMrmmlN5yz6U6" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "34i5sm7CdNAoNu8/0RDjfH", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "hp", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 54 - }, - "_children": [ - { - "__id__": 86 - }, - { - "__id__": 92 - }, - { - "__id__": 98 - }, - { - "__id__": 106 - } - ], - "_active": true, - "_components": [ - { - "__id__": 112 - } - ], - "_prefab": { - "__id__": 114 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 205, - "y": 55, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "data_bg", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 85 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 87 - }, - { - "__id__": 89 - } - ], - "_prefab": { - "__id__": 91 - }, - "_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__": 86 - }, - "_enabled": true, - "__prefab": { - "__id__": 88 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 200, - "height": 35 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "1aliNEQ1hNM7uKPAOAKegO" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 86 - }, - "_enabled": true, - "__prefab": { - "__id__": 90 - }, - "_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@22385", - "__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": "1cDGWwtJNEoZIgMUiBF6Mx" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "73SUwVwOBJCYaLrdrsDP8K", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "Cartoon RPG UI_Game Icon - Life", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 85 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 93 - }, - { - "__id__": 95 - } - ], - "_prefab": { - "__id__": 97 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 20, - "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__": 92 - }, - "_enabled": true, - "__prefab": { - "__id__": 94 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 25, - "height": 25 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "82pKd9qQhD7Z968duIissz" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 92 - }, - "_enabled": true, - "__prefab": { - "__id__": 96 - }, - "_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@63bfa", - "__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": "7dTjcrWj5ElaA5T2vHezWn" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "27maSe+XROdJUyed97TWv3", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "v", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 85 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 99 - }, - { - "__id__": 101 - }, - { - "__id__": 103 - } - ], - "_prefab": { - "__id__": 105 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 140, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 98 - }, - "_enabled": true, - "__prefab": { - "__id__": 100 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 12.34228515625, - "height": 24.16 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "88d7Es3XhJbr3fqtRPoS6R" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 98 - }, - "_enabled": true, - "__prefab": { - "__id__": 102 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "1", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 15, - "_fontSize": 15, - "_fontFamily": "Arial", - "_lineHeight": 16, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "25FCYyIV9OZZs+tr+V9Sim" - }, - { - "__type__": "545c05XsG9GDJispEGWKvYv", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 98 - }, - "_enabled": true, - "__prefab": { - "__id__": 104 - }, - "templateMode": false, - "watchPath": "data.role.hp", - "labelType": "cc.Label", - "watchPathArr": [], - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "6f1Nj5OJ9JipZS1ZNMTIAW" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "65EjF2qo9GSIt3RRLHuT0/", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "hp", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 85 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 107 - }, - { - "__id__": 109 - } - ], - "_prefab": { - "__id__": 111 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 40, - "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__": 106 - }, - "_enabled": true, - "__prefab": { - "__id__": 108 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 64, - "height": 54.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "fcyl49NPtMOaIWL24s/Cel" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 106 - }, - "_enabled": true, - "__prefab": { - "__id__": 110 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "生命值", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 20, - "_fontSize": 20, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "0bqolbkoJJnpq/u8bF8las" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "b7LCOQ22lD0a877KofloVs", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 85 - }, - "_enabled": true, - "__prefab": { - "__id__": 113 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 45, - "height": 20.16 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "dbpJRvggpPCbOytfRskgRt" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "a2EkZz7GBIbImyeN7fvcTJ", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "atk", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 54 - }, - "_children": [ - { - "__id__": 116 - }, - { - "__id__": 122 - }, - { - "__id__": 128 - }, - { - "__id__": 136 - } - ], - "_active": true, - "_components": [ - { - "__id__": 142 - } - ], - "_prefab": { - "__id__": 144 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 55, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "data_bg", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 115 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 117 - }, - { - "__id__": 119 - } - ], - "_prefab": { - "__id__": 121 - }, - "_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__": 116 - }, - "_enabled": true, - "__prefab": { - "__id__": 118 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 200, - "height": 35 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "3aO4PLP5NOLaGEuiQwVMzd" - }, - { - "__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": 255, - "a": 255 - }, - "_spriteFrame": { - "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@22385", - "__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": "03qhEFqzxEqKImp9+NsLCM" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "26tFmc4l9E0oeCYu00bDab", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "Cartoon RPG UI_Game Icon - Attack", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 115 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 123 - }, - { - "__id__": 125 - } - ], - "_prefab": { - "__id__": 127 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 20, - "y": 0.443, - "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__": 122 - }, - "_enabled": true, - "__prefab": { - "__id__": 124 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 25, - "height": 25 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d5iWjWSzJPQZwlTjnMPr+1" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 122 - }, - "_enabled": true, - "__prefab": { - "__id__": 126 - }, - "_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@360cc", - "__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": "dc11ECMi1F2IlKDxTEinii" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "be7SVRdnhP14pJ+pXSX0hm", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "v", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 115 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 129 - }, - { - "__id__": 131 - }, - { - "__id__": 133 - } - ], - "_prefab": { - "__id__": 135 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 140, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 128 - }, - "_enabled": true, - "__prefab": { - "__id__": 130 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 12.34228515625, - "height": 24.16 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "21mru+04JLx6a2YLOvU1a4" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 128 - }, - "_enabled": true, - "__prefab": { - "__id__": 132 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "1", - "_horizontalAlign": 1, - "_verticalAlign": 1, - "_actualFontSize": 15, - "_fontSize": 15, - "_fontFamily": "Arial", - "_lineHeight": 16, - "_overflow": 0, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "ddyFhfaNZDPZjR5v6ugvgR" - }, - { - "__type__": "545c05XsG9GDJispEGWKvYv", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 128 - }, - "_enabled": true, - "__prefab": { - "__id__": 134 - }, - "templateMode": false, - "watchPath": "data.role.atk", - "labelType": "cc.Label", - "watchPathArr": [], - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "a3ZNBKr2RDpq0t+I19rWac" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "1dZE8V+YdGEKglYEe7JZVN", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "atk", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 115 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 137 - }, - { - "__id__": 139 - } - ], - "_prefab": { - "__id__": 141 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 40, - "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__": 136 - }, - "_enabled": true, - "__prefab": { - "__id__": 138 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 64, - "height": 54.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "f8KBtgPQRPF7kOjOM2FcKB" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 136 - }, - "_enabled": true, - "__prefab": { - "__id__": 140 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "攻击力", + "_string": "伤害", "_horizontalAlign": 1, "_verticalAlign": 1, "_actualFontSize": 20, @@ -3467,11 +1871,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 115 + "__id__": 47 }, "_enabled": true, "__prefab": { - "__id__": 143 + "__id__": 75 }, "_contentSize": { "__type__": "cc.Size", @@ -3508,30 +1912,30 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 54 + "__id__": 8 }, "_children": [ { - "__id__": 146 + "__id__": 78 }, { - "__id__": 152 + "__id__": 84 }, { - "__id__": 158 + "__id__": 90 }, { - "__id__": 166 + "__id__": 98 } ], "_active": true, "_components": [ { - "__id__": 172 + "__id__": 104 } ], "_prefab": { - "__id__": 174 + "__id__": 106 }, "_lpos": { "__type__": "cc.Vec3", @@ -3568,20 +1972,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 145 + "__id__": 77 }, "_children": [], "_active": true, "_components": [ { - "__id__": 147 + "__id__": 79 }, { - "__id__": 149 + "__id__": 81 } ], "_prefab": { - "__id__": 151 + "__id__": 83 }, "_lpos": { "__type__": "cc.Vec3", @@ -3618,11 +2022,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 146 + "__id__": 78 }, "_enabled": true, "__prefab": { - "__id__": 148 + "__id__": 80 }, "_contentSize": { "__type__": "cc.Size", @@ -3646,11 +2050,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 146 + "__id__": 78 }, "_enabled": true, "__prefab": { - "__id__": 150 + "__id__": 82 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3704,20 +2108,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 145 + "__id__": 77 }, "_children": [], "_active": true, "_components": [ { - "__id__": 153 + "__id__": 85 }, { - "__id__": 155 + "__id__": 87 } ], "_prefab": { - "__id__": 157 + "__id__": 89 }, "_lpos": { "__type__": "cc.Vec3", @@ -3754,11 +2158,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 152 + "__id__": 84 }, "_enabled": true, "__prefab": { - "__id__": 154 + "__id__": 86 }, "_contentSize": { "__type__": "cc.Size", @@ -3782,11 +2186,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 152 + "__id__": 84 }, "_enabled": true, "__prefab": { - "__id__": 156 + "__id__": 88 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3840,27 +2244,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 145 + "__id__": 77 }, "_children": [], "_active": true, "_components": [ { - "__id__": 159 + "__id__": 91 }, { - "__id__": 161 + "__id__": 93 }, { - "__id__": 163 + "__id__": 95 } ], "_prefab": { - "__id__": 165 + "__id__": 97 }, "_lpos": { "__type__": "cc.Vec3", - "x": 140, + "x": 100, "y": 0, "z": 0 }, @@ -3893,11 +2297,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 158 + "__id__": 90 }, "_enabled": true, "__prefab": { - "__id__": 160 + "__id__": 92 }, "_contentSize": { "__type__": "cc.Size", @@ -3921,11 +2325,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 158 + "__id__": 90 }, "_enabled": true, "__prefab": { - "__id__": 162 + "__id__": 94 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3989,11 +2393,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 158 + "__id__": 90 }, "_enabled": true, "__prefab": { - "__id__": 164 + "__id__": 96 }, "templateMode": false, "watchPath": "data.role.atk_cd", @@ -4024,20 +2428,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 145 + "__id__": 77 }, "_children": [], "_active": true, "_components": [ { - "__id__": 167 + "__id__": 99 }, { - "__id__": 169 + "__id__": 101 } ], "_prefab": { - "__id__": 171 + "__id__": 103 }, "_lpos": { "__type__": "cc.Vec3", @@ -4074,15 +2478,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 166 + "__id__": 98 }, "_enabled": true, "__prefab": { - "__id__": 168 + "__id__": 100 }, "_contentSize": { "__type__": "cc.Size", - "width": 72.88671875, + "width": 32.88671875, "height": 54.4 }, "_anchorPoint": { @@ -4102,11 +2506,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 166 + "__id__": 98 }, "_enabled": true, "__prefab": { - "__id__": 170 + "__id__": 102 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4118,7 +2522,7 @@ "b": 255, "a": 255 }, - "_string": "攻击CD", + "_string": "CD", "_horizontalAlign": 1, "_verticalAlign": 1, "_actualFontSize": 20, @@ -4183,11 +2587,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 145 + "__id__": 77 }, "_enabled": true, "__prefab": { - "__id__": 173 + "__id__": 105 }, "_contentSize": { "__type__": "cc.Size", @@ -4224,35 +2628,35 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 54 + "__id__": 8 }, "_children": [ { - "__id__": 176 + "__id__": 108 }, { - "__id__": 182 + "__id__": 114 }, { - "__id__": 188 + "__id__": 120 }, { - "__id__": 196 + "__id__": 128 } ], "_active": true, "_components": [ { - "__id__": 202 + "__id__": 134 } ], "_prefab": { - "__id__": 204 + "__id__": 136 }, "_lpos": { "__type__": "cc.Vec3", "x": 205, - "y": 10, + "y": 50, "z": 0 }, "_lrot": { @@ -4284,20 +2688,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 175 + "__id__": 107 }, "_children": [], "_active": true, "_components": [ { - "__id__": 177 + "__id__": 109 }, { - "__id__": 179 + "__id__": 111 } ], "_prefab": { - "__id__": 181 + "__id__": 113 }, "_lpos": { "__type__": "cc.Vec3", @@ -4334,11 +2738,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 176 + "__id__": 108 }, "_enabled": true, "__prefab": { - "__id__": 178 + "__id__": 110 }, "_contentSize": { "__type__": "cc.Size", @@ -4362,11 +2766,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 176 + "__id__": 108 }, "_enabled": true, "__prefab": { - "__id__": 180 + "__id__": 112 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4420,20 +2824,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 175 + "__id__": 107 }, "_children": [], "_active": true, "_components": [ { - "__id__": 183 + "__id__": 115 }, { - "__id__": 185 + "__id__": 117 } ], "_prefab": { - "__id__": 187 + "__id__": 119 }, "_lpos": { "__type__": "cc.Vec3", @@ -4470,11 +2874,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 182 + "__id__": 114 }, "_enabled": true, "__prefab": { - "__id__": 184 + "__id__": 116 }, "_contentSize": { "__type__": "cc.Size", @@ -4498,11 +2902,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 182 + "__id__": 114 }, "_enabled": true, "__prefab": { - "__id__": 186 + "__id__": 118 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4556,23 +2960,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 175 + "__id__": 107 }, "_children": [], "_active": true, "_components": [ { - "__id__": 189 + "__id__": 121 }, { - "__id__": 191 + "__id__": 123 }, { - "__id__": 193 + "__id__": 125 } ], "_prefab": { - "__id__": 195 + "__id__": 127 }, "_lpos": { "__type__": "cc.Vec3", @@ -4609,11 +3013,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 188 + "__id__": 120 }, "_enabled": true, "__prefab": { - "__id__": 190 + "__id__": 122 }, "_contentSize": { "__type__": "cc.Size", @@ -4637,11 +3041,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 188 + "__id__": 120 }, "_enabled": true, "__prefab": { - "__id__": 192 + "__id__": 124 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4705,11 +3109,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 188 + "__id__": 120 }, "_enabled": true, "__prefab": { - "__id__": 194 + "__id__": 126 }, "templateMode": false, "watchPath": "data.role.power", @@ -4740,20 +3144,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 175 + "__id__": 107 }, "_children": [], "_active": true, "_components": [ { - "__id__": 197 + "__id__": 129 }, { - "__id__": 199 + "__id__": 131 } ], "_prefab": { - "__id__": 201 + "__id__": 133 }, "_lpos": { "__type__": "cc.Vec3", @@ -4790,15 +3194,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 128 }, "_enabled": true, "__prefab": { - "__id__": 198 + "__id__": 130 }, "_contentSize": { "__type__": "cc.Size", - "width": 72.88671875, + "width": 84, "height": 54.4 }, "_anchorPoint": { @@ -4818,11 +3222,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 128 }, "_enabled": true, "__prefab": { - "__id__": 200 + "__id__": 132 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4834,7 +3238,7 @@ "b": 255, "a": 255 }, - "_string": "技能CD", + "_string": "持续时间", "_horizontalAlign": 1, "_verticalAlign": 1, "_actualFontSize": 20, @@ -4899,11 +3303,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 175 + "__id__": 107 }, "_enabled": true, "__prefab": { - "__id__": 203 + "__id__": 135 }, "_contentSize": { "__type__": "cc.Size", @@ -4934,17 +3338,105 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "hp", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 8 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 138 + } + ], + "_prefab": { + "__id__": 140 + }, + "_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__": 54 + "__id__": 137 }, "_enabled": true, "__prefab": { - "__id__": 206 + "__id__": 139 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b53UM/s7tM/JLYmzO0vM5Q" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b5H8zuAdlF66eXGif/6pnv", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 8 + }, + "_enabled": true, + "__prefab": { + "__id__": 142 }, "_contentSize": { "__type__": "cc.Size", @@ -4985,12 +3477,12 @@ }, "_enabled": true, "__prefab": { - "__id__": 209 + "__id__": 145 }, "_contentSize": { "__type__": "cc.Size", - "width": 710, - "height": 300 + "width": 430, + "height": 180 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -5013,12 +3505,12 @@ }, "_enabled": true, "__prefab": { - "__id__": 211 + "__id__": 147 }, "_alignFlags": 40, "_target": null, "_left": 5, - "_right": 5, + "_right": 285, "_top": 0, "_bottom": 0, "_horizontalCenter": 0, @@ -5039,6 +3531,42 @@ "__type__": "cc.CompPrefabInfo", "fileId": "4cvO4etMZPXb7O03rne8fM" }, + { + "__type__": "20c2cDdGI5B2rdO/ayuJLM3", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 149 + }, + "n_name": { + "__id__": 9 + }, + "n_hp": { + "__id__": 137 + }, + "n_atk": { + "__id__": 47 + }, + "n_info": { + "__id__": 31 + }, + "n_atk_cd": { + "__id__": 77 + }, + "n_skillcd": { + "__id__": 107 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "2dhMxpwRNCE7wLo8lm8xBb" + }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/resources/gui/item_box.prefab.meta b/assets/resources/gui/item_box.prefab.meta index f90499c3..c8934ed0 100644 --- a/assets/resources/gui/item_box.prefab.meta +++ b/assets/resources/gui/item_box.prefab.meta @@ -2,7 +2,7 @@ "ver": "1.1.50", "importer": "prefab", "imported": true, - "uuid": "aa9b1ed2-a0ca-4c6a-ad95-fba08b3634dc", + "uuid": "e9d4aea4-d78a-40ff-9300-ad76fec45cfe", "files": [ ".json" ], diff --git a/assets/resources/gui/role_controller.prefab b/assets/resources/gui/role_controller.prefab index 4c263b4f..d87a8a5c 100644 --- a/assets/resources/gui/role_controller.prefab +++ b/assets/resources/gui/role_controller.prefab @@ -54,6 +54,9 @@ { "__id__": 499 }, + { + "__id__": 556 + }, { "__id__": 508 } @@ -61,17 +64,17 @@ "_active": true, "_components": [ { - "__id__": 556 + "__id__": 570 }, { - "__id__": 558 + "__id__": 572 }, { - "__id__": 560 + "__id__": 574 } ], "_prefab": { - "__id__": 562 + "__id__": 576 }, "_lpos": { "__type__": "cc.Vec3", @@ -12299,6 +12302,186 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 557 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 556 + }, + "asset": { + "__uuid__": "e9d4aea4-d78a-40ff-9300-ad76fec45cfe", + "__expectedType__": "cc.Prefab" + }, + "fileId": "c46/YsCPVOJYA4mWEpNYRx", + "instance": { + "__id__": 558 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "d7exDuC/5GhJv2X9stM6tg", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 559 + }, + { + "__id__": 561 + }, + { + "__id__": 562 + }, + { + "__id__": 563 + }, + { + "__id__": 564 + }, + { + "__id__": 566 + }, + { + "__id__": 567 + }, + { + "__id__": 569 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 560 + }, + "propertyPath": [ + "_name" + ], + "value": "item_box" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "c46/YsCPVOJYA4mWEpNYRx" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 560 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 181.9, + "y": 303.257, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 560 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 560 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 565 + }, + "propertyPath": [ + "_left" + ], + "value": 181.9 + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "4cvO4etMZPXb7O03rne8fM" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 565 + }, + "propertyPath": [ + "_right" + ], + "value": 108.1 + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 568 + }, + "propertyPath": [ + "_contentSize" + ], + "value": { + "__type__": "cc.Size", + "width": 430, + "height": 180 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "a8XXykVztBiZMmVdRCXu8V" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 560 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, { "__type__": "cc.UITransform", "_name": "GameUI", @@ -12309,7 +12492,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 557 + "__id__": 571 }, "_contentSize": { "__type__": "cc.Size", @@ -12337,7 +12520,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 559 + "__id__": 573 }, "_alignFlags": 45, "_target": null, @@ -12373,7 +12556,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 561 + "__id__": 575 }, "_id": "" }, @@ -12393,16 +12576,19 @@ "instance": null, "targetOverrides": [ { - "__id__": 563 + "__id__": 577 }, { - "__id__": 566 + "__id__": 580 } ], "nestedPrefabInstanceRoots": [ { "__id__": 508 }, + { + "__id__": 556 + }, { "__id__": 348 } @@ -12414,7 +12600,7 @@ "__id__": 508 }, "sourceInfo": { - "__id__": 564 + "__id__": 578 }, "propertyPath": [ "_target" @@ -12423,7 +12609,7 @@ "__id__": 508 }, "targetInfo": { - "__id__": 565 + "__id__": 579 } }, { @@ -12444,7 +12630,7 @@ "__id__": 508 }, "sourceInfo": { - "__id__": 567 + "__id__": 581 }, "propertyPath": [ "_target" @@ -12453,7 +12639,7 @@ "__id__": 508 }, "targetInfo": { - "__id__": 568 + "__id__": 582 } }, { diff --git a/assets/script/game/Role/Role.ts b/assets/script/game/Role/Role.ts index 3796babb..afae5ce3 100644 --- a/assets/script/game/Role/Role.ts +++ b/assets/script/game/Role/Role.ts @@ -62,12 +62,6 @@ export class Role extends ecs.Entity { this.hero_init(uuid,node) } - move(target: Vec3) { - var move = this.get(MoveToComp) || this.add(MoveToComp); - move.target = target; - move.node = this.MonsterView.node; - move.speed = 300; - } hero_init(uuid:number=1001,node:Node,pos:Vec3=v3(0,0,0)){ var mv = node.getComponent(MonsterViewComp)!; var buff =node.getComponent(MonsterBuffComp)!; @@ -91,6 +85,12 @@ export class Role extends ecs.Entity { this.add(mv); this.add(buff); } + move(target: Vec3) { + var move = this.get(MoveToComp) || this.add(MoveToComp); + move.target = target; + move.node = this.MonsterView.node; + move.speed = 300; + } } \ No newline at end of file diff --git a/assets/script/game/common/SingletonModuleComp.ts b/assets/script/game/common/SingletonModuleComp.ts index 3acc02d2..bc44aa8e 100644 --- a/assets/script/game/common/SingletonModuleComp.ts +++ b/assets/script/game/common/SingletonModuleComp.ts @@ -44,6 +44,7 @@ export class SingletonModuleComp extends ecs.Comp { /**heros 数据 */ heros:any = []; skills:any = [] + sk_info:any = [] monsters_dead:any = [] heros_dead:any = [] least_hp_monster_eid:number=0; diff --git a/assets/script/game/common/config/SkillSet.ts b/assets/script/game/common/config/SkillSet.ts index 725bf9bd..8b75c462 100644 --- a/assets/script/game/common/config/SkillSet.ts +++ b/assets/script/game/common/config/SkillSet.ts @@ -21,34 +21,61 @@ sp_name : 预制体名称 path: 图片地址 */ + export const SkillSet={ - 1001:{uuid: 1001,path: "1001",type: 1,level: 1,name: "火球术",sp_name:"fire",dis:720,count:1,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 1002:{uuid: 1002,path: "1002",type: 1,level: 1,name: "寒冰箭",sp_name:"ice",dis:720,count:1,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 4011:{uuid: 4011,path: "1011",type: 1,level: 3,name: "火焰风暴",sp_name:"fire",dis:720,count:5,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 4012:{uuid: 4012,path: "1012",type: 1,level: 3,name: "冰晶风暴",sp_name:"ice",dis:720,count:5,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 9001:{uuid: 9001,path: "1001",type: 1,level: 1,name: "基础攻击1",sp_name:"base",dis:720,count:1,atk:0,hp:0,shield:0,sd:10,cd:3,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:450,}, - 9002:{uuid: 9002,path: "1001",type: 1,level: 1,name: "基础攻击2",sp_name:"base2",dis:720,count:1,atk:0,hp:0,shield:0,sd:10,cd:3,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:450,}, - 9003:{uuid: 9003,path: "1001",type: 2,level: 1,name: "基础攻击3",sp_name:"base3",dis:720,count:1,atk:0,hp:0,shield:0,sd:10,cd:3,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:450,}, + 1001:{uuid: 1001,path: "1001",type: 1,level: 1,name: "火球术",sp_name:"fire",info:"释放一个火球术攻击敌人", + dis:720,count:1,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 1002:{uuid: 1002,path: "1002",type: 1,level: 1,name: "寒冰箭",sp_name:"ice",info:"释放一个寒冰箭攻击敌人", + dis:720,count:1,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 4011:{uuid: 4011,path: "1011",type: 1,level: 3,name: "火焰风暴",sp_name:"fire",info:"释放多个个火球术攻击敌人", + dis:720,count:5,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 4012:{uuid: 4012,path: "1012",type: 1,level: 3,name: "冰晶风暴",sp_name:"ice",info:"释放多个个寒冰箭攻击敌人", + dis:720,count:5,atk:10,hp:0,shield:0,sd:10,cd:1,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 9001:{uuid: 9001,path: "1001",type: 1,level: 1,name: "魔法波动",sp_name:"base",info:"释放一个魔法球攻击敌人", + dis:720,count:1,atk:0,hp:0,shield:0,sd:10,cd:3,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:450,}, + 9002:{uuid: 9002,path: "1001",type: 1,level: 1,name: "魔法波动",sp_name:"base2",info:"释放一个魔法球攻击敌人", + dis:720,count:1,atk:0,hp:0,shield:0,sd:10,cd:3,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:450,}, + 9003:{uuid: 9003,path: "1001",type: 2,level: 1,name: "魔法波动",sp_name:"base3",info:"释放一个魔法球攻击敌人", + dis:720,count:1,atk:0,hp:0,shield:0,sd:10,cd:3,bsd:10,bcd:1,sk_uuid:1001,sk_count:0,speed:450,}, - 6001:{uuid: 6001,path: "6001",type: 92,level: 1,name: "普通单手剑",sp_name:"",dis:720,count:1,atk:10,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6002:{uuid: 6002,path: "6002",type: 93,level: 3,name: "精致单手剑",sp_name:"",dis:720,count:1,atk:10,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6003:{uuid: 6003,path: "6003",type: 94,level: 3,name: "魔法单手剑",sp_name:"",dis:720,count:1,atk:10,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6004:{uuid: 6004,path: "6004",type: 92,level: 1,name: "普通木盾",sp_name:"",dis:720,count:1,atk:0,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6005:{uuid: 6005,path: "6005",type: 93,level: 3,name: "精致钢盾",sp_name:"",dis:720,count:1,atk:0,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6006:{uuid: 6006,path: "6006",type: 94,level: 3,name: "魔法盾",sp_name:"",dis:720,count:1,atk:0,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6101:{uuid: 6101,path: "6101",type: 91,level: 1,name: "初级药水",sp_name:"",dis:720,count:1,atk:0,hp:30,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6102:{uuid: 6102,path: "6102",type: 93,level: 3,name: "高级药水",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6103:{uuid: 6103,path: "6103",type: 94,level: 3,name: "活力药水",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6210:{uuid: 6210,path: "6210",type: 92,level: 3,name: "普通攻击石",sp_name:"",dis:720,count:1,atk:0,hp:30,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6211:{uuid: 6211,path: "6211",type: 93,level: 4,name: "特效攻击石",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6212:{uuid: 6212,path: "6212",type: 94,level: 4,name: "精炼攻击石",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6213:{uuid: 6213,path: "6213",type: 92,level: 3,name: "普通生命石",sp_name:"",dis:720,count:1,atk:0,hp:30,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6214:{uuid: 6214,path: "6214",type: 93,level: 4,name: "特效生命石",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6215:{uuid: 6215,path: "6215",type: 94,level: 4,name: "精炼生命石",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6216:{uuid: 6216,path: "6216",type: 92,level: 3,name: "普通全能石",sp_name:"",dis:720,count:1,atk:0,hp:30,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6217:{uuid: 6217,path: "6217",type: 93,level: 4,name: "特效全能石",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, - 6218:{uuid: 6218,path: "6218",type: 94,level: 4,name: "精炼全能石",sp_name:"",dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350,}, + 6001:{uuid: 6001,path: "6001",type: 92,level: 1,name: "普通单手剑",sp_name:"", + dis:720,count:1,atk:10,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6002:{uuid: 6002,path: "6002",type: 93,level: 3,name: "精致单手剑",sp_name:"", + dis:720,count:1,atk:10,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6003:{uuid: 6003,path: "6003",type: 94,level: 3,name: "魔法单手剑",sp_name:"", + dis:720,count:1,atk:10,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6004:{uuid: 6004,path: "6004",type: 92,level: 1,name: "普通木盾",sp_name:"", + dis:720,count:1,atk:0,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6005:{uuid: 6005,path: "6005",type: 93,level: 3,name: "精致钢盾",sp_name:"", + dis:720,count:1,atk:0,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6006:{uuid: 6006,path: "6006",type: 94,level: 3,name: "魔法盾",sp_name:"", + dis:720,count:1,atk:0,hp:0,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6101:{uuid: 6101,path: "6101",type: 91,level: 1,name: "初级药水",sp_name:"", + dis:720,count:1,atk:0,hp:30,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6102:{uuid: 6102,path: "6102",type: 93,level: 3,name: "高级药水",sp_name:"", + dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6103:{uuid: 6103,path: "6103",type: 94,level: 3,name: "活力药水",sp_name:"", + dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:5,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6210:{uuid: 6210,path: "6210",type: 92,level: 3,name: "普通攻击石",sp_name:"", + dis:720,count:1,atk:0,hp:30,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6211:{uuid: 6211,path: "6211",type: 93,level: 4,name: "特效攻击石",sp_name:"", + dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6212:{uuid: 6212,path: "6212",type: 94,level: 4,name: "精炼攻击石",sp_name:"", + dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6213:{uuid: 6213,path: "6213",type: 92,level: 3,name: "普通生命石",sp_name:"", + dis:720,count:1,atk:0,hp:30,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6214:{uuid: 6214,path: "6214",type: 93,level: 4,name: "特效生命石",sp_name:"", + dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6215:{uuid: 6215,path: "6215",type: 94,level: 4,name: "精炼生命石",sp_name:"", + dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6216:{uuid: 6216,path: "6216",type: 92,level: 3,name: "普通全能石",sp_name:"", + dis:720,count:1,atk:0,hp:30,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6217:{uuid: 6217,path: "6217",type: 93,level: 4,name: "特效全能石",sp_name:"", + dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, + 6218:{uuid: 6218,path: "6218",type: 94,level: 4,name: "精炼全能石",sp_name:"", + dis:720,count:1,atk:0,hp:50,shield:0,sd:30,cd:1,bsd:0,bcd:1,sk_uuid:1001,sk_count:0,speed:350, }, } + export const AllItems={ } diff --git a/assets/script/game/gui.meta b/assets/script/game/gui.meta new file mode 100644 index 00000000..778539bf --- /dev/null +++ b/assets/script/game/gui.meta @@ -0,0 +1,9 @@ +{ + "ver": "1.2.0", + "importer": "directory", + "imported": true, + "uuid": "72cf6d53-03ee-4f9d-aefc-0f164cbeddb2", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script/game/gui/InfoBox.ts b/assets/script/game/gui/InfoBox.ts new file mode 100644 index 00000000..26493dcf --- /dev/null +++ b/assets/script/game/gui/InfoBox.ts @@ -0,0 +1,50 @@ +import { instantiate, Prefab, Vec3 } from "cc"; +import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; +import { InfoBoxCom } from "./InfoBoxCom"; +import { smc } from "../common/SingletonModuleComp"; +import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops"; + +/** InfoBox 模块 */ +@ecs.register(`InfoBox`) +export class InfoBox extends ecs.Entity { + /** ---------- 数据层 ---------- */ + // InfoBoxModel!: InfoBoxModelComp; + + /** ---------- 业务层 ---------- */ + // InfoBoxBll!: InfoBoxBllComp; + + /** ---------- 视图层 ---------- */ + InfoBoxView!: InfoBoxCom + + /** 实始添加的数据层组件 */ + protected init() { + // this.addComponents(); + } + load(pos: Vec3 = Vec3.ZERO,uuid:number=101,prefab_path:string) { + var path = "game/gui/"+prefab_path; + var prefab: Prefab = oops.res.get(path, Prefab)!; + var node = instantiate(prefab); + var scene = smc.map.MapView.scene; + node.parent = scene.SkillLayer!.node!; + node.setPosition(pos) + // console.log(node.getChildByName("avatar").getChildByName("TNode").getChildByName("bb").getComponent(Sprite)) + // const url = 'game/heros/player'; + // resources.load(url, SpriteAtlas, (err: any, atlas) => { + // const sprite = node.getChildByName("avatar").getChildByName("TNode").getChildByName("bb").getComponent(Sprite); + + // sprite.spriteFrame = atlas.getSpriteFrame(RoleSet[uuid].path); + // }); + // var rv = node.getComponent(MonsterViewComp)!; + // this.add(rv); + var mv = node.getComponent(InfoBoxCom)!; + this.add(mv); + + } + /** 模块资源释放 */ + destroy() { + // 注: 自定义释放逻辑,视图层实现 ecs.IComp 接口的 ecs 组件需要手动释放 + this.remove(InfoBoxCom); + super.destroy(); + } +} + diff --git a/assets/script/game/gui/InfoBox.ts.meta b/assets/script/game/gui/InfoBox.ts.meta new file mode 100644 index 00000000..b726dffc --- /dev/null +++ b/assets/script/game/gui/InfoBox.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "b64b5d93-6a68-402a-a7ab-bf89db4a153b", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script/game/gui/InfoBoxCom.ts b/assets/script/game/gui/InfoBoxCom.ts new file mode 100644 index 00000000..b6b2cdb3 --- /dev/null +++ b/assets/script/game/gui/InfoBoxCom.ts @@ -0,0 +1,43 @@ +import { _decorator ,Node} from "cc"; +import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; +import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp"; + +const { ccclass, property } = _decorator; + +/** 视图层对象 */ +@ccclass('InfoBoxCom') +@ecs.register('InfoBox', false) +export class InfoBoxCom extends CCComp { + @property(Node) + n_name:Node =null! + @property(Node) + n_hp:Node =null! + @property(Node) + n_atk:Node =null! + @property(Node) + n_info:Node =null! + @property(Node) + n_atk_cd:Node =null! + @property(Node) + n_skillcd:Node =null! + + n_type:number=0; // 0:技能 1 精灵 + /** 视图层逻辑代码分离演示 */ + start() { + // var entity = this.ent as ecs.Entity; // ecs.Entity 可转为当前模块的具体实体对象 + console.log("InfoBoxCom start"); + } + + /** 全局消息逻辑处理 */ + // private onHandler(event: string, args: any) { + // switch (event) { + // case ModuleEvent.Cmd: + // break; + // } + // } + + /** 视图对象通过 ecs.Entity.remove(ModuleViewComp) 删除组件是触发组件处理自定义释放逻辑 */ + reset() { + this.node.destroy(); + } +} \ No newline at end of file diff --git a/assets/script/game/gui/InfoBoxCom.ts.meta b/assets/script/game/gui/InfoBoxCom.ts.meta new file mode 100644 index 00000000..6aba4aaa --- /dev/null +++ b/assets/script/game/gui/InfoBoxCom.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "20c2c0dd-188e-41da-b74e-fdacae24b337", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script/game/initialize/Initialize.ts b/assets/script/game/initialize/Initialize.ts index 00a6b615..3724b3b8 100644 --- a/assets/script/game/initialize/Initialize.ts +++ b/assets/script/game/initialize/Initialize.ts @@ -87,6 +87,7 @@ export class Initialize extends ecs.Entity { queue.complete = () => { smc.heros = HeroSet; smc.skills=SkillSet; + var uic: UICallbacks = { onAdded: (node: Node, params: any) => { var comp = node.getComponent(LoadingViewComp) as ecs.Comp; diff --git a/assets/script/game/monster/HeroCardViewComp.ts b/assets/script/game/monster/HeroCardViewComp.ts index ae6be62c..ef0147c7 100644 --- a/assets/script/game/monster/HeroCardViewComp.ts +++ b/assets/script/game/monster/HeroCardViewComp.ts @@ -1,4 +1,4 @@ -import { _decorator ,Label,NodeEventType,EventTouch} from "cc"; +import { _decorator ,Label,NodeEventType,EventTouch,v3} 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 { data } from "../data/data"; @@ -12,6 +12,7 @@ import { Hero } from "./Hero"; import { MonsterViewComp } from "./MonsterViewComp"; import { MapMonsterComp } from "../map/MapMonsterComp"; import { MapSkillComp } from "../map/MapSkillComp"; +import { InfoBox } from "../gui/InfoBox"; const { ccclass, property } = _decorator; /** 视图层对象 */ @@ -60,6 +61,8 @@ export class HeroCardViewComp extends CCComp { onTouchMove(event: EventTouch) { let delta = event.getDelta(); this.node.setPosition(this.node.position.x+delta.x,this.node.position.y+delta.y); + let parent = this.node.parent.parent + parent.getChildByName("item_box").active=true } onTouchEnd(){ if(this.node.position.y-this.pos_y > 150){ @@ -67,6 +70,9 @@ export class HeroCardViewComp extends CCComp { }else{ this.node.setPosition(this.pos_x,this.pos_y); } + let parent = this.node.parent.parent + + parent.getChildByName("item_box").active=false } private do_active_card_eid(event: string, args: any) { @@ -80,8 +86,9 @@ export class HeroCardViewComp extends CCComp { // console.log(this.node.getChildByName("active"),this.node.getChildByName("use"), this.node.getChildByName("bag")) // let use = this.node.getChildByName("use") // let bag = this.node.getChildByName("bag") - let active = this.node.getChildByName("active") - active.active = !active.active + // let active = this.node.getChildByName("active") + // active.active = !active.active + // use.active = !use.active // bag.active = !bag.active // this.alive=!this.alive @@ -93,14 +100,15 @@ export class HeroCardViewComp extends CCComp { } no_active(){ - let active = this.node.getChildByName("active") - // let use = this.node.getChildByName("use") - // let bag = this.node.getChildByName("bag") - active.active = false - this.node.setScale(1,1) + // let active = this.node.getChildByName("active") + // // let use = this.node.getChildByName("use") + // // let bag = this.node.getChildByName("bag") + // active.active = false + // this.node.setScale(1,1) // use.active = false // bag.active = false } + doit(){ // this.do_active() smc.vm_data.cards.eid = this.ent.eid;