This commit is contained in:
2024-09-11 18:00:43 +08:00
parent ef4e502adf
commit 4501876c37
44 changed files with 518 additions and 4634 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -76,51 +76,51 @@
],
"_values": [
{
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@5d58e",
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@0b063",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@55628",
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@f98b1",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@ffb7f",
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@4ece0",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@4b666",
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@e3f09",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@4dcb3",
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@b7085",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@51cbc",
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@a0cbd",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@11bc6",
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@4925e",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@b2558",
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@fe16c",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@d6d4a",
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@968f5",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@1b51c",
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@eba27",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@d437a",
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@0ec63",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@cd5d5",
"__uuid__": "f4eeed12-f2f3-42f8-bf03-4f00f22cd193@ec089",
"__expectedType__": "cc.SpriteFrame"
}
]

View File

@@ -425,8 +425,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 66
"width": 104,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",

View File

@@ -425,8 +425,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 60,
"height": 66
"width": 104,
"height": 76
},
"_anchorPoint": {
"__type__": "cc.Vec2",

View File

@@ -76,51 +76,51 @@
],
"_values": [
{
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@0b063",
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@ce6cb",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@f98b1",
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@2d977",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@4ece0",
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@731b5",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@e3f09",
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@d4e2e",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@b7085",
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@76883",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@a0cbd",
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@7a6f3",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@4925e",
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@1f897",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@fe16c",
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@bd0c9",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@968f5",
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@99866",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@eba27",
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@dc5bd",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@0ec63",
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@d91dd",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@ec089",
"__uuid__": "b3f76ae2-2f7f-403e-9952-a60d57b1e6e9@1e0b9",
"__expectedType__": "cc.SpriteFrame"
}
]

View File

@@ -11,7 +11,7 @@
"speed": 1,
"wrapMode": 1,
"enableTrsBlending": false,
"_duration": 0.5,
"_duration": 0.75,
"_hash": 500763545,
"_tracks": [
{
@@ -72,55 +72,85 @@
0.3333333333333333,
0.375,
0.4166666666666667,
0.4583333333333333
0.4583333333333333,
0.5,
0.5416666666666666,
0.5833333333333334,
0.625,
0.6666666666666666,
0.7083333333333334
],
"_values": [
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@9a470",
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@60799",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@c4ce3",
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@26428",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@eb99c",
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@daa98",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@548da",
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@0779a",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@8401f",
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@5eb28",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@cc0e6",
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@1a538",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@d3762",
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@fe61e",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@ebb52",
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@d1415",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@78440",
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@6823d",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@c8b49",
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@50949",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@d4d3e",
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@e496c",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@310ee",
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@648f3",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@9e4e1",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@f27c8",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@fce75",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@a12c4",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@956e1",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "668cb87e-e7d4-4d94-ae45-0e5e2335ddaa@d0912",
"__expectedType__": "cc.SpriteFrame"
}
]

View File

@@ -425,8 +425,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 52,
"height": 54
"width": 88,
"height": 68
},
"_anchorPoint": {
"__type__": "cc.Vec2",

View File

@@ -425,8 +425,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 52,
"height": 54
"width": 88,
"height": 68
},
"_anchorPoint": {
"__type__": "cc.Vec2",

View File

@@ -425,8 +425,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 52,
"height": 54
"width": 88,
"height": 68
},
"_anchorPoint": {
"__type__": "cc.Vec2",

View File

@@ -26,13 +26,10 @@
"_components": [
{
"__id__": 8
},
{
"__id__": 10
}
],
"_prefab": {
"__id__": 12
"__id__": 10
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -65,7 +62,7 @@
},
{
"__type__": "cc.Node",
"_name": "buff",
"_name": "Cartoon RPG UI_Game Icon - Attack",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -127,8 +124,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 146,
"height": 56
"width": 14,
"height": 14
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -139,7 +136,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7d9hAuJaxPyaFcYyfE0Pn7"
"fileId": "e65xj3nrRILqRAqturKhHp"
},
{
"__type__": "cc.Sprite",
@@ -164,12 +161,12 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@fecfb",
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@360cc",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
@@ -184,7 +181,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "0927yVBnNH8a5NS+/msmIp"
"fileId": "bajfk57dZBYqejL8q2V5+3"
},
{
"__type__": "cc.PrefabInfo",
@@ -194,40 +191,11 @@
"asset": {
"__id__": 0
},
"fileId": "71yEycK4BN9Irl2Q0zVRXV",
"fileId": "06h8KSrMJG9bW3+9zl/nWR",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 9
},
"playOnLoad": false,
"_clips": [
{
"__uuid__": "647482df-ef45-4492-ab0e-c3177ebe3564",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "647482df-ef45-4492-ab0e-c3177ebe3564",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "f77H/gVBJHkKFQM7lP5UkJ"
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -238,7 +206,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 11
"__id__": 9
},
"_contentSize": {
"__type__": "cc.Size",
@@ -254,7 +222,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "5864ijbSpCXYBUJN82xPLp"
"fileId": "81ULXUpuxIvZ3yj/tj37CQ"
},
{
"__type__": "cc.PrefabInfo",

View File

@@ -2,7 +2,7 @@
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "41a9c779-29df-4efc-aecf-5311834753f7",
"uuid": "dc3b1216-071a-4cbb-8506-009a2d884f3a",
"files": [
".json"
],

View File

@@ -1,120 +0,0 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "atk2",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 60,
"speed": 1,
"wrapMode": 2,
"enableTrsBlending": false,
"_duration": 0.36666666666666664,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 7
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.animation.ObjectTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channel": {
"__id__": 5
}
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 3
},
{
"__id__": 4
},
"spriteFrame"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "buff"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 6
}
},
{
"__type__": "cc.ObjectCurve",
"_times": [
0,
0.05,
0.1,
0.15,
0.2,
0.25,
0.3,
0.35
],
"_values": [
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@4ee48",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@18561",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@c6107",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@791eb",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@a4cbe",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@dcb10",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@cb5c1",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@ba364",
"__expectedType__": "cc.SpriteFrame"
}
]
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -1,13 +0,0 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "d500d6bb-ae10-42bc-84dc-1503b4bf6d1a",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "atk2"
}
}

View File

@@ -1,13 +0,0 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "62888008-8e73-49b6-98bf-265d3ff8bdfa",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "atk2"
}
}

View File

@@ -1,100 +0,0 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "buff",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 60,
"speed": 1,
"wrapMode": 2,
"enableTrsBlending": false,
"_duration": 0.26666666666666666,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 7
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.animation.ObjectTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channel": {
"__id__": 5
}
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 3
},
{
"__id__": 4
},
"spriteFrame"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "buff"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 6
}
},
{
"__type__": "cc.ObjectCurve",
"_times": [
0,
0.08333333333333333,
0.16666666666666666,
0.25
],
"_values": [
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@fecfb",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@0fc4e",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@ae735",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@fecfb",
"__expectedType__": "cc.SpriteFrame"
}
]
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -1,13 +0,0 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "647482df-ef45-4492-ab0e-c3177ebe3564",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "buff"
}
}

View File

@@ -1,120 +0,0 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "buff_atk",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 24,
"speed": 1,
"wrapMode": 2,
"enableTrsBlending": false,
"_duration": 0.625,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 7
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.animation.ObjectTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channel": {
"__id__": 5
}
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 3
},
{
"__id__": 4
},
"spriteFrame"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "buff"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 6
}
},
{
"__type__": "cc.ObjectCurve",
"_times": [
0,
0.08333333333333333,
0.16666666666666666,
0.25,
0.3333333333333333,
0.4166666666666667,
0.5,
0.5833333333333334
],
"_values": [
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@90ba4",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@ec38b",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@2ada0",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@f70ba",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@a001a",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@b6ec6",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@1b5b3",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@f5094",
"__expectedType__": "cc.SpriteFrame"
}
]
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -1,13 +0,0 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "fa883949-eafe-4df7-bc81-ad2ec2d2f613",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "buff_atk"
}
}

View File

@@ -1,105 +0,0 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "dun",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 24,
"speed": 1,
"wrapMode": 2,
"enableTrsBlending": false,
"_duration": 0.875,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 7
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.animation.ObjectTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channel": {
"__id__": 5
}
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 3
},
{
"__id__": 4
},
"spriteFrame"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "buff"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 6
}
},
{
"__type__": "cc.ObjectCurve",
"_times": [
0,
0.20833333333333334,
0.4166666666666667,
0.625,
0.8333333333333334
],
"_values": [
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@3889c",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@3ceb8",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@8c9d6",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@a5fb6",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@4641f",
"__expectedType__": "cc.SpriteFrame"
}
]
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -1,13 +0,0 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "4d787780-adea-45ff-961a-5339778cc0a5",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "dun"
}
}

View File

@@ -1,295 +0,0 @@
[
{
"__type__": "cc.Prefab",
"_name": "dun",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "dun",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 10
},
{
"__id__": 12
}
],
"_prefab": {
"__id__": 14
},
"_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": "buff",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
},
{
"__id__": 7
}
],
"_prefab": {
"__id__": 9
},
"_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__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 62,
"height": 58
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "76UvR5kcJL87cIQHP4kRPL"
},
{
"__type__": "cc.Sprite",
"_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
},
"_spriteFrame": {
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@3889c",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "69yunlzzxDMYtQ5vwMRvuf"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 8
},
"playOnLoad": false,
"_clips": [],
"_defaultClip": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d9IDS6kBhDkLpl8p/3pE1B"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "adCtRc2ulOUY1DdT1Bmt//",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 11
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7chH9W93hN6LXSKGgy73ED"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 13
},
"playOnLoad": false,
"_clips": [
{
"__uuid__": "4d787780-adea-45ff-961a-5339778cc0a5",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "4d787780-adea-45ff-961a-5339778cc0a5",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "20+zWW9y5OWYzQLgLXs7md"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": null,
"targetOverrides": null
}
]

View File

@@ -1,7 +1,7 @@
[
{
"__type__": "cc.Prefab",
"_name": "atk2",
"_name": "shield",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
@@ -13,7 +13,7 @@
},
{
"__type__": "cc.Node",
"_name": "atk2",
"_name": "shield",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
@@ -26,13 +26,10 @@
"_components": [
{
"__id__": 8
},
{
"__id__": 10
}
],
"_prefab": {
"__id__": 12
"__id__": 10
},
"_lpos": {
"__type__": "cc.Vec3",
@@ -65,7 +62,7 @@
},
{
"__type__": "cc.Node",
"_name": "buff",
"_name": "Cartoon RPG UI_Game Icon - Defense",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
@@ -127,8 +124,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 274,
"height": 128
"width": 14,
"height": 14
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -139,7 +136,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "29tAeUFqdPfK1ub1P/ZeSI"
"fileId": "92y5A9GmdC3YqWXakOk+Dt"
},
{
"__type__": "cc.Sprite",
@@ -164,12 +161,12 @@
"a": 255
},
"_spriteFrame": {
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@4ee48",
"__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@a018f",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_sizeMode": 0,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
@@ -184,7 +181,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d3K3f61N5Ia6VThNrRWkoV"
"fileId": "71N2ScG5NGYZ7cctMzdCwo"
},
{
"__type__": "cc.PrefabInfo",
@@ -194,40 +191,11 @@
"asset": {
"__id__": 0
},
"fileId": "79aVOQw9ZMo5Xye7MLZXP1",
"fileId": "8bAUZ3X4dEoY+FJWosklUw",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 9
},
"playOnLoad": false,
"_clips": [
{
"__uuid__": "d500d6bb-ae10-42bc-84dc-1503b4bf6d1a",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "d500d6bb-ae10-42bc-84dc-1503b4bf6d1a",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "edOZS8/TJJzJn2jHL/ojWY"
},
{
"__type__": "cc.UITransform",
"_name": "",
@@ -238,7 +206,7 @@
},
"_enabled": true,
"__prefab": {
"__id__": 11
"__id__": 9
},
"_contentSize": {
"__type__": "cc.Size",
@@ -254,7 +222,7 @@
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "13NLWZmQdNK6MfSU5fHVA7"
"fileId": "81ULXUpuxIvZ3yj/tj37CQ"
},
{
"__type__": "cc.PrefabInfo",

View File

@@ -2,12 +2,12 @@
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "e5ff0807-8082-45db-a862-5c5ce454be2e",
"uuid": "f228c341-e9c0-483c-96e8-377c9e89234b",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "dun"
"syncNodeName": "shield"
}
}

View File

@@ -1,271 +0,0 @@
[
{
"__type__": "cc.Prefab",
"_name": "shieldfx",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "shieldfx",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 8
},
{
"__id__": 10
}
],
"_prefab": {
"__id__": 12
},
"_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": 0.5,
"y": 0.2,
"z": 1
},
"_mobility": 0,
"_layer": 1073741824,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "buff",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
}
],
"_prefab": {
"__id__": 7
},
"_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__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 470,
"height": 172
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d7SP9U5ZBCFqgprFUGxWQP"
},
{
"__type__": "cc.Sprite",
"_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
},
"_spriteFrame": {
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@04cec",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "67N56Bp1pNPovCe64SHLK+"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "39fgX0q5dMsoscrUOSEwzz",
"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": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "baiK9/dZZA645vovKryJIc"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 11
},
"playOnLoad": false,
"_clips": [
{
"__uuid__": "c3370e4a-8d89-4af4-98c6-01bdc09d1ffc",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "c3370e4a-8d89-4af4-98c6-01bdc09d1ffc",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "75EIadnrlIM5h6oRPWbNfW"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": null,
"targetOverrides": null
}
]

View File

@@ -1,13 +0,0 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "def2237a-b450-44a9-8f40-3a55c4fbc4d7",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "shieldfx"
}
}

View File

@@ -1,220 +0,0 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "shiled",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 60,
"speed": 1,
"wrapMode": 2,
"enableTrsBlending": false,
"_duration": 0.3333333333333333,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 12
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.animation.VectorTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channels": [
{
"__id__": 4
},
{
"__id__": 6
},
{
"__id__": 8
},
{
"__id__": 10
}
],
"_nComponents": 3
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 3
},
"scale"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "buff"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 5
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.3333333333333333
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.2,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 7
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.3333333333333333
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 0.5,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 9
}
},
{
"__type__": "cc.RealCurve",
"_times": [
0,
0.3333333333333333
],
"_values": [
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
},
{
"__type__": "cc.RealKeyframeValue",
"interpolationMode": 0,
"tangentWeightMode": 0,
"value": 1,
"rightTangent": 0,
"rightTangentWeight": 1,
"leftTangent": 0,
"leftTangentWeight": 1,
"easingMethod": 0,
"__editorExtras__": {
"tangentMode": 0
}
}
],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 11
}
},
{
"__type__": "cc.RealCurve",
"_times": [],
"_values": [],
"preExtrapolation": 1,
"postExtrapolation": 1
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -1,13 +0,0 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "c3370e4a-8d89-4af4-98c6-01bdc09d1ffc",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "shiled"
}
}

View File

@@ -1,271 +0,0 @@
[
{
"__type__": "cc.Prefab",
"_name": "speed",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "speed",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 8
},
{
"__id__": 10
}
],
"_prefab": {
"__id__": 12
},
"_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": "buff",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
}
],
"_prefab": {
"__id__": 7
},
"_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__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 208,
"height": 99
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "48TnUNGMdCBovd6U6YELib"
},
{
"__type__": "cc.Sprite",
"_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
},
"_spriteFrame": {
"__uuid__": "d6bb5233-8098-41a3-89c5-9cb570683600@90ba4",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "acegZIsIBGM4J8sLUHcLUt"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "52JsZCdG9E0aLI7Gna+l9o",
"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": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "61wndvK3VMtbbVYf6SUdWb"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 11
},
"playOnLoad": true,
"_clips": [
{
"__uuid__": "fa883949-eafe-4df7-bc81-ad2ec2d2f613",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "fa883949-eafe-4df7-bc81-ad2ec2d2f613",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "7do/cMK/NP0Yicp4xOCHAM"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": null,
"targetOverrides": null
}
]

View File

@@ -1,13 +0,0 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "023d1dc1-af98-4903-9d00-986c2f16b982",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "speed"
}
}

View File

@@ -1,581 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>frames</key>
<dict>
<key>HalloweenBoss Fx_1.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{274,128}</string>
<key>spriteSourceSize</key>
<string>{276,132}</string>
<key>textureRect</key>
<string>{{175,1},{274,128}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>HalloweenBoss Fx_2.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{274,128}</string>
<key>spriteSourceSize</key>
<string>{276,132}</string>
<key>textureRect</key>
<string>{{305,1},{274,128}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>HalloweenBoss Fx_3.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{274,128}</string>
<key>spriteSourceSize</key>
<string>{276,132}</string>
<key>textureRect</key>
<string>{{435,1},{274,128}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>HalloweenBoss Fx_4.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{274,128}</string>
<key>spriteSourceSize</key>
<string>{276,132}</string>
<key>textureRect</key>
<string>{{565,1},{274,128}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>HalloweenBoss Fx_5.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{274,128}</string>
<key>spriteSourceSize</key>
<string>{276,132}</string>
<key>textureRect</key>
<string>{{695,1},{274,128}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>HalloweenBoss Fx_6.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{274,128}</string>
<key>spriteSourceSize</key>
<string>{276,132}</string>
<key>textureRect</key>
<string>{{825,1},{274,128}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>HalloweenBoss Fx_7.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{274,128}</string>
<key>spriteSourceSize</key>
<string>{276,132}</string>
<key>textureRect</key>
<string>{{955,1},{274,128}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>HalloweenBoss Fx_8.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{274,128}</string>
<key>spriteSourceSize</key>
<string>{276,132}</string>
<key>textureRect</key>
<string>{{1085,1},{274,128}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>battleAttack_60001.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{146,56}</string>
<key>spriteSourceSize</key>
<string>{146,56}</string>
<key>textureRect</key>
<string>{{1515,209},{146,56}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>battleAttack_60002.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{166,68}</string>
<key>spriteSourceSize</key>
<string>{166,68}</string>
<key>textureRect</key>
<string>{{1621,364},{166,68}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>battleAttack_60003.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{188,72}</string>
<key>spriteSourceSize</key>
<string>{188,72}</string>
<key>textureRect</key>
<string>{{1521,434},{188,72}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>battleshow_60001.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{208,99}</string>
<key>spriteSourceSize</key>
<string>{208,99}</string>
<key>textureRect</key>
<string>{{1316,277},{208,99}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>battleshow_60002.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{214,101}</string>
<key>spriteSourceSize</key>
<string>{214,101}</string>
<key>textureRect</key>
<string>{{1213,277},{214,101}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>battleshow_60003.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{214,109}</string>
<key>spriteSourceSize</key>
<string>{214,109}</string>
<key>textureRect</key>
<string>{{1102,277},{214,109}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>battleshow_60004.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{230,115}</string>
<key>spriteSourceSize</key>
<string>{230,115}</string>
<key>textureRect</key>
<string>{{414,277},{230,115}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>battleshow_60005.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{232,117}</string>
<key>spriteSourceSize</key>
<string>{232,117}</string>
<key>textureRect</key>
<string>{{295,277},{232,117}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>battleshow_60006.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{222,115}</string>
<key>spriteSourceSize</key>
<string>{222,115}</string>
<key>textureRect</key>
<string>{{767,277},{222,115}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>battleshow_60007.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{206,99}</string>
<key>spriteSourceSize</key>
<string>{206,99}</string>
<key>textureRect</key>
<string>{{1423,1},{206,99}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>battleshow_60008.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{202,99}</string>
<key>spriteSourceSize</key>
<string>{202,99}</string>
<key>textureRect</key>
<string>{{1524,1},{202,99}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>beijiguang_004@2x.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{470,172}</string>
<key>spriteSourceSize</key>
<string>{470,172}</string>
<key>textureRect</key>
<string>{{1,1},{470,172}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>curse_big_00011.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-3,0}</string>
<key>spriteSize</key>
<string>{62,58}</string>
<key>spriteSourceSize</key>
<string>{80,92}</string>
<key>textureRect</key>
<string>{{1279,213},{62,58}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>curse_big_00012.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-3,-1}</string>
<key>spriteSize</key>
<string>{54,62}</string>
<key>spriteSourceSize</key>
<string>{80,92}</string>
<key>textureRect</key>
<string>{{1339,211},{54,62}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>curse_big_00013.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{2,-2}</string>
<key>spriteSize</key>
<string>{60,58}</string>
<key>spriteSourceSize</key>
<string>{80,92}</string>
<key>textureRect</key>
<string>{{1455,209},{60,58}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>curse_big_00014.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{4,2}</string>
<key>spriteSize</key>
<string>{58,60}</string>
<key>spriteSourceSize</key>
<string>{80,92}</string>
<key>textureRect</key>
<string>{{1395,211},{58,60}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>curse_big_00015.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{-1,1}</string>
<key>spriteSize</key>
<string>{62,62}</string>
<key>spriteSourceSize</key>
<string>{80,92}</string>
<key>textureRect</key>
<string>{{1215,213},{62,62}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>effect_b07_01.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{1,-41}</string>
<key>spriteSize</key>
<string>{169,98}</string>
<key>spriteSourceSize</key>
<string>{175,180}</string>
<key>textureRect</key>
<string>{{1625,1},{169,98}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>effect_b07_02.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{1,-41}</string>
<key>spriteSize</key>
<string>{165,98}</string>
<key>spriteSourceSize</key>
<string>{175,180}</string>
<key>textureRect</key>
<string>{{1663,197},{165,98}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>effect_b07_03.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,-41}</string>
<key>spriteSize</key>
<string>{163,98}</string>
<key>spriteSourceSize</key>
<string>{175,180}</string>
<key>textureRect</key>
<string>{{1521,267},{163,98}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>effect_b07_04.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{2,-39}</string>
<key>spriteSize</key>
<string>{169,94}</string>
<key>spriteSourceSize</key>
<string>{175,180}</string>
<key>textureRect</key>
<string>{{1625,101},{169,94}}</string>
<key>textureRotated</key>
<false/>
</dict>
<key>heroShow0001.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{210,102}</string>
<key>spriteSourceSize</key>
<string>{210,102}</string>
<key>textureRect</key>
<string>{{1215,1},{210,102}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>heroShow0002.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{216,102}</string>
<key>spriteSourceSize</key>
<string>{216,102}</string>
<key>textureRect</key>
<string>{{998,277},{216,102}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>heroShow0003.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{218,112}</string>
<key>spriteSourceSize</key>
<string>{218,112}</string>
<key>textureRect</key>
<string>{{884,277},{218,112}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>heroShow0004.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{232,118}</string>
<key>spriteSourceSize</key>
<string>{232,118}</string>
<key>textureRect</key>
<string>{{175,277},{232,118}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>heroShow0005.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{230,114}</string>
<key>spriteSourceSize</key>
<string>{230,114}</string>
<key>textureRect</key>
<string>{{531,277},{230,114}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>heroShow0006.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{224,118}</string>
<key>spriteSourceSize</key>
<string>{224,118}</string>
<key>textureRect</key>
<string>{{647,277},{224,118}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>heroShow0007.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{208,102}</string>
<key>spriteSourceSize</key>
<string>{208,102}</string>
<key>textureRect</key>
<string>{{1319,1},{208,102}}</string>
<key>textureRotated</key>
<true/>
</dict>
<key>heroShow0008.png</key>
<dict>
<key>aliases</key>
<array/>
<key>spriteOffset</key>
<string>{0,0}</string>
<key>spriteSize</key>
<string>{204,102}</string>
<key>spriteSourceSize</key>
<string>{204,102}</string>
<key>textureRect</key>
<string>{{1417,273},{204,102}}</string>
<key>textureRotated</key>
<true/>
</dict>
</dict>
<key>metadata</key>
<dict>
<key>format</key>
<integer>3</integer>
<key>pixelFormat</key>
<string>RGBA8888</string>
<key>premultiplyAlpha</key>
<false/>
<key>realTextureFileName</key>
<string>buffs.png</string>
<key>size</key>
<string>{1795,510}</string>
<key>smartupdate</key>
<string>$TexturePacker:SmartUpdate:1d39d296d4aee7a7d326bb6ab5c40df0:9266e3dfb87c8f72c086bf2304dc85ec:e4138b563957c1b7dbde716529a505f2$</string>
<key>textureFileName</key>
<string>buffs.png</string>
</dict>
</dict>
</plist>

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 163 KiB

View File

@@ -1,42 +0,0 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "383f61b8-31ea-4457-971c-b21f5c311723",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "383f61b8-31ea-4457-971c-b21f5c311723@6c48a",
"displayName": "buffs",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "383f61b8-31ea-4457-971c-b21f5c311723",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "texture",
"fixAlphaTransparencyArtifacts": false,
"redirect": "383f61b8-31ea-4457-971c-b21f5c311723@6c48a"
}
}

View File

@@ -40,7 +40,7 @@ export class RoleSpine extends Component {
/** 初始化动画 */
protected initAnimator() {
this.animator=this.node.getChildByName("hero").getComponent(Animation);
console.log("role view comp init",this.animator);
// console.log("role view comp init",this.animator);
}
onAnimationEvent(type: Animation.EventType, state: AnimationState){

View File

@@ -48,6 +48,8 @@ export class BoxRangComp extends CCComp {
// console.log(this.node.name+"onEndContact: seft:"+selfCollider.group+"|other:"+otherCollider.group+"| tag: seft:"+selfCollider.tag+"|other:"+otherCollider.tag);
this.HeroViewComp.is_atking = false;
this.HeroViewComp.enemy = null;
this.HeroViewComp.as.change_default("move");
this.HeroViewComp.as.move();
}
}
onPreSolve (selfCollider: Collider2D, otherCollider: Collider2D, contact: IPhysics2DContact | null) {
@@ -66,6 +68,7 @@ export class BoxRangComp extends CCComp {
if(Math.abs(other_pos.x-self_pos.x) < this.HeroViewComp.atk_dis){
this.HeroViewComp.is_atking = true;
this.HeroViewComp.stop_cd = 0.1
this.HeroViewComp.as.change_default("idle");
}
}

View File

@@ -5,7 +5,7 @@
* @LastEditTime: 2022-08-17 12:36:18
*/
import { _decorator,Sprite,Color} from "cc";
import { _decorator,Sprite,Color, Prefab, instantiate} 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 { HeroSpine } from "./HeroSpine";
@@ -33,6 +33,7 @@ export class HeroBuffComp extends CCComp {
timer:Timer = new Timer(0.1);
buffs:any=[];
group:number=BoxSet.HERO;
/**
skill_uuid:number=0;
atk:number=0;
@@ -77,7 +78,12 @@ export class HeroBuffComp extends CCComp {
this.node.destroy();
}
show_buff_atk(){
var path = "game/skills/buff/atk"
var prefab: Prefab = oops.res.get(path, Prefab)!;
var node = instantiate(prefab);
node.setPosition(this.node.position.x,this.node.position.y+40,this.node.position.z);
}
buff_add(buff:any){
if(!this.node.isValid){ return }
let i = 0
@@ -106,6 +112,7 @@ export class HeroBuffComp extends CCComp {
this.buffs.push(buff);
if(buff.atk>0){
this.mv.atk+=(buff.atk+buff.args.atk);
this.show_buff_atk();
}
if(buff.hp>0){
this.mv.hp+=(buff.hp+buff.args.hp);

View File

@@ -52,11 +52,13 @@ export class HeroSpine extends Component {
}
change_default(value:string){
this.default_clip=value;
this.animator.play(this.default_clip);
}
default() {
if(!this.animator.getState(this.default_clip).isPlaying){
this.animator.play(this.default_clip);
}
}
idle(){
if(!this.animator.getState(this.idle_clip.name).isPlaying){
this.animator.play(this.idle_clip.name);

View File

@@ -84,6 +84,8 @@ export class HeroViewComp extends CCComp {
is_stop:boolean = false;
is_atking:boolean = false;
buffs:any=[];
onLoad() {
this.as = this.getComponent(HeroSpine);
this.buff=this.node.getComponent(HeroBuffComp);
@@ -346,6 +348,14 @@ export class HeroViewComp extends CCComp {
let hp_progress= this.hp/this.hp_max;
this.node.getChildByName("top").getChildByName("hp").getComponent(ProgressBar)!.progress = hp_progress;
}
add_atk(atk: number,time:number=0){
if(time > 0){
let buff={atk:atk,time:time}
this.buffs.push(buff);
}else{
this.atk += atk;
}
}
shield_change(hp: number){
let ls=this.shield - hp;
if(ls <= 0){
@@ -356,6 +366,17 @@ export class HeroViewComp extends CCComp {
return 0;
}
}
check_buffs(dt: number){
for(let i=0;i<this.buffs.length;i++){
let buff=this.buffs[i];
buff.time -= dt;
if(buff.time <= 0){
if(buff.atk > 0)this.atk -= buff.atk;
if(buff.shield > 0)this.shield=this.shield_max=0;
this.buffs.splice(i,1);
}
}
}
tooltip(type:number=1,value:string="",s_uuid:number=1001){
// console.log("tooltip",type);
let tip =ecs.getEntity<Tooltip>(Tooltip);

View File

@@ -51,7 +51,7 @@ export class Initialize extends ecs.Entity {
// 加载多语言对应字体
oops.res.load("language/font/" + oops.language.current, next);
//加载精灵配置表
oops.res.load("config/game/heros", next);
// oops.res.load("config/game/heros", next);
});
}

View File

@@ -125,7 +125,7 @@ export class MapMonsterComp extends CCComp {
let pos = v3(BoxSet.HERO_START,BoxSet.GAME_LINE)
role.load(pos,109)
smc.Role=role
console.log("加载玩家",role)
// console.log("加载玩家",role)
}
private on_do_add_hero(event: string, args: any) {
this.addHero(args.uuid)

View File

@@ -48,6 +48,8 @@ export class BoxRangComp extends CCComp {
// console.log(this.node.name+"onEndContact: seft:"+selfCollider.group+"|other:"+otherCollider.group+"| tag: seft:"+selfCollider.tag+"|other:"+otherCollider.tag);
this.MonViewComp.is_atking = false;
this.MonViewComp.enemy = null;
this.MonViewComp.as.change_default("move");
this.MonViewComp.as.move();
}
}
onPreSolve (selfCollider: Collider2D, otherCollider: Collider2D, contact: IPhysics2DContact | null) {
@@ -66,6 +68,8 @@ export class BoxRangComp extends CCComp {
if(Math.abs(other_pos.x-self_pos.x) < this.MonViewComp.atk_dis){
this.MonViewComp.is_atking = true;
this.MonViewComp.stop_cd = 0.1
this.MonViewComp.as.change_default("idle");
}
}

View File

@@ -50,11 +50,12 @@ export class MonSpine extends Component {
}
change_default(value:string){
this.default_clip=value;
this.animator.play(this.default_clip);
}
default() {
if(!this.animator.getState(this.default_clip).isPlaying){
this.animator.play(this.default_clip);
}
}
idle(){
if(!this.animator.getState(this.idle_clip.name).isPlaying){
this.animator.play(this.idle_clip.name);

View File

@@ -127,6 +127,16 @@ export class CSkillComp extends CCComp {
}
// oops.message.dispatchEvent("add_buff",{uuid:this.skill_uuid,eid:0,group:BoxSet.HERO})
}
single_least_add_buff(target:any,uuid:number,args:any) {
let buff = SkillSet[uuid]
if(buff.hp > 0 ){
target.HeroView.add_hp(buff.hp+args.hp)
}
if(buff.atk > 0 ){
target.HeroView.add_atk(buff.atk+args.atk,buff.bsd)
}
}
/** 全局消息逻辑处理 */
// private onHandler(event: string, args: any) {
// switch (event) {