战斗暴击 闪避 基本完成

This commit is contained in:
2024-11-17 19:08:21 +08:00
parent 75d2dd5988
commit 49e5447234
10 changed files with 552 additions and 93 deletions

View File

@@ -26,19 +26,22 @@
},
{
"__id__": 28
},
{
"__id__": 38
}
],
"_active": true,
"_components": [
{
"__id__": 38
"__id__": 54
},
{
"__id__": 40
"__id__": 56
}
],
"_prefab": {
"__id__": 42
"__id__": 58
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -82,7 +85,7 @@
"__id__": 3
}
],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 9
@@ -848,8 +851,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 70.68701171875,
"height": 24.16
"width": 104.71875,
"height": 33.2
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -887,10 +890,10 @@
"_string": "skill name",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 15,
"_fontSize": 16,
"_actualFontSize": 20,
"_fontSize": 20,
"_fontFamily": "Arial",
"_lineHeight": 16,
"_lineHeight": 20,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
@@ -909,7 +912,7 @@
"b": 0,
"a": 255
},
"_outlineWidth": 1,
"_outlineWidth": 4,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
@@ -984,6 +987,419 @@
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "bloss",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [
{
"__id__": 39
},
{
"__id__": 45
}
],
"_active": false,
"_components": [
{
"__id__": 51
}
],
"_prefab": {
"__id__": 53
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 49.342,
"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": "hp",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 38
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 40
},
{
"__id__": 42
}
],
"_prefab": {
"__id__": 44
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 73.978,
"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": 200,
"height": 64.7
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "55I8JpnXhPoLsF7UAMsW2P"
},
{
"__type__": "cc.Label",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 39
},
"_enabled": true,
"__prefab": {
"__id__": 43
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 231,
"g": 22,
"b": 22,
"a": 255
},
"_string": "10",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 56,
"_fontSize": 55,
"_fontFamily": "Arial",
"_lineHeight": 55,
"_overflow": 2,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_outlineWidth": 7,
"_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": "8fe9dF+oZOtrBXkWK7Zov5"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "7fnHKSWA5JtKAidc9unW1m",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "b",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 38
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 46
},
{
"__id__": 48
}
],
"_prefab": {
"__id__": 50
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -59.652,
"y": -2.544,
"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": 62,
"height": 52.4
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "322JjRaLVCH6xInPHAtHJU"
},
{
"__type__": "cc.Label",
"_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
},
"_string": "暴击",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 30,
"_fontSize": 30,
"_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": 255,
"g": 0,
"b": 0,
"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": "9duqGwDtVOQIskLBlI+GeW"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "ddEVlyv8BP9Jn5ubLJ8w8h",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 38
},
"_enabled": true,
"__prefab": {
"__id__": 52
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "03+pQINmpEeLZGnj5sA4RM"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "20vKhpGcBEoKbUIhLvPmd1",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -994,7 +1410,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 39
"__id__": 55
},
"_contentSize": {
"__type__": "cc.Size",
@@ -1022,7 +1438,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 41
"__id__": 57
},
"_id": ""
},