Death effect

This commit is contained in:
Martin
2023-01-02 13:51:49 +01:00
parent af4dd8ecbd
commit 8d241c7886
12 changed files with 327 additions and 130 deletions

View File

@@ -27,11 +27,11 @@
"_active": true,
"_components": [],
"_prefab": {
"__id__": 107
"__id__": 110
},
"autoReleaseAssets": false,
"_globals": {
"__id__": 112
"__id__": 115
},
"_id": "cffa5b19-2043-4cef-8221-1a10ab7a2c1f"
},
@@ -247,22 +247,25 @@
"__id__": 62
},
{
"__id__": 100
"__id__": 65
},
{
"__id__": 103
}
],
"_active": true,
"_components": [
{
"__id__": 103
},
{
"__id__": 104
},
{
"__id__": 105
},
{
"__id__": 106
},
{
"__id__": 107
},
{
"__id__": 108
},
{
"__id__": 109
}
],
"_prefab": null,
@@ -1518,6 +1521,88 @@
},
"_id": "1ffjazmm5IkZwKInsSIULY"
},
{
"__type__": "cc.Node",
"_name": "EnemyDeathEffectManager",
"_objFlags": 0,
"_parent": {
"__id__": 12
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 63
},
{
"__id__": 64
}
],
"_prefab": null,
"_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
},
"_layer": 33554432,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": "b9L/RzIoxEG63Ey9qb7Cdv"
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
},
"_enabled": true,
"__prefab": null,
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 100
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": "c5MBPkeSdJT4zvySWGVswV"
},
{
"__type__": "3d2079Oe4hGb4KAQJkl2Luy",
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
},
"_enabled": true,
"__prefab": null,
"deathEffectPrefab": {
"__uuid__": "33559f93-a351-4249-a775-f8ee7f31714c",
"__expectedType__": "cc.Prefab"
},
"_id": "f30EIVwGFBAYMGmW70IlmJ"
},
{
"__type__": "cc.Node",
"_name": "GameUI",
@@ -1527,16 +1612,16 @@
},
"_children": [
{
"__id__": 63
"__id__": 66
},
{
"__id__": 90
"__id__": 93
}
],
"_active": true,
"_components": [
{
"__id__": 99
"__id__": 102
}
],
"_prefab": null,
@@ -1573,26 +1658,26 @@
"_name": "TopUI",
"_objFlags": 0,
"_parent": {
"__id__": 62
"__id__": 65
},
"_children": [
{
"__id__": 64
},
{
"__id__": 76
"__id__": 67
},
{
"__id__": 79
},
{
"__id__": 82
}
],
"_active": true,
"_components": [
{
"__id__": 88
"__id__": 91
},
{
"__id__": 89
"__id__": 92
}
],
"_prefab": null,
@@ -1629,26 +1714,26 @@
"_name": "XpBar",
"_objFlags": 0,
"_parent": {
"__id__": 63
"__id__": 66
},
"_children": [
{
"__id__": 65
},
{
"__id__": 68
},
{
"__id__": 71
},
{
"__id__": 74
}
],
"_active": true,
"_components": [
{
"__id__": 74
"__id__": 77
},
{
"__id__": 75
"__id__": 78
}
],
"_prefab": null,
@@ -1685,16 +1770,16 @@
"_name": "Background",
"_objFlags": 0,
"_parent": {
"__id__": 64
"__id__": 67
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 66
"__id__": 69
},
{
"__id__": 67
"__id__": 70
}
],
"_prefab": null,
@@ -1731,7 +1816,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
"__id__": 68
},
"_enabled": true,
"__prefab": null,
@@ -1752,7 +1837,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 65
"__id__": 68
},
"_enabled": true,
"__prefab": null,
@@ -1790,16 +1875,16 @@
"_name": "Background-001",
"_objFlags": 0,
"_parent": {
"__id__": 64
"__id__": 67
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 69
"__id__": 72
},
{
"__id__": 70
"__id__": 73
}
],
"_prefab": null,
@@ -1836,7 +1921,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
"__id__": 71
},
"_enabled": true,
"__prefab": null,
@@ -1857,7 +1942,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 68
"__id__": 71
},
"_enabled": true,
"__prefab": null,
@@ -1895,16 +1980,16 @@
"_name": "MovableBar",
"_objFlags": 0,
"_parent": {
"__id__": 64
"__id__": 67
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 72
"__id__": 75
},
{
"__id__": 73
"__id__": 76
}
],
"_prefab": null,
@@ -1941,7 +2026,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
"__id__": 74
},
"_enabled": true,
"__prefab": null,
@@ -1962,7 +2047,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 71
"__id__": 74
},
"_enabled": true,
"__prefab": null,
@@ -2000,7 +2085,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
"__id__": 67
},
"_enabled": true,
"__prefab": null,
@@ -2021,12 +2106,12 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 64
"__id__": 67
},
"_enabled": true,
"__prefab": null,
"_barSprite": {
"__id__": 73
"__id__": 76
},
"_mode": 0,
"_totalLength": 284,
@@ -2039,16 +2124,16 @@
"_name": "TimeAliveText",
"_objFlags": 0,
"_parent": {
"__id__": 63
"__id__": 66
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 77
"__id__": 80
},
{
"__id__": 78
"__id__": 81
}
],
"_prefab": null,
@@ -2085,7 +2170,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
"__id__": 79
},
"_enabled": true,
"__prefab": null,
@@ -2106,7 +2191,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 76
"__id__": 79
},
"_enabled": true,
"__prefab": null,
@@ -2147,29 +2232,29 @@
"_name": "PauseBtn",
"_objFlags": 0,
"_parent": {
"__id__": 63
"__id__": 66
},
"_children": [
{
"__id__": 80
"__id__": 83
}
],
"_active": true,
"_components": [
{
"__id__": 83
},
{
"__id__": 84
},
{
"__id__": 85
},
{
"__id__": 86
},
{
"__id__": 87
},
{
"__id__": 88
},
{
"__id__": 89
},
{
"__id__": 90
}
],
"_prefab": null,
@@ -2206,16 +2291,16 @@
"_name": "Square",
"_objFlags": 0,
"_parent": {
"__id__": 79
"__id__": 82
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 81
"__id__": 84
},
{
"__id__": 82
"__id__": 85
}
],
"_prefab": null,
@@ -2252,7 +2337,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 80
"__id__": 83
},
"_enabled": true,
"__prefab": null,
@@ -2273,7 +2358,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 80
"__id__": 83
},
"_enabled": true,
"__prefab": null,
@@ -2314,7 +2399,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
"__id__": 82
},
"_enabled": true,
"__prefab": null,
@@ -2335,7 +2420,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
"__id__": 82
},
"_enabled": true,
"__prefab": null,
@@ -2373,7 +2458,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
"__id__": 82
},
"_enabled": true,
"__prefab": null,
@@ -2427,7 +2512,7 @@
"_duration": 0.1,
"_zoomScale": 0.92,
"_target": {
"__id__": 79
"__id__": 82
},
"_id": "44V8O8mzZKQZv5NNhU9U2X"
},
@@ -2436,7 +2521,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
"__id__": 82
},
"_enabled": true,
"__prefab": null,
@@ -2447,12 +2532,12 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 79
"__id__": 82
},
"_enabled": true,
"__prefab": null,
"button": {
"__id__": 86
"__id__": 89
},
"_id": "19CfluWQpOB4qddmLDK5n9"
},
@@ -2461,7 +2546,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
"__id__": 66
},
"_enabled": true,
"__prefab": null,
@@ -2482,7 +2567,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 63
"__id__": 66
},
"_enabled": true,
"__prefab": null,
@@ -2511,17 +2596,17 @@
"_name": "UI",
"_objFlags": 0,
"_parent": {
"__id__": 62
"__id__": 65
},
"_children": [
{
"__id__": 91
"__id__": 94
}
],
"_active": true,
"_components": [
{
"__id__": 98
"__id__": 101
}
],
"_prefab": null,
@@ -2558,23 +2643,23 @@
"_name": "VirtualJoystic",
"_objFlags": 0,
"_parent": {
"__id__": 90
"__id__": 93
},
"_children": [
{
"__id__": 92
"__id__": 95
}
],
"_active": true,
"_components": [
{
"__id__": 95
"__id__": 98
},
{
"__id__": 96
"__id__": 99
},
{
"__id__": 97
"__id__": 100
}
],
"_prefab": null,
@@ -2611,16 +2696,16 @@
"_name": "Knob",
"_objFlags": 0,
"_parent": {
"__id__": 91
"__id__": 94
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 93
"__id__": 96
},
{
"__id__": 94
"__id__": 97
}
],
"_prefab": null,
@@ -2657,7 +2742,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 92
"__id__": 95
},
"_enabled": true,
"__prefab": null,
@@ -2678,7 +2763,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 92
"__id__": 95
},
"_enabled": true,
"__prefab": null,
@@ -2716,7 +2801,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
"__id__": 94
},
"_enabled": true,
"__prefab": null,
@@ -2737,7 +2822,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
"__id__": 94
},
"_enabled": true,
"__prefab": null,
@@ -2775,13 +2860,13 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 91
"__id__": 94
},
"_enabled": true,
"__prefab": null,
"maxDistance": 50,
"knob": {
"__id__": 92
"__id__": 95
},
"_id": "50ceZG62tGlYXvZWEvSDKl"
},
@@ -2790,7 +2875,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 90
"__id__": 93
},
"_enabled": true,
"__prefab": null,
@@ -2811,18 +2896,18 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 62
"__id__": 65
},
"_enabled": true,
"__prefab": null,
"xpBar": {
"__id__": 75
},
"timeAliveText": {
"__id__": 78
},
"timeAliveText": {
"__id__": 81
},
"pauseBtn": {
"__id__": 86
"__id__": 89
},
"_id": "bau/7eItRFrKKoAZZb/uYL"
},
@@ -2837,10 +2922,10 @@
"_active": true,
"_components": [
{
"__id__": 101
"__id__": 104
},
{
"__id__": 102
"__id__": 105
}
],
"_prefab": null,
@@ -2877,7 +2962,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
"__id__": 103
},
"_enabled": true,
"__prefab": null,
@@ -2898,7 +2983,7 @@
"_name": "",
"_objFlags": 0,
"node": {
"__id__": 100
"__id__": 103
},
"_enabled": true,
"__prefab": null,
@@ -3004,7 +3089,7 @@
"_enabled": true,
"__prefab": null,
"virtualJoystic": {
"__id__": 97
"__id__": 100
},
"player": null,
"haloProjectileLauncherComponent": {
@@ -3025,21 +3110,24 @@
"enemyManager": {
"__id__": 61
},
"deathEffectSpawner": {
"__id__": 64
},
"itemManager": {
"__id__": 57
},
"gameUI": {
"__id__": 99
"__id__": 102
},
"gameCanvas": {
"__id__": 104
"__id__": 107
},
"background": {
"__id__": 23
},
"gameAudioAdapter": null,
"blackScreen": {
"__id__": 100
"__id__": 103
},
"_id": "3a9z1bqlFCGL4/WyDwU4L5"
},
@@ -3048,10 +3136,10 @@
"fileId": "cffa5b19-2043-4cef-8221-1a10ab7a2c1f",
"targetOverrides": [
{
"__id__": 108
"__id__": 111
},
{
"__id__": 110
"__id__": 113
}
],
"nestedPrefabInstanceRoots": [
@@ -3069,7 +3157,7 @@
{
"__type__": "cc.TargetOverrideInfo",
"source": {
"__id__": 106
"__id__": 109
},
"sourceInfo": null,
"propertyPath": [
@@ -3079,7 +3167,7 @@
"__id__": 34
},
"targetInfo": {
"__id__": 109
"__id__": 112
}
},
{
@@ -3091,7 +3179,7 @@
{
"__type__": "cc.TargetOverrideInfo",
"source": {
"__id__": 106
"__id__": 109
},
"sourceInfo": null,
"propertyPath": [
@@ -3101,7 +3189,7 @@
"__id__": 13
},
"targetInfo": {
"__id__": 111
"__id__": 114
}
},
{
@@ -3113,19 +3201,19 @@
{
"__type__": "cc.SceneGlobals",
"ambient": {
"__id__": 113
},
"shadows": {
"__id__": 114
},
"_skybox": {
"__id__": 115
},
"fog": {
"__id__": 116
},
"octree": {
"shadows": {
"__id__": 117
},
"_skybox": {
"__id__": 118
},
"fog": {
"__id__": 119
},
"octree": {
"__id__": 120
}
},
{