diff --git a/assets/resources/game/heros/mon.meta b/assets/resources/game/heros/mon.meta deleted file mode 100644 index fb8bdc53..00000000 --- a/assets/resources/game/heros/mon.meta +++ /dev/null @@ -1,9 +0,0 @@ -{ - "ver": "1.2.0", - "importer": "directory", - "imported": true, - "uuid": "abd9ad63-8d8c-4a2c-baed-e9a46802227c", - "files": [], - "subMetas": {}, - "userData": {} -} diff --git a/assets/resources/game/map/map_rpg.prefab b/assets/resources/game/map/map_rpg.prefab index ef5641d3..74c09e1d 100644 --- a/assets/resources/game/map/map_rpg.prefab +++ b/assets/resources/game/map/map_rpg.prefab @@ -28,17 +28,17 @@ "_active": true, "_components": [ { - "__id__": 128 + "__id__": 134 }, { - "__id__": 130 + "__id__": 136 }, { - "__id__": 132 + "__id__": 138 } ], "_prefab": { - "__id__": 134 + "__id__": 140 }, "_lpos": { "__type__": "cc.Vec3", @@ -197,17 +197,17 @@ "_active": true, "_components": [ { - "__id__": 121 + "__id__": 127 }, { - "__id__": 123 + "__id__": 129 }, { - "__id__": 125 + "__id__": 131 } ], "_prefab": { - "__id__": 127 + "__id__": 133 }, "_lpos": { "__type__": "cc.Vec3", @@ -251,23 +251,23 @@ "__id__": 8 }, { - "__id__": 78 + "__id__": 80 }, { - "__id__": 82 + "__id__": 84 }, { - "__id__": 112 + "__id__": 118 } ], "_active": true, "_components": [ { - "__id__": 118 + "__id__": 124 } ], "_prefab": { - "__id__": 120 + "__id__": 126 }, "_lpos": { "__type__": "cc.Vec3", @@ -311,20 +311,20 @@ "__id__": 9 }, { - "__id__": 55 + "__id__": 57 } ], "_active": true, "_components": [ { - "__id__": 73 + "__id__": 75 }, { - "__id__": 75 + "__id__": 77 } ], "_prefab": { - "__id__": 77 + "__id__": 79 }, "_lpos": { "__type__": "cc.Vec3", @@ -389,11 +389,11 @@ "_active": true, "_components": [ { - "__id__": 52 + "__id__": 54 } ], "_prefab": { - "__id__": 54 + "__id__": 56 }, "_lpos": { "__type__": "cc.Vec3", @@ -1256,10 +1256,13 @@ }, { "__id__": 49 + }, + { + "__id__": 51 } ], "_prefab": { - "__id__": 51 + "__id__": 53 }, "_lpos": { "__type__": "cc.Vec3", @@ -1305,7 +1308,7 @@ "_contentSize": { "__type__": "cc.Size", "width": 960, - "height": 300 + "height": 350 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1363,6 +1366,42 @@ "__type__": "cc.CompPrefabInfo", "fileId": "85ahwey7ZDkrFRvDxTGiJ7" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 46 + }, + "_enabled": true, + "__prefab": { + "__id__": 52 + }, + "_alignFlags": 4, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": -220, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "91cW9sQW9CJ6L1IOoApcW6" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -1386,7 +1425,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 53 + "__id__": 55 }, "_contentSize": { "__type__": "cc.Size", @@ -1427,20 +1466,20 @@ }, "_children": [ { - "__id__": 56 + "__id__": 58 }, { - "__id__": 62 + "__id__": 64 } ], "_active": false, "_components": [ { - "__id__": 70 + "__id__": 72 } ], "_prefab": { - "__id__": 72 + "__id__": 74 }, "_lpos": { "__type__": "cc.Vec3", @@ -1477,20 +1516,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 55 + "__id__": 57 }, "_children": [], "_active": true, "_components": [ { - "__id__": 57 + "__id__": 59 }, { - "__id__": 59 + "__id__": 61 } ], "_prefab": { - "__id__": 61 + "__id__": 63 }, "_lpos": { "__type__": "cc.Vec3", @@ -1527,11 +1566,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 56 + "__id__": 58 }, "_enabled": true, "__prefab": { - "__id__": 58 + "__id__": 60 }, "_contentSize": { "__type__": "cc.Size", @@ -1555,11 +1594,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 56 + "__id__": 58 }, "_enabled": true, "__prefab": { - "__id__": 60 + "__id__": 62 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1616,23 +1655,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 55 + "__id__": 57 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 63 - }, { "__id__": 65 }, { "__id__": 67 + }, + { + "__id__": 69 } ], "_prefab": { - "__id__": 69 + "__id__": 71 }, "_lpos": { "__type__": "cc.Vec3", @@ -1669,11 +1708,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 62 + "__id__": 64 }, "_enabled": true, "__prefab": { - "__id__": 64 + "__id__": 66 }, "_contentSize": { "__type__": "cc.Size", @@ -1697,11 +1736,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 62 + "__id__": 64 }, "_enabled": true, "__prefab": { - "__id__": 66 + "__id__": 68 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1745,11 +1784,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 62 + "__id__": 64 }, "_enabled": true, "__prefab": { - "__id__": 68 + "__id__": 70 }, "playOnLoad": true, "_clips": [ @@ -1787,11 +1826,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 55 + "__id__": 57 }, "_enabled": true, "__prefab": { - "__id__": 71 + "__id__": 73 }, "_contentSize": { "__type__": "cc.Size", @@ -1832,7 +1871,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 74 + "__id__": 76 }, "_contentSize": { "__type__": "cc.Size", @@ -1860,7 +1899,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 76 + "__id__": 78 }, "bgImg": null, "_id": "" @@ -1894,11 +1933,11 @@ "_active": true, "_components": [ { - "__id__": 79 + "__id__": 81 } ], "_prefab": { - "__id__": 81 + "__id__": 83 }, "_lpos": { "__type__": "cc.Vec3", @@ -1935,11 +1974,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 78 + "__id__": 80 }, "_enabled": true, "__prefab": { - "__id__": 80 + "__id__": 82 }, "_contentSize": { "__type__": "cc.Size", @@ -1980,661 +2019,27 @@ }, "_children": [ { - "__id__": 83 + "__id__": 85 }, { - "__id__": 87 + "__id__": 89 }, { - "__id__": 91 + "__id__": 93 }, { - "__id__": 95 + "__id__": 97 }, { - "__id__": 99 + "__id__": 101 }, { - "__id__": 103 - } - ], - "_active": true, - "_components": [ - { - "__id__": 107 + "__id__": 105 }, { "__id__": 109 } ], - "_prefab": { - "__id__": 111 - }, - "_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": 1, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "LINE3", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 82 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 84 - } - ], - "_prefab": { - "__id__": 86 - }, - "_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": 1, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 83 - }, - "_enabled": true, - "__prefab": { - "__id__": 85 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "a5LMIIbHtOKK10K5do5dSQ" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "a6CBSkrzZIurlX0D/HzXDp", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "LINE1", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 82 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 88 - } - ], - "_prefab": { - "__id__": 90 - }, - "_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": 1, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 87 - }, - "_enabled": true, - "__prefab": { - "__id__": 89 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "b8C5CFg5lM4oUHMeSrc/sV" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "4dcNJaDM1CLI9q3fIqHZ/U", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "HERO", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 82 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 92 - } - ], - "_prefab": { - "__id__": 94 - }, - "_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": 1, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 91 - }, - "_enabled": true, - "__prefab": { - "__id__": 93 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "dasmpuTSVM7qA3QW9/3XjQ" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "eaiasKNEFO6qvodGhL4a0b", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "LINE2", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 82 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 96 - } - ], - "_prefab": { - "__id__": 98 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 95 - }, - "_enabled": true, - "__prefab": { - "__id__": 97 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "ea767WaZRHo4s0bZQfN8zP" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "60UdPtJn9ALLHCveLwT1bT", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "LINE4", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 82 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 100 - } - ], - "_prefab": { - "__id__": 102 - }, - "_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": 1, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 99 - }, - "_enabled": true, - "__prefab": { - "__id__": 101 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "141kciXbJMsYSI6X6J/esh" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "5f0OKGVDRCNKxvM3xSrqhv", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "SKILL", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 82 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 104 - } - ], - "_prefab": { - "__id__": 106 - }, - "_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": 1, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 103 - }, - "_enabled": true, - "__prefab": { - "__id__": 105 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "47rZJ0Uv9HkIhkIUzm2ES9" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "f0bFfyrcRF77DMu5a9MYtG", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 82 - }, - "_enabled": true, - "__prefab": { - "__id__": 108 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 100, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "f91Y4OCX1NFKfSWOAvmdSa" - }, - { - "__type__": "6639ayo4DFKZYCU2OBZzyb+", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 82 - }, - "_enabled": true, - "__prefab": { - "__id__": 110 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "6fzmfjcbNPK6tOzQOKJfRV" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "77ZGG4JjxGiol1pDVFrjGQ", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "SkillLayer", - "_objFlags": 512, - "__editorExtras__": {}, - "_parent": { - "__id__": 7 - }, - "_children": [], "_active": true, "_components": [ { @@ -2676,14 +2081,630 @@ }, "_id": "" }, + { + "__type__": "cc.Node", + "_name": "LINE4", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 84 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 86 + } + ], + "_prefab": { + "__id__": 88 + }, + "_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": 1, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, { "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { + "__id__": 85 + }, + "_enabled": true, + "__prefab": { + "__id__": 87 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "141kciXbJMsYSI6X6J/esh" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5f0OKGVDRCNKxvM3xSrqhv", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "LINE2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 84 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 90 + } + ], + "_prefab": { + "__id__": 92 + }, + "_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": 1, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 89 + }, + "_enabled": true, + "__prefab": { + "__id__": 91 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ea767WaZRHo4s0bZQfN8zP" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "60UdPtJn9ALLHCveLwT1bT", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "HERO", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 84 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 94 + } + ], + "_prefab": { + "__id__": 96 + }, + "_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": 1, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 93 + }, + "_enabled": true, + "__prefab": { + "__id__": 95 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "dasmpuTSVM7qA3QW9/3XjQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "eaiasKNEFO6qvodGhL4a0b", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "LINE1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 84 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 98 + } + ], + "_prefab": { + "__id__": 100 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + }, + "_mobility": 0, + "_layer": 1, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 97 + }, + "_enabled": true, + "__prefab": { + "__id__": 99 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b8C5CFg5lM4oUHMeSrc/sV" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4dcNJaDM1CLI9q3fIqHZ/U", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "LINE3", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 84 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 102 + } + ], + "_prefab": { + "__id__": 104 + }, + "_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": 1, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 101 + }, + "_enabled": true, + "__prefab": { + "__id__": 103 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a5LMIIbHtOKK10K5do5dSQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a6CBSkrzZIurlX0D/HzXDp", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "BOOS", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 84 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 106 + } + ], + "_prefab": { + "__id__": 108 + }, + "_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": 1, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 105 + }, + "_enabled": true, + "__prefab": { + "__id__": 107 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "3fVB8r2UFAB5QujD6LOw6s" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f4iFaXCXNKorfGJFH32POa", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "SKILL", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 84 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 110 + } + ], + "_prefab": { "__id__": 112 }, + "_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": 1, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 109 + }, + "_enabled": true, + "__prefab": { + "__id__": 111 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "47rZJ0Uv9HkIhkIUzm2ES9" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f0bFfyrcRF77DMu5a9MYtG", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 84 + }, "_enabled": true, "__prefab": { "__id__": 114 @@ -2693,6 +2714,115 @@ "width": 100, "height": 100 }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f91Y4OCX1NFKfSWOAvmdSa" + }, + { + "__type__": "6639ayo4DFKZYCU2OBZzyb+", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 84 + }, + "_enabled": true, + "__prefab": { + "__id__": 116 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6fzmfjcbNPK6tOzQOKJfRV" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "77ZGG4JjxGiol1pDVFrjGQ", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "SkillLayer", + "_objFlags": 512, + "__editorExtras__": {}, + "_parent": { + "__id__": 7 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 119 + }, + { + "__id__": 121 + } + ], + "_prefab": { + "__id__": 123 + }, + "_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": 1, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 118 + }, + "_enabled": true, + "__prefab": { + "__id__": 120 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, "_anchorPoint": { "__type__": "cc.Vec2", "x": 0.5, @@ -2710,11 +2840,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 112 + "__id__": 118 }, "_enabled": true, "__prefab": { - "__id__": 116 + "__id__": 122 }, "light": null, "_id": "" @@ -2746,7 +2876,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 119 + "__id__": 125 }, "_contentSize": { "__type__": "cc.Size", @@ -2787,7 +2917,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 122 + "__id__": 128 }, "_contentSize": { "__type__": "cc.Size", @@ -2815,7 +2945,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 124 + "__id__": 130 }, "camera": { "__id__": 3 @@ -2824,16 +2954,16 @@ "__id__": 7 }, "mapLayer": { - "__id__": 75 + "__id__": 77 }, "floorLayer": { - "__id__": 78 + "__id__": 80 }, "entityLayer": { - "__id__": 109 + "__id__": 115 }, "SkillLayer": { - "__id__": 115 + "__id__": 121 }, "isFollowPlayer": true, "_id": "" @@ -2852,7 +2982,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 126 + "__id__": 132 }, "_id": "" }, @@ -2883,7 +3013,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 129 + "__id__": 135 }, "_contentSize": { "__type__": "cc.Size", @@ -2911,7 +3041,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 131 + "__id__": 137 }, "_cameraComponent": { "__id__": 3 @@ -2933,7 +3063,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 133 + "__id__": 139 }, "_alignFlags": 45, "_target": null, diff --git a/assets/script/game/common/config/GameSet.ts b/assets/script/game/common/config/GameSet.ts index 3d8b1784..f9a6b3f7 100644 --- a/assets/script/game/common/config/GameSet.ts +++ b/assets/script/game/common/config/GameSet.ts @@ -18,7 +18,7 @@ export enum BoxSet { LETF_END = -420, RIGHT_END = 420, //游戏地平线 - GAME_LINE = -165 + GAME_LINE = -140 //攻击距离 } diff --git a/assets/script/game/hero/MoveComp.ts b/assets/script/game/hero/MoveComp.ts index 9b4812e7..e45af06d 100644 --- a/assets/script/game/hero/MoveComp.ts +++ b/assets/script/game/hero/MoveComp.ts @@ -37,10 +37,10 @@ interface MoveFacConfig { @ecs.register('MoveSystem') export class MoveSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate { private readonly ySlots = [ - { offset: 0, lineName: "LINE2" }, - { offset: 5, lineName: "LINE1" }, - { offset: -5, lineName: "LINE3" }, - { offset: -10, lineName: "LINE4" }, + { offset: 0, lineName: "LINE1" }, + { offset: 15, lineName: "LINE2" }, + { offset: -15, lineName: "LINE3" }, + { offset: 30, lineName: "LINE4" }, ]; private readonly samePointXThreshold = 12; private readonly samePointYThreshold = 3;