添加暴捶英雄,同时修复 endanmbomcom 错误,使用rigid.sleep和rigid.wakeup关闭和启动碰撞检测

This commit is contained in:
2025-01-20 23:51:59 +08:00
parent 2a8b65d328
commit 478cf13f5e
12 changed files with 540 additions and 947 deletions

View File

@@ -1,5 +1,5 @@
buff_58.png
cuida.png
size: 1597,563
format: RGBA8888
filter: Linear,Linear

View File

@@ -2,7 +2,7 @@
"ver": "1.0.1",
"importer": "*",
"imported": true,
"uuid": "ae492f23-b996-471c-8935-a8a18b937e67",
"uuid": "b914bb82-0158-4f95-aa06-186ecf75704b",
"files": [
".atlas",
".json"

View File

@@ -1,8 +1,8 @@
{
"skeleton": {
"hash": "Pl4IgAMFSqi37y5taevO4jMOL90=",
"hash": "VlkSu78ojP7zJg1+7xQJ0J7RzWs=",
"spine": "3.8.75",
"x": -4.68,
"x": -131.04,
"y": 19.77,
"width": 221,
"height": 98,
@@ -10,7 +10,7 @@
"audio": ""
},
"bones": [
{ "name": "root" },
{ "name": "root", "x": -126.36 },
{ "name": "cuzi", "parent": "root", "x": 12.16, "y": 65.31 },
{ "name": "bone", "parent": "root", "x": 194.52, "y": 83.1, "scaleX": 1.1, "scaleY": 1.1 }
],
@@ -71,7 +71,7 @@
"animations": {
"show": {
"slots": {
"zuoci_2_skill2_2-animation_0": {
"zuoci_2_skill2_2-animation_00": {
"attachment": [
{ "time": 0.4, "name": "WPS图片批量处理/granade_0001" },
{ "time": 0.4333, "name": "WPS图片批量处理/granade_0002" },
@@ -98,7 +98,7 @@
{ "time": 1, "color": "ffffff00" }
]
},
"zuoci_2_skill2_2-animation_00": {
"zuoci_2_skill2_2-animation_0": {
"attachment": [
{ "time": 0.4, "name": "WPS图片批量处理/granade_0001" },
{ "time": 0.4333, "name": "WPS图片批量处理/granade_0002" },
@@ -137,7 +137,10 @@
{ "time": 0.3333 }
]
}
}
},
"events": [
{ "time": 0.6333, "name": "atk_event" }
]
}
}
}

View File

@@ -2,7 +2,7 @@
"ver": "1.2.6",
"importer": "spine-data",
"imported": true,
"uuid": "4b7025ab-a67e-4954-9f3f-2b36674e6638",
"uuid": "7c422891-75fe-4ec3-bee2-86d8966aff6a",
"files": [
".json"
],

View File

Before

Width:  |  Height:  |  Size: 115 KiB

After

Width:  |  Height:  |  Size: 115 KiB

View File

@@ -2,7 +2,7 @@
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "11a9bd21-818a-4be4-b8c8-69b16d5505e1",
"uuid": "6247599b-c869-4d48-a201-0d58b1d6b105",
"files": [
".json",
".png"
@@ -10,8 +10,8 @@
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "11a9bd21-818a-4be4-b8c8-69b16d5505e1@6c48a",
"displayName": "buff_58",
"uuid": "6247599b-c869-4d48-a201-0d58b1d6b105@6c48a",
"displayName": "cuida",
"id": "6c48a",
"name": "texture",
"userData": {
@@ -22,7 +22,7 @@
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "11a9bd21-818a-4be4-b8c8-69b16d5505e1",
"imageUuidOrDatabaseUri": "6247599b-c869-4d48-a201-0d58b1d6b105",
"visible": false
},
"ver": "1.0.22",
@@ -37,6 +37,6 @@
"hasAlpha": true,
"type": "texture",
"fixAlphaTransparencyArtifacts": false,
"redirect": "11a9bd21-818a-4be4-b8c8-69b16d5505e1@6c48a"
"redirect": "6247599b-c869-4d48-a201-0d58b1d6b105@6c48a"
}
}

View File

@@ -0,0 +1,376 @@
[
{
"__type__": "cc.Prefab",
"_name": "cuida",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "cuida",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 8
},
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 14
},
{
"__id__": 16
},
{
"__id__": 18
}
],
"_prefab": {
"__id__": 20
},
"_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.Node",
"_name": "anm",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
}
],
"_prefab": {
"__id__": 7
},
"_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": 0.55,
"y": 0.55,
"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__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 221,
"height": 98
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.02117646981148698,
"y": 0.2017346985486089
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "43ucwKXvZIjpuRMb6AMdcx"
},
{
"__type__": "sp.Skeleton",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_skeletonData": {
"__uuid__": "7c422891-75fe-4ec3-bee2-86d8966aff6a",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "show",
"_premultipliedAlpha": true,
"_timeScale": 1,
"_preCacheMode": 0,
"_cacheMode": 0,
"_sockets": [],
"_useTint": false,
"_debugMesh": false,
"_debugBones": false,
"_debugSlots": false,
"_enableBatch": false,
"loop": true,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "32r0xl1k5DpI1RJFYPzNLZ"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "b05wpkPXFJqK6/PzoIxCfr",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 9
},
"_contentSize": {
"__type__": "cc.Size",
"width": 360,
"height": 80
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5156666649712457
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "63NP9yq3hEUKD/OZZZ5t7x"
},
{
"__type__": "cc.RigidBody2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 11
},
"enabledContactListener": true,
"bullet": true,
"awakeOnLoad": true,
"_group": 4,
"_type": 2,
"_allowSleep": false,
"_gravityScale": 0,
"_linearDamping": 0,
"_angularDamping": 0,
"_linearVelocity": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_angularVelocity": 0,
"_fixedRotation": false,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f1VxV09PdOkofzgGv1tsZE"
},
{
"__type__": "cc.BoxCollider2D",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 13
},
"tag": 8,
"_group": 4,
"_density": 1,
"_sensor": true,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_size": {
"__type__": "cc.Size",
"width": 240,
"height": 64.4
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "23eik112JPZYGiI8mJalTK"
},
{
"__type__": "45646oIyIdA24W+0c5rdELD",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 15
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "8ahZv91itPcYJm8S0veHYl"
},
{
"__type__": "45555O5rSNCoInYTSkGkxIS",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "3bvjzQ/gdCNZjpTIg8X/x/"
},
{
"__type__": "2e239CwoM1FmoR8QJ5eOtPz",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "e0TE1xx+VJGKfRm/neG/NV"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": null,
"targetOverrides": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "0c76b6a4-a454-4552-8613-e8a532533650",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "cuida"
}
}