伤害技能添加,技能还需完善

This commit is contained in:
2024-08-26 23:42:38 +08:00
parent 8a44a15153
commit ede4ffd4ca
20 changed files with 1439 additions and 330 deletions

File diff suppressed because one or more lines are too long

View File

@@ -528,13 +528,13 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 15.520000457763672,
"height": 9.600000381469727
"width": 83.13999938964844,
"height": 51.709999084472656
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0
"x": 0.00986288187235107,
"y": 0.3422935810543142
},
"_id": ""
},
@@ -569,7 +569,7 @@
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "move",
"defaultAnimation": "",
"_premultipliedAlpha": false,
"_timeScale": 1,
"_preCacheMode": 1,

View File

@@ -1,6 +1,6 @@
{
"skeleton": {
"hash": "sMfmFw/FfW4",
"hash": "jMvRjm/pTv0",
"spine": "4.2.35",
"x": -0.82,
"y": 24.4,
@@ -64,14 +64,24 @@
}
},
"magic": {
"bones": {
"bone": {
"rotate": [
{},
{ "time": 0.5, "value": 25.28 },
{ "time": 0.6667 }
]
}
}
},
"max": {
"bones": {
"bone": {
"scale": [
{ "x": 0.986, "y": 0.986 },
{ "time": 0.2, "x": 1.153, "y": 0.896 },
{ "time": 0.4, "x": 0.789, "y": 1.085, "curve": "stepped" },
{ "time": 0.5333, "x": 0.789, "y": 1.085 },
{ "time": 0.6667, "x": 0.986, "y": 0.986 }
{},
{ "time": 0.5, "x": 0.789, "y": 0.789 },
{ "time": 0.6667, "x": 1.233, "y": 1.233 },
{ "time": 0.8333, "x": 0.986, "y": 0.986 }
]
}
}
@@ -81,7 +91,8 @@
"bone": {
"scale": [
{},
{ "time": 0.5, "x": 0.937, "y": 0.937 },
{ "time": 0.3333, "x": 1.085, "y": 0.993 },
{ "time": 0.6667, "x": 0.888, "y": 0.986 },
{ "time": 1 }
]
}

View File

@@ -34,35 +34,32 @@
"__id__": 44
},
{
"__id__": 52
},
{
"__id__": 64
"__id__": 56
}
],
"_active": true,
"_components": [
{
"__id__": 60
},
{
"__id__": 62
},
{
"__id__": 64
},
{
"__id__": 66
},
{
"__id__": 68
},
{
"__id__": 70
},
{
"__id__": 72
},
{
"__id__": 74
},
{
"__id__": 76
},
{
"__id__": 78
}
],
"_prefab": {
"__id__": 80
"__id__": 72
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -994,186 +991,6 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "lab_name",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 45
},
{
"__id__": 47
},
{
"__id__": 49
}
],
"_prefab": {
"__id__": 51
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 84.999,
"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__": 44
},
"_enabled": true,
"__prefab": {
"__id__": 46
},
"_contentSize": {
"__type__": "cc.Size",
"width": 70.84750248055802,
"height": 27.2
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c68UOAlNhN171Umca6yVvF"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 44
},
"_enabled": true,
"__prefab": {
"__id__": 48
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "monster",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 18,
"_fontSize": 18,
"_fontFamily": "Arial",
"_lineHeight": 20,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": true,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": false,
"_outlineColor": {
"__type__": "cc.Color",
"r": 24,
"g": 25,
"b": 27,
"a": 255
},
"_outlineWidth": 1,
"_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": "2frm37uaJHQr0AEEaYyM82"
},
{
"__type__": "cc.LabelOutline",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 44
},
"_enabled": true,
"__prefab": {
"__id__": 50
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "aeeDsd9JVLMK0M/n2WTVl7"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "31uZ7ewvdKoKWqTJ+narWR",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "level",
@@ -1184,20 +1001,20 @@
},
"_children": [
{
"__id__": 53
"__id__": 45
}
],
"_active": false,
"_components": [
{
"__id__": 59
"__id__": 51
},
{
"__id__": 61
"__id__": 53
}
],
"_prefab": {
"__id__": 63
"__id__": 55
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1234,20 +1051,20 @@
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 52
"__id__": 44
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 54
"__id__": 46
},
{
"__id__": 56
"__id__": 48
}
],
"_prefab": {
"__id__": 58
"__id__": 50
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1284,11 +1101,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 53
"__id__": 45
},
"_enabled": true,
"__prefab": {
"__id__": 55
"__id__": 47
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1312,11 +1129,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 53
"__id__": 45
},
"_enabled": true,
"__prefab": {
"__id__": 57
"__id__": 49
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -1393,11 +1210,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 52
"__id__": 44
},
"_enabled": true,
"__prefab": {
"__id__": 60
"__id__": 52
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1421,11 +1238,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 52
"__id__": 44
},
"_enabled": true,
"__prefab": {
"__id__": 62
"__id__": 54
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -1485,11 +1302,11 @@
"_active": true,
"_components": [
{
"__id__": 65
"__id__": 57
}
],
"_prefab": {
"__id__": 67
"__id__": 59
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1526,11 +1343,11 @@
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 64
"__id__": 56
},
"_enabled": true,
"__prefab": {
"__id__": 66
"__id__": 58
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1571,7 +1388,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 69
"__id__": 61
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1599,7 +1416,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 71
"__id__": 63
},
"_customMaterial": null,
"_srcBlendFactor": 2,
@@ -1641,7 +1458,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 73
"__id__": 65
},
"enabledContactListener": true,
"bullet": true,
@@ -1675,7 +1492,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 75
"__id__": 67
},
"tag": 0,
"_group": 4,
@@ -1709,7 +1526,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 77
"__id__": 69
},
"hitFlashMaterial": {
"__uuid__": "a8f34051-ccff-4050-b9d9-234f62977264",
@@ -1731,7 +1548,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 79
"__id__": 71
},
"animator": {
"__id__": 13

View File

@@ -105,8 +105,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": -1,
"y": 1,
"x": -0.6,
"y": 0.6,
"z": 1
},
"_mobility": 0,
@@ -219,8 +219,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 286,
"height": 90
"width": 120,
"height": 80
},
"_anchorPoint": {
"__type__": "cc.Vec2",

View File

@@ -31,11 +31,14 @@
"_active": true,
"_components": [
{
"__id__": 44
"__id__": 50
},
{
"__id__": 52
}
],
"_prefab": {
"__id__": 46
"__id__": 54
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -903,16 +906,19 @@
"_children": [
{
"__id__": 35
}
],
"_active": false,
"_components": [
},
{
"__id__": 41
}
],
"_active": true,
"_components": [
{
"__id__": 47
}
],
"_prefab": {
"__id__": 43
"__id__": 49
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -1079,6 +1085,165 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "name",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 34
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 42
},
{
"__id__": 44
}
],
"_prefab": {
"__id__": 46
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": -37.462,
"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__": 41
},
"_enabled": true,
"__prefab": {
"__id__": 43
},
"_contentSize": {
"__type__": "cc.Size",
"width": 70.68701171875,
"height": 24.16
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "6a3nixJ2FDmLkwcHiNiBIJ"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 41
},
"_enabled": true,
"__prefab": {
"__id__": 45
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_string": "skill name",
"_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": "4eAxZ8G69HlaWyQeyhIMZ9"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "8cqDZ2t3hCnq/3xIhHn7bG",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -1089,7 +1254,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 42
"__id__": 48
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1130,7 +1295,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 45
"__id__": 51
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1148,6 +1313,24 @@
"__type__": "cc.CompPrefabInfo",
"fileId": "2fHdG8eeBH07DW0tmYrhH9"
},
{
"__type__": "49ffddtcGlJR7FwYs1yYZ7e",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 53
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "99T6VfhxpBi77UjUnNlL0n"
},
{
"__type__": "cc.PrefabInfo",
"root": {