添加技能动画

This commit is contained in:
2024-08-20 13:35:13 +08:00
parent dd4ec69fb6
commit 87a445c225
34 changed files with 1849 additions and 30 deletions

View File

@@ -35,16 +35,13 @@
}, },
{ {
"__id__": 63 "__id__": 63
},
{
"__id__": 75
} }
], ],
"_active": true, "_active": true,
"_components": [ "_components": [
{
"__id__": 75
},
{
"__id__": 77
},
{ {
"__id__": 79 "__id__": 79
}, },
@@ -56,10 +53,16 @@
}, },
{ {
"__id__": 85 "__id__": 85
},
{
"__id__": 87
},
{
"__id__": 89
} }
], ],
"_prefab": { "_prefab": {
"__id__": 87 "__id__": 91
}, },
"_lpos": { "_lpos": {
"__type__": "cc.Vec3", "__type__": "cc.Vec3",
@@ -1713,6 +1716,94 @@
"targetOverrides": null, "targetOverrides": null,
"nestedPrefabInstanceRoots": null "nestedPrefabInstanceRoots": null
}, },
{
"__type__": "cc.Node",
"_name": "buff",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 76
}
],
"_prefab": {
"__id__": 78
},
"_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__": 75
},
"_enabled": true,
"__prefab": {
"__id__": 77
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "b4Dy2iOhdGNIRklJZWrCG/"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "63odueI6BBfZ9G4QIJALMy",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{ {
"__type__": "cc.UITransform", "__type__": "cc.UITransform",
"_name": "", "_name": "",
@@ -1723,7 +1814,7 @@
}, },
"_enabled": false, "_enabled": false,
"__prefab": { "__prefab": {
"__id__": 76 "__id__": 80
}, },
"_contentSize": { "_contentSize": {
"__type__": "cc.Size", "__type__": "cc.Size",
@@ -1751,7 +1842,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 78 "__id__": 82
}, },
"_customMaterial": null, "_customMaterial": null,
"_srcBlendFactor": 2, "_srcBlendFactor": 2,
@@ -1793,7 +1884,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 80 "__id__": 84
}, },
"animator": { "animator": {
"__id__": 24 "__id__": 24
@@ -1814,7 +1905,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 82 "__id__": 86
}, },
"_id": "" "_id": ""
}, },
@@ -1832,7 +1923,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 84 "__id__": 88
}, },
"tag": 0, "tag": 0,
"_group": 2, "_group": 2,
@@ -1866,7 +1957,7 @@
}, },
"_enabled": true, "_enabled": true,
"__prefab": { "__prefab": {
"__id__": 86 "__id__": 90
}, },
"enabledContactListener": true, "enabledContactListener": true,
"bullet": true, "bullet": true,

View File

@@ -1273,7 +1273,7 @@
"__id__": 58 "__id__": 58
}, },
"light": { "light": {
"__uuid__": "683fa094-5032-4f8d-a8c6-63a962c9bdd5", "__uuid__": "319c7eb8-9826-48b6-81e4-82559dbf82a8",
"__expectedType__": "cc.Prefab" "__expectedType__": "cc.Prefab"
}, },
"_id": "" "_id": ""

View File

@@ -322,13 +322,13 @@
"_restitution": 0, "_restitution": 0,
"_offset": { "_offset": {
"__type__": "cc.Vec2", "__type__": "cc.Vec2",
"x": 28.9, "x": 14.3,
"y": 6.8 "y": -0.9
}, },
"_size": { "_size": {
"__type__": "cc.Size", "__type__": "cc.Size",
"width": 57.9, "width": 27.2,
"height": 13.6 "height": 44.7
}, },
"_id": "" "_id": ""
}, },
@@ -363,7 +363,6 @@
"__id__": 0 "__id__": 0
}, },
"fileId": "c46/YsCPVOJYA4mWEpNYRx", "fileId": "c46/YsCPVOJYA4mWEpNYRx",
"instance": null, "instance": null
"targetOverrides": null
} }
] ]

View File

Before

Width:  |  Height:  |  Size: 38 KiB

After

Width:  |  Height:  |  Size: 38 KiB

View File

@@ -0,0 +1,334 @@
[
{
"__type__": "cc.Prefab",
"_name": "fire",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "fire",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 8
},
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 14
}
],
"_prefab": {
"__id__": 16
},
"_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": "skill",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
}
],
"_prefab": {
"__id__": 7
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -52.535,
"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": 286,
"height": 90
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.49367133720771417,
"y": 0.5723333146837023
},
"_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__": "e0945cf8-8c31-4008-bcdd-25ec8045d0a4",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "animation",
"_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": "f3C1ldL9lDar8/kq/F6KPh"
},
{
"__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": 286,
"height": 90
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.49664333316829656,
"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": 16,
"_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": 0,
"_group": 16,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 15.2,
"y": 0.3
},
"_size": {
"__type__": "cc.Size",
"width": 28.9,
"height": 86.1
},
"_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__": "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": "f9a7ccb6-d45d-452f-81b7-5bf3cb9920b7",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "fire"
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "7810d5f5-b6e3-4def-b385-8f799545c339",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,168 @@
[
{
"__type__": "cc.Prefab",
"_name": "heath",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "heath",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
},
{
"__id__": 4
},
{
"__id__": 6
}
],
"_prefab": {
"__id__": 8
},
"_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__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 3
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "1f9Mgg45BA/oJ5ce63JFCc"
},
{
"__type__": "sp.Skeleton",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 5
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_skeletonData": {
"__uuid__": "2b3e4b0f-2c6b-4e36-b35e-6a1e5564c1ef",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "animation",
"_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": "a0vHaUuSJOT6AKEMhXPATV"
},
{
"__type__": "6e0a9ldFsFFVI+AKTlPJCE7",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 7
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "64RsTrRAVDrouO4RjTVp0i"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "b2Bs8P+sdAvqQjqC/qlAVM",
"instance": null,
"targetOverrides": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "46e1c00e-3643-4b51-8d67-a22d08671473",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "heath"
}
}

View File

@@ -0,0 +1,20 @@
1106112.png
size: 76,42
format: RGBA8888
filter: Linear,Linear
repeat: none
jia_a1
rotate: false
xy: 2, 2
size: 38, 38
orig: 39, 39
offset: 0, 1
index: -1
lizi
rotate: false
xy: 42, 8
size: 32, 32
orig: 42, 42
offset: 5, 5
index: -1

View File

@@ -0,0 +1,12 @@
{
"ver": "1.0.1",
"importer": "*",
"imported": true,
"uuid": "ea2923d7-2d23-460d-915a-d411ae72b6ec",
"files": [
".atlas",
".json"
],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,336 @@
{
"skeleton": { "hash": "wjdHPaDqeT5S9WEFh/8QZbNRzRQ", "spine": "3.8.99", "images": "D:/BaiduNetdiskDownload/1010-Q版日式手游SPINE特效300套/Q版日式手游SPINE特效300套/Q版日式手游SPINE特效300套/010-1106112/0/", "audio": "D:/BaiduNetdiskDownload/1010-Q版日式手游SPINE特效300套/Q版日式手游SPINE特效300套/Q版日式手游SPINE特效300套/010-1106112" },
"bones": [
{ "name": "root" },
{ "name": "zl", "parent": "root" },
{ "name": "zllizi", "parent": "zl" },
{ "name": "zllizi_a1", "parent": "zllizi" },
{ "name": "zllizi_b1", "parent": "zllizi" },
{ "name": "zllizi_c1", "parent": "zllizi" },
{ "name": "zllizi_d1", "parent": "zllizi" },
{ "name": "zllizi_e1", "parent": "zllizi" },
{ "name": "zllizi_f1", "parent": "zllizi" },
{ "name": "zllizi_g1", "parent": "zllizi" },
{ "name": "jia", "parent": "zl" },
{ "name": "jia_a1", "parent": "jia" },
{ "name": "jia_b1", "parent": "jia" },
{ "name": "jia_c1", "parent": "jia" }
],
"slots": [
{ "name": "zllizi_a1", "bone": "zllizi_a1", "blend": "additive" },
{ "name": "zllizi_d1", "bone": "zllizi_d1", "blend": "additive" },
{ "name": "zllizi_g1", "bone": "zllizi_g1", "blend": "additive" },
{ "name": "zllizi_e1", "bone": "zllizi_e1", "blend": "additive" },
{ "name": "zllizi_f1", "bone": "zllizi_f1", "blend": "additive" },
{ "name": "zllizi_b1", "bone": "zllizi_b1", "blend": "additive" },
{ "name": "zllizi_c1", "bone": "zllizi_c1", "blend": "additive" },
{ "name": "jia_a1", "bone": "jia_a1", "blend": "additive" },
{ "name": "jia_b1", "bone": "jia_b1", "blend": "additive" },
{ "name": "jia_c1", "bone": "jia_c1", "blend": "additive" }
],
"skins": [
{
"name": "default",
"attachments": {
"jia_a1": {
"jia_a1": { "width": 39, "height": 39 }
},
"jia_b1": {
"jia_a1": { "width": 39, "height": 39 }
},
"jia_c1": {
"jia_a1": { "width": 39, "height": 39 }
},
"zllizi_a1": {
"lizi": { "scaleX": 0.5, "scaleY": 0.5, "width": 42, "height": 42 }
},
"zllizi_b1": {
"lizi": { "scaleX": 0.7, "scaleY": 0.7, "width": 42, "height": 42 }
},
"zllizi_c1": {
"lizi": { "scaleX": 0.35, "scaleY": 0.35, "width": 42, "height": 42 }
},
"zllizi_d1": {
"lizi": { "scaleX": 0.6, "scaleY": 0.6, "width": 42, "height": 42 }
},
"zllizi_e1": {
"lizi": { "scaleX": 0.3, "scaleY": 0.3, "width": 42, "height": 42 }
},
"zllizi_f1": {
"lizi": { "scaleX": 0.3, "scaleY": 0.3, "width": 42, "height": 42 }
},
"zllizi_g1": {
"lizi": { "scaleX": 0.6, "scaleY": 0.6, "width": 42, "height": 42 }
}
}
}
],
"events": {
"OnCreateMagicHarm": {},
"Skill_Complete": {}
},
"animations": {
"animation": {
"slots": {
"jia_a1": {
"color": [
{ "color": "11ff1f00" },
{ "time": 0.1667, "color": "4aff55ff", "curve": "stepped" },
{ "time": 0.3333, "color": "4aff55ff" },
{ "time": 0.6667, "color": "49ff5500" }
],
"attachment": [
{ "name": "jia_a1" },
{ "time": 0.6667, "name": null }
]
},
"jia_b1": {
"color": [
{ "color": "ffffffff", "curve": "stepped" },
{ "time": 0.0667, "color": "11ff1f00" },
{ "time": 0.2333, "color": "4aff55ff", "curve": "stepped" },
{ "time": 0.4, "color": "4aff55ff" },
{ "time": 0.7333, "color": "49ff5500" }
],
"attachment": [
{ "time": 0.0667, "name": "jia_a1" },
{ "time": 0.7333, "name": null }
]
},
"jia_c1": {
"color": [
{ "color": "ffffffff", "curve": "stepped" },
{ "time": 0.0333, "color": "11ff1f00" },
{ "time": 0.2, "color": "4aff55ff", "curve": "stepped" },
{ "time": 0.3333, "color": "4aff55ff" },
{ "time": 0.6333, "color": "49ff5500" }
],
"attachment": [
{ "time": 0.0333, "name": "jia_a1" },
{ "time": 0.6333, "name": null }
]
},
"zllizi_a1": {
"color": [
{ "time": 0.5333, "color": "ffffffff" },
{ "time": 0.9, "color": "ffffff00" }
],
"attachment": [
{ "time": 0.2, "name": "lizi" },
{ "time": 0.9, "name": null }
]
},
"zllizi_b1": {
"color": [
{ "time": 0.4, "color": "ffffffff" },
{ "time": 0.7667, "color": "ffffff00" }
],
"attachment": [
{ "time": 0.0667, "name": "lizi" },
{ "time": 0.7667, "name": null }
]
},
"zllizi_c1": {
"color": [
{ "time": 0.4, "color": "ffffffff" },
{ "time": 0.7667, "color": "ffffff00" }
],
"attachment": [
{ "time": 0.0667, "name": "lizi" },
{ "time": 0.7667, "name": null }
]
},
"zllizi_d1": {
"color": [
{ "time": 0.6333, "color": "ffffffff" },
{ "time": 1.0333, "color": "ffffff00" }
],
"attachment": [
{ "time": 0.2, "name": "lizi" },
{ "time": 1.0333, "name": null }
]
},
"zllizi_e1": {
"color": [
{ "time": 0.5333, "color": "ffffffff" },
{ "time": 1.0333, "color": "ffffff00" }
],
"attachment": [
{ "time": 0.0667, "name": "lizi" },
{ "time": 1.0333, "name": null }
]
},
"zllizi_f1": {
"color": [
{ "color": "ffffffff", "curve": "stepped" },
{ "time": 0.0667, "color": "ffffff00" },
{ "time": 0.2333, "color": "ffffffff", "curve": "stepped" },
{ "time": 0.5333, "color": "ffffffff" },
{ "time": 1.0333, "color": "ffffff00" }
],
"attachment": [
{ "time": 0.0667, "name": "lizi" },
{ "time": 1.0333, "name": null }
]
},
"zllizi_g1": {
"color": [
{ "color": "ffffffff", "curve": "stepped" },
{ "time": 0.2, "color": "ffffff00" },
{ "time": 0.3667, "color": "ffffffff", "curve": "stepped" },
{ "time": 0.6333, "color": "ffffffff" },
{ "time": 1.0333, "color": "ffffff00" }
],
"attachment": [
{ "time": 0.2, "name": "lizi" },
{ "time": 1.0333, "name": null }
]
}
},
"bones": {
"jia_a1": {
"translate": [
{ "x": -11.35, "y": 13.52 },
{ "time": 0.6667, "x": -12.35, "y": 37.32 }
],
"scale": [
{ "x": 0.575, "y": 0.575 }
]
},
"jia_b1": {
"translate": [
{ "curve": "stepped" },
{ "time": 0.0667, "x": 7.96, "y": 4.61 },
{ "time": 0.7333, "x": 15.57, "y": 25.15 }
],
"scale": [
{ "curve": "stepped" },
{ "time": 0.0667, "x": 0.575, "y": 0.575 },
{ "time": 0.7333, "x": 0.8, "y": 0.8 }
]
},
"jia_c1": {
"translate": [
{ "curve": "stepped" },
{ "time": 0.0333, "x": 0.97, "y": 20.65 },
{ "time": 0.6333, "x": 1.17, "y": 42.01 }
],
"scale": [
{ "curve": "stepped" },
{ "time": 0.0333, "x": 0.2, "y": 0.2 },
{ "time": 0.6333, "x": 0.4, "y": 0.4 }
]
},
"zllizi_a1": {
"translate": [
{ "curve": "stepped" },
{ "time": 0.2, "x": -14.85, "y": 8.53 },
{ "time": 0.9, "x": -16.58, "y": 28.91 }
],
"scale": [
{ "curve": "stepped" },
{ "time": 0.2, "x": 0.687, "y": 0.687 },
{ "time": 0.3333, "x": 0.598, "y": 0.598 },
{ "time": 0.4667, "x": 0.823, "y": 0.823 },
{ "time": 0.6333, "x": 0.56, "y": 0.56 },
{ "time": 0.9, "x": 0.194, "y": 0.194 }
]
},
"zllizi_b1": {
"translate": [
{ "curve": "stepped" },
{ "time": 0.0667, "x": 10.42, "y": 7.49 },
{ "time": 0.7667, "x": 11.28, "y": 17.48 }
],
"scale": [
{ "curve": "stepped" },
{ "time": 0.0667, "x": 0.687, "y": 0.687 },
{ "time": 0.2, "x": 0.598, "y": 0.598 },
{ "time": 0.3333, "x": 0.823, "y": 0.823 },
{ "time": 0.4667, "x": 0.56, "y": 0.56 },
{ "time": 0.7667, "x": 0.194, "y": 0.194 }
]
},
"zllizi_c1": {
"translate": [
{ "curve": "stepped" },
{ "time": 0.0667, "x": 2.11, "y": 20.3 },
{ "time": 0.7667, "x": 1.93, "y": 43.1 }
],
"scale": [
{ "curve": "stepped" },
{ "time": 0.0667, "x": 0.687, "y": 0.687 },
{ "time": 0.2, "x": 0.598, "y": 0.598 },
{ "time": 0.3333, "x": 0.823, "y": 0.823 },
{ "time": 0.4667, "x": 0.56, "y": 0.56 },
{ "time": 0.7667, "x": 0.194, "y": 0.194 }
]
},
"zllizi_d1": {
"translate": [
{ "curve": "stepped" },
{ "time": 0.2, "x": 2.81, "y": 7.15 },
{ "time": 1.0333, "x": -2.05, "y": 38.77 }
],
"scale": [
{ "curve": "stepped" },
{ "time": 0.2, "x": 0.687, "y": 0.687 },
{ "time": 0.3333, "x": 0.598, "y": 0.598 },
{ "time": 0.5333, "x": 0.823, "y": 0.823 },
{ "time": 0.7, "x": 0.56, "y": 0.56 },
{ "time": 1.0333, "x": 0.194, "y": 0.194 }
]
},
"zllizi_e1": {
"translate": [
{ "curve": "stepped" },
{ "time": 0.0667, "x": -7.28, "y": 28.51 },
{ "time": 1.0333, "x": -8.09, "y": 50.46 }
],
"scale": [
{ "curve": "stepped" },
{ "time": 0.0667, "x": 0.687, "y": 0.687 },
{ "time": 0.2, "x": 0.598, "y": 0.598 },
{ "time": 0.4, "x": 0.823, "y": 0.823 },
{ "time": 0.6333, "x": 0.56, "y": 0.56 },
{ "time": 1.0333, "x": 0.194, "y": 0.194 }
]
},
"zllizi_f1": {
"translate": [
{ "curve": "stepped" },
{ "time": 0.0667, "x": 5.78, "y": 41.57 },
{ "time": 1.0333, "x": 10.18, "y": 71.87 }
],
"scale": [
{ "curve": "stepped" },
{ "time": 0.0667, "x": 0.687, "y": 0.687 },
{ "time": 0.2, "x": 0.598, "y": 0.598 },
{ "time": 0.4, "x": 0.823, "y": 0.823 },
{ "time": 0.6333, "x": 0.56, "y": 0.56 },
{ "time": 1.0333, "x": 0.194, "y": 0.194 }
]
},
"zllizi_g1": {
"translate": [
{ "curve": "stepped" },
{ "time": 0.2, "x": 0.34, "y": 43.96 },
{ "time": 1.0333, "x": -3.06, "y": 61.32 }
],
"scale": [
{ "curve": "stepped" },
{ "time": 0.2, "x": 0.687, "y": 0.687 },
{ "time": 0.3333, "x": 0.598, "y": 0.598 },
{ "time": 0.5333, "x": 0.823, "y": 0.823 },
{ "time": 0.7, "x": 0.56, "y": 0.56 },
{ "time": 1.0333, "x": 0.194, "y": 0.194 }
]
}
},
"events": [
{ "time": 0.3333, "name": "OnCreateMagicHarm" },
{ "time": 1.0333, "name": "Skill_Complete" }
]
}
}
}

View File

@@ -0,0 +1,11 @@
{
"ver": "1.2.6",
"importer": "spine-data",
"imported": true,
"uuid": "2b3e4b0f-2c6b-4e36-b35e-6a1e5564c1ef",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

View File

@@ -0,0 +1,42 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "4288cd29-e878-4915-affc-0f25b22a9d55",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "4288cd29-e878-4915-affc-0f25b22a9d55@6c48a",
"displayName": "1106112",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "4288cd29-e878-4915-affc-0f25b22a9d55",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "texture",
"fixAlphaTransparencyArtifacts": false,
"redirect": "4288cd29-e878-4915-affc-0f25b22a9d55@6c48a"
}
}

View File

@@ -0,0 +1,334 @@
[
{
"__type__": "cc.Prefab",
"_name": "ice",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "ice",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
}
],
"_active": true,
"_components": [
{
"__id__": 8
},
{
"__id__": 10
},
{
"__id__": 12
},
{
"__id__": 14
}
],
"_prefab": {
"__id__": 16
},
"_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": "skill",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
}
],
"_prefab": {
"__id__": 7
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -52.535,
"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": 240,
"height": 86
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.4560416539510091,
"y": 0.5054651304732921
},
"_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__": "1c8a6672-e54c-4d0e-9bc3-6c37bc8acea2",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "animation",
"_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": "f3C1ldL9lDar8/kq/F6KPh"
},
{
"__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": 286,
"height": 90
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.49664333316829656,
"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": 16,
"_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": 0,
"_group": 16,
"_density": 1,
"_sensor": false,
"_friction": 0.2,
"_restitution": 0,
"_offset": {
"__type__": "cc.Vec2",
"x": 15.2,
"y": 0.3
},
"_size": {
"__type__": "cc.Size",
"width": 28.9,
"height": 86.1
},
"_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__": "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": "624612d3-de86-4ae9-bc2b-98d6322e41d0",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "ice"
}
}

View File

@@ -0,0 +1,9 @@
{
"ver": "1.2.0",
"importer": "directory",
"imported": true,
"uuid": "6bc6bcbf-1d97-45ae-b92f-78fcee0382fa",
"files": [],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,168 @@
[
{
"__type__": "cc.Prefab",
"_name": "light",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "light",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [],
"_active": true,
"_components": [
{
"__id__": 2
},
{
"__id__": 4
},
{
"__id__": 6
}
],
"_prefab": {
"__id__": 8
},
"_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__": "6e0a9ldFsFFVI+AKTlPJCE7",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 3
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "49OEMg1EpLqoAoujMIBfBH"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 5
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "867IsBDYhAvb5hSjWZtBh2"
},
{
"__type__": "sp.Skeleton",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 7
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_skeletonData": {
"__uuid__": "033f6d7a-4f77-4e61-aa50-8543401de1c0",
"__expectedType__": "sp.SkeletonData"
},
"defaultSkin": "default",
"defaultAnimation": "animation",
"_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": "13otm+MFNCmLL54lOv29X3"
},
{
"__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": "319c7eb8-9826-48b6-81e4-82559dbf82a8",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "light"
}
}

View File

@@ -0,0 +1,13 @@
1106112.png
size: 30,16
format: RGBA8888
filter: Linear,Linear
repeat: none
xiant
rotate: false
xy: 2, 2
size: 26, 8
orig: 26, 8
offset: 0, 0
index: -1

View File

@@ -0,0 +1,12 @@
{
"ver": "1.0.1",
"importer": "*",
"imported": true,
"uuid": "b37656fb-c854-4e26-a790-ddfd7986ff08",
"files": [
".atlas",
".json"
],
"subMetas": {},
"userData": {}
}

View File

@@ -0,0 +1,134 @@
{
"skeleton": { "hash": "kP0AcawB+mIEI66yBoXrEhaVLb4", "spine": "3.8.99", "images": "D:/BaiduNetdiskDownload/1010-Q版日式手游SPINE特效300套/Q版日式手游SPINE特效300套/Q版日式手游SPINE特效300套/010-1106112/0/", "audio": "D:/BaiduNetdiskDownload/1010-Q版日式手游SPINE特效300套/Q版日式手游SPINE特效300套/Q版日式手游SPINE特效300套/010-1106112" },
"bones": [
{ "name": "root" },
{ "name": "zl", "parent": "root" },
{ "name": "zlxiant", "parent": "zl" },
{ "name": "zlxiant_a1", "parent": "zlxiant" },
{ "name": "zlxiant_b1", "parent": "zlxiant" },
{ "name": "zlxiant_c1", "parent": "zlxiant" },
{ "name": "zlxiant_f1", "parent": "zlxiant" }
],
"slots": [
{ "name": "zlxiant_a1", "bone": "zlxiant_a1", "blend": "additive" },
{ "name": "zlxiant_b1", "bone": "zlxiant_b1", "blend": "additive" },
{ "name": "zlxiant_c1", "bone": "zlxiant_c1", "blend": "additive" },
{ "name": "zlxiant_f1", "bone": "zlxiant_f1", "blend": "additive" }
],
"skins": [
{
"name": "default",
"attachments": {
"zlxiant_a1": {
"xiant": { "y": 4.67, "rotation": 90, "width": 26, "height": 8 }
},
"zlxiant_b1": {
"xiant": { "y": 4.67, "rotation": 90, "width": 26, "height": 8 }
},
"zlxiant_c1": {
"xiant": { "y": 4.67, "rotation": 90, "width": 26, "height": 8 }
},
"zlxiant_f1": {
"xiant": { "y": 4.67, "rotation": 90, "width": 26, "height": 8 }
}
}
}
],
"animations": {
"animation": {
"slots": {
"zlxiant_a1": {
"color": [
{ "color": "83ff8800" },
{ "time": 0.1333, "color": "83ff8880" },
{ "time": 0.4, "color": "83ff8800" }
],
"attachment": [
{ "name": "xiant" },
{ "time": 0.4, "name": null }
]
},
"zlxiant_b1": {
"color": [
{ "color": "ffffffff", "curve": "stepped" },
{ "time": 0.1, "color": "83ff8800" },
{ "time": 0.2333, "color": "83ff8880" },
{ "time": 0.5333, "color": "83ff8800" }
],
"attachment": [
{ "time": 0.1, "name": "xiant" },
{ "time": 0.5333, "name": null }
]
},
"zlxiant_c1": {
"color": [
{ "color": "ffffffff", "curve": "stepped" },
{ "time": 0.1667, "color": "83ff8800" },
{ "time": 0.2667, "color": "83ff8880" },
{ "time": 0.5667, "color": "83ff8800" }
],
"attachment": [
{ "time": 0.1667, "name": "xiant" },
{ "time": 0.5667, "name": null }
]
},
"zlxiant_f1": {
"color": [
{ "color": "ffffffff", "curve": "stepped" },
{ "time": 0.2667, "color": "83ff8800" },
{ "time": 0.3667, "color": "83ff8880" },
{ "time": 0.6667, "color": "83ff8800" }
],
"attachment": [
{ "time": 0.2667, "name": "xiant" },
{ "time": 0.6667, "name": null }
]
}
},
"bones": {
"zlxiant_a1": {
"scale": [
{},
{ "time": 0.1333, "x": 5.853, "y": 13.794 },
{ "time": 0.4, "x": 1.958, "y": 14.842 }
]
},
"zlxiant_b1": {
"translate": [
{ "curve": "stepped" },
{ "time": 0.1, "x": -18.65, "y": -0.91 }
],
"scale": [
{ "time": 0.1 },
{ "time": 0.2333, "x": 4.075, "y": 12.537 },
{ "time": 0.5333, "x": 1.958, "y": 14.842 }
]
},
"zlxiant_c1": {
"translate": [
{ "curve": "stepped" },
{ "time": 0.1667, "x": 21.35, "y": 1.92 },
{ "time": 0.5667, "x": 21.35, "y": 4 }
],
"scale": [
{ "time": 0.1667 },
{ "time": 0.2667, "x": 2.022, "y": 12.537 },
{ "time": 0.5667, "x": 1.196, "y": 14.842 }
]
},
"zlxiant_f1": {
"translate": [
{ "curve": "stepped" },
{ "time": 0.2667, "x": 4.72, "y": -7.11 },
{ "time": 0.6667, "x": 4.72, "y": 2.77 }
],
"scale": [
{ "time": 0.2667 },
{ "time": 0.3667, "x": 6.772, "y": 12.202 },
{ "time": 0.6667, "x": 1.196, "y": 14.195 }
]
}
}
}
}
}

View File

@@ -0,0 +1,11 @@
{
"ver": "1.2.6",
"importer": "spine-data",
"imported": true,
"uuid": "033f6d7a-4f77-4e61-aa50-8543401de1c0",
"files": [
".json"
],
"subMetas": {},
"userData": {}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 234 B

View File

@@ -0,0 +1,42 @@
{
"ver": "1.0.26",
"importer": "image",
"imported": true,
"uuid": "99ef1ad3-0042-499a-a9b4-b578abf89145",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "99ef1ad3-0042-499a-a9b4-b578abf89145@6c48a",
"displayName": "1106112",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "repeat",
"wrapModeT": "repeat",
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0,
"isUuid": true,
"imageUuidOrDatabaseUri": "99ef1ad3-0042-499a-a9b4-b578abf89145",
"visible": false
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"hasAlpha": true,
"type": "texture",
"fixAlphaTransparencyArtifacts": false,
"redirect": "99ef1ad3-0042-499a-a9b4-b578abf89145@6c48a"
}
}

View File

@@ -55,6 +55,7 @@ export class MapViewComp extends CCComp {
} }
protected update(dt: number): void { protected update(dt: number): void {
if (this.monster_refresh_rtimer.update(dt)) { if (this.monster_refresh_rtimer.update(dt)) {
// 刷新怪物定时器
this.monster_refresh() this.monster_refresh()
} }
if (this.game_timer.update(dt)) { if (this.game_timer.update(dt)) {
@@ -63,11 +64,11 @@ export class MapViewComp extends CCComp {
// this.shuaxin(dt) // this.shuaxin(dt)
this.gold_add(dt) this.gold_add(dt)
} }
// 刷新怪物
monster_refresh(){ monster_refresh(){
if(smc.monsters.length > 0 ){ if(smc.monsters.length > 0 ){
this.addMonster(smc.monsters[0].uuid) this.addMonster(smc.monsters[0].uuid)
} }
} }
gold_add(dt: number) { gold_add(dt: number) {
smc.vm_data.gold.time += dt; smc.vm_data.gold.time += dt;
@@ -102,7 +103,4 @@ export class MapViewComp extends CCComp {
smc.monsters.splice(0,1) smc.monsters.splice(0,1)
} }
} }

View File

@@ -7,6 +7,7 @@
import { Component, Node, Prefab, _decorator ,instantiate} from 'cc'; import { Component, Node, Prefab, _decorator ,instantiate} from 'cc';
import { Timer } from '../../../../../../../extensions/oops-plugin-framework/assets/core/common/timer/Timer'; import { Timer } from '../../../../../../../extensions/oops-plugin-framework/assets/core/common/timer/Timer';
import {oops} from "../../../../../../../extensions/oops-plugin-framework/assets/core/Oops"; import {oops} from "../../../../../../../extensions/oops-plugin-framework/assets/core/Oops";
import { BoxSet } from '../../../../common/config/BoxSet';
const { ccclass, property } = _decorator; const { ccclass, property } = _decorator;
/** /**
@@ -21,9 +22,8 @@ export default class SkillLayer extends Component {
@property(Prefab) @property(Prefab)
light: Prefab = null; light: Prefab = null;
onLoad(){ onLoad(){
// 监听全局事件 oops.message.on("monster_load", this.onMonsterLoaded, this);
// oops.message.on("monster_load", this.onMonsterLoaded, this); oops.message.on("hero_load", this.onHeroLoaded, this);
// oops.message.on("hero_load", this.onHeroLoaded, this);
} }
onMonsterLoaded(){ onMonsterLoaded(){
@@ -32,9 +32,9 @@ export default class SkillLayer extends Component {
// this.node.addChild(light); // this.node.addChild(light);
} }
onHeroLoaded(){ onHeroLoaded(){
// const light = instantiate(this.light); const light = instantiate(this.light);
// light.setPosition(-300,-30,0); light.setPosition(BoxSet.HERO_START,BoxSet.GAME_LINE,0);
// this.node.addChild(light); this.node.addChild(light);
} }
update(dt: number) { update(dt: number) {
// this.timer.update(dt) // this.timer.update(dt)

View File

@@ -0,0 +1,23 @@
import { _decorator, Component, Node, sp } from 'cc';
const { ccclass, property ,} = _decorator;
@ccclass('once')
export class once extends Component {
private spine!: sp.Skeleton;
start() {
}
protected onLoad(): void {
this.spine = this.getComponent(sp.Skeleton)!;
this.spine.setCompleteListener(trackEntry => {
this.node.destroy()
});
}
update(deltaTime: number) {
}
}

View File

@@ -0,0 +1 @@
{"ver":"4.0.23","importer":"typescript","imported":true,"uuid":"6e0a995d-16c1-4554-8f80-29394f24213b","files":[],"subMetas":{},"userData":{}}