diff --git a/assets/Media/Prefabs/Game/GameAudioAdapter.prefab b/assets/Media/Prefabs/Game/GameAudioAdapter.prefab new file mode 100644 index 0000000..ffb0e3d --- /dev/null +++ b/assets/Media/Prefabs/Game/GameAudioAdapter.prefab @@ -0,0 +1,133 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "GameAudioAdapter", + "_objFlags": 0, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false, + "asyncLoadAssets": false + }, + { + "__type__": "cc.Node", + "_name": "GameAudioAdapter", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 2 + } + ], + "_prefab": { + "__id__": 4 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -319.99999999999994, + "y": -479.99999999999994, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "eb842QdTMFOUJEdwMiA7AJN", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 3 + }, + "music": { + "__uuid__": "0faecdcf-e5d6-4cc1-b3cf-3b2873f8ee62", + "__expectedType__": "cc.AudioClip" + }, + "enemyHit": { + "__uuid__": "efed223f-7b17-47ad-b265-7a951ace6d85", + "__expectedType__": "cc.AudioClip" + }, + "playerHit": { + "__uuid__": "99fb12ce-b248-4560-85fd-c1a61689adf2", + "__expectedType__": "cc.AudioClip" + }, + "playerDeath": { + "__uuid__": "68ebed5f-544b-4337-a49c-d4ba32e8e6a2", + "__expectedType__": "cc.AudioClip" + }, + "weaponSwing": { + "__uuid__": "5ad08e27-4461-464a-ad19-8c933abf5a5d", + "__expectedType__": "cc.AudioClip" + }, + "xpPickup": { + "__uuid__": "6af287fc-820f-4e12-8b8f-858a5dd41d2c", + "__expectedType__": "cc.AudioClip" + }, + "goldPickup": { + "__uuid__": "580b2ceb-3daa-409b-b6c4-7d81c7182650", + "__expectedType__": "cc.AudioClip" + }, + "healthPotionPickup": { + "__uuid__": "b1564752-035d-4989-aed0-2c0684d8a0e9", + "__expectedType__": "cc.AudioClip" + }, + "levelUp": { + "__uuid__": "4bf29238-2767-4178-a74a-3c2857685265", + "__expectedType__": "cc.AudioClip" + }, + "horizontalProjectileLaunch": { + "__uuid__": "36c577cb-8a85-40a7-9390-455863dfef8f", + "__expectedType__": "cc.AudioClip" + }, + "diagonalProjectileLaunch": { + "__uuid__": "adeff7ed-6f7e-471b-8790-d0eb14e048f9", + "__expectedType__": "cc.AudioClip" + }, + "haloProjectileLaunch": { + "__uuid__": "a7b634e1-7842-402c-a2a9-4007435c9a4a", + "__expectedType__": "cc.AudioClip" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b2ILEwH8JJmYiJlSWbxV6z" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "62B+OqAzROoon1s4L/Ur4W" + } +] \ No newline at end of file diff --git a/assets/Media/Prefabs/Game/GameAudioAdapter.prefab.meta b/assets/Media/Prefabs/Game/GameAudioAdapter.prefab.meta new file mode 100644 index 0000000..bff4e05 --- /dev/null +++ b/assets/Media/Prefabs/Game/GameAudioAdapter.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.40", + "importer": "prefab", + "imported": true, + "uuid": "8a193591-d71d-493f-8010-f7c8c13b6ec8", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "GameAudioAdapter" + } +} diff --git a/assets/Scenes/Game.scene b/assets/Scenes/Game.scene index 9181c2d..e6c9257 100644 --- a/assets/Scenes/Game.scene +++ b/assets/Scenes/Game.scene @@ -27,11 +27,11 @@ "_active": true, "_components": [], "_prefab": { - "__id__": 104 + "__id__": 112 }, "autoReleaseAssets": false, "_globals": { - "__id__": 107 + "__id__": 115 }, "_id": "cffa5b19-2043-4cef-8221-1a10ab7a2c1f" }, @@ -217,16 +217,7 @@ "__id__": 13 }, { - "__id__": 15 - }, - { - "__id__": 18 - }, - { - "__id__": 20 - }, - { - "__id__": 22 + "__id__": 21 }, { "__id__": 24 @@ -235,28 +226,37 @@ "__id__": 26 }, { - "__id__": 34 + "__id__": 28 }, { - "__id__": 44 + "__id__": 30 }, { - "__id__": 48 + "__id__": 32 + }, + { + "__id__": 40 + }, + { + "__id__": 50 + }, + { + "__id__": 54 } ], "_active": true, "_components": [ { - "__id__": 100 + "__id__": 106 }, { - "__id__": 101 + "__id__": 107 }, { - "__id__": 102 + "__id__": 108 }, { - "__id__": 103 + "__id__": 109 } ], "_prefab": null, @@ -290,105 +290,111 @@ }, { "__type__": "cc.Node", - "_name": "GameAudioAdapter", "_objFlags": 0, "_parent": { "__id__": 12 }, - "_children": [], - "_active": true, - "_components": [ + "_prefab": { + "__id__": 14 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 13 + }, + "asset": { + "__uuid__": "8a193591-d71d-493f-8010-f7c8c13b6ec8", + "__expectedType__": "cc.Prefab" + }, + "fileId": "62B+OqAzROoon1s4L/Ur4W", + "instance": { + "__id__": 15 + } + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "c9KEc80KxJDpfn7V6HPPXW", + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ { - "__id__": 14 + "__id__": 16 + }, + { + "__id__": 18 + }, + { + "__id__": 19 + }, + { + "__id__": 20 } ], - "_prefab": null, - "_lpos": { + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 17 + }, + "propertyPath": [ + "_name" + ], + "value": "GameAudioAdapter" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "62B+OqAzROoon1s4L/Ur4W" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 17 + }, + "propertyPath": [ + "_lpos" + ], + "value": { "__type__": "cc.Vec3", "x": -319.99999999999994, "y": -479.99999999999994, "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 17 }, - "_lrot": { + "propertyPath": [ + "_lrot" + ], + "value": { "__type__": "cc.Quat", "x": 0, "y": 0, "z": 0, "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 17 }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_layer": 1073741824, - "_euler": { + "propertyPath": [ + "_euler" + ], + "value": { "__type__": "cc.Vec3", "x": 0, "y": 0, "z": 0 - }, - "_id": "62B+OqAzROoon1s4L/Ur4W" - }, - { - "__type__": "eb842QdTMFOUJEdwMiA7AJN", - "_name": "", - "_objFlags": 0, - "node": { - "__id__": 13 - }, - "_enabled": true, - "__prefab": null, - "music": { - "__uuid__": "0faecdcf-e5d6-4cc1-b3cf-3b2873f8ee62", - "__expectedType__": "cc.AudioClip" - }, - "enemyHit": { - "__uuid__": "efed223f-7b17-47ad-b265-7a951ace6d85", - "__expectedType__": "cc.AudioClip" - }, - "playerHit": { - "__uuid__": "99fb12ce-b248-4560-85fd-c1a61689adf2", - "__expectedType__": "cc.AudioClip" - }, - "playerDeath": { - "__uuid__": "68ebed5f-544b-4337-a49c-d4ba32e8e6a2", - "__expectedType__": "cc.AudioClip" - }, - "weaponSwing": { - "__uuid__": "5ad08e27-4461-464a-ad19-8c933abf5a5d", - "__expectedType__": "cc.AudioClip" - }, - "xpPickup": { - "__uuid__": "6af287fc-820f-4e12-8b8f-858a5dd41d2c", - "__expectedType__": "cc.AudioClip" - }, - "goldPickup": { - "__uuid__": "580b2ceb-3daa-409b-b6c4-7d81c7182650", - "__expectedType__": "cc.AudioClip" - }, - "healthPotionPickup": { - "__uuid__": "b1564752-035d-4989-aed0-2c0684d8a0e9", - "__expectedType__": "cc.AudioClip" - }, - "levelUp": { - "__uuid__": "4bf29238-2767-4178-a74a-3c2857685265", - "__expectedType__": "cc.AudioClip" - }, - "horizontalProjectileLaunch": { - "__uuid__": "36c577cb-8a85-40a7-9390-455863dfef8f", - "__expectedType__": "cc.AudioClip" - }, - "diagonalProjectileLaunch": { - "__uuid__": "adeff7ed-6f7e-471b-8790-d0eb14e048f9", - "__expectedType__": "cc.AudioClip" - }, - "haloProjectileLaunch": { - "__uuid__": "a7b634e1-7842-402c-a2a9-4007435c9a4a", - "__expectedType__": "cc.AudioClip" - }, - "_id": "8fIp3RG7RDK6FMarL5A96h" + } }, { "__type__": "cc.Node", @@ -401,10 +407,10 @@ "_active": true, "_components": [ { - "__id__": 16 + "__id__": 22 }, { - "__id__": 17 + "__id__": 23 } ], "_prefab": null, @@ -441,7 +447,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 15 + "__id__": 21 }, "_enabled": true, "__prefab": null, @@ -462,7 +468,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 15 + "__id__": 21 }, "_enabled": true, "__prefab": null, @@ -501,7 +507,7 @@ "_active": true, "_components": [ { - "__id__": 19 + "__id__": 25 } ], "_prefab": null, @@ -538,7 +544,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 18 + "__id__": 24 }, "_enabled": true, "__prefab": null, @@ -559,7 +565,7 @@ "_active": true, "_components": [ { - "__id__": 21 + "__id__": 27 } ], "_prefab": null, @@ -596,7 +602,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 20 + "__id__": 26 }, "_enabled": true, "__prefab": null, @@ -617,7 +623,7 @@ "_active": true, "_components": [ { - "__id__": 23 + "__id__": 29 } ], "_prefab": null, @@ -654,7 +660,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 22 + "__id__": 28 }, "_enabled": true, "__prefab": null, @@ -675,7 +681,7 @@ "_active": true, "_components": [ { - "__id__": 25 + "__id__": 31 } ], "_prefab": null, @@ -712,7 +718,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 24 + "__id__": 30 }, "_enabled": true, "__prefab": null, @@ -729,14 +735,14 @@ "__id__": 12 }, "_prefab": { - "__id__": 27 + "__id__": 33 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 26 + "__id__": 32 }, "asset": { "__uuid__": "27c97ec7-9bb8-4e4e-a264-ce49f2ae9843", @@ -744,7 +750,7 @@ }, "fileId": "fbcM/H31RNxK0HvQrwpElL", "instance": { - "__id__": 28 + "__id__": 34 } }, { @@ -754,16 +760,16 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 29 + "__id__": 35 }, { - "__id__": 31 + "__id__": 37 }, { - "__id__": 32 + "__id__": 38 }, { - "__id__": 33 + "__id__": 39 } ], "removedComponents": [] @@ -771,7 +777,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 30 + "__id__": 36 }, "propertyPath": [ "_name" @@ -787,7 +793,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 30 + "__id__": 36 }, "propertyPath": [ "_lpos" @@ -802,7 +808,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 30 + "__id__": 36 }, "propertyPath": [ "_lrot" @@ -818,7 +824,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 30 + "__id__": 36 }, "propertyPath": [ "_euler" @@ -838,23 +844,23 @@ "__id__": 12 }, "_children": [ - { - "__id__": 35 - }, - { - "__id__": 37 - }, - { - "__id__": 39 - }, { "__id__": 41 + }, + { + "__id__": 43 + }, + { + "__id__": 45 + }, + { + "__id__": 47 } ], "_active": true, "_components": [ { - "__id__": 43 + "__id__": 49 } ], "_prefab": null, @@ -891,13 +897,13 @@ "_name": "XPSpawner", "_objFlags": 0, "_parent": { - "__id__": 34 + "__id__": 40 }, "_children": [], "_active": true, "_components": [ { - "__id__": 36 + "__id__": 42 } ], "_prefab": null, @@ -934,7 +940,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 35 + "__id__": 41 }, "_enabled": true, "__prefab": null, @@ -949,13 +955,13 @@ "_name": "GoldSpawner", "_objFlags": 0, "_parent": { - "__id__": 34 + "__id__": 40 }, "_children": [], "_active": true, "_components": [ { - "__id__": 38 + "__id__": 44 } ], "_prefab": null, @@ -992,7 +998,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 37 + "__id__": 43 }, "_enabled": true, "__prefab": null, @@ -1007,13 +1013,13 @@ "_name": "HealthPotionSpawner", "_objFlags": 0, "_parent": { - "__id__": 34 + "__id__": 40 }, "_children": [], "_active": true, "_components": [ { - "__id__": 40 + "__id__": 46 } ], "_prefab": null, @@ -1050,7 +1056,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 39 + "__id__": 45 }, "_enabled": true, "__prefab": null, @@ -1065,13 +1071,13 @@ "_name": "PickupEffectManager", "_objFlags": 0, "_parent": { - "__id__": 34 + "__id__": 40 }, "_children": [], "_active": true, "_components": [ { - "__id__": 42 + "__id__": 48 } ], "_prefab": null, @@ -1108,7 +1114,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 41 + "__id__": 47 }, "_enabled": true, "__prefab": null, @@ -1123,21 +1129,21 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 34 + "__id__": 40 }, "_enabled": true, "__prefab": null, "xpSpawner": { - "__id__": 36 + "__id__": 42 }, "goldSpawner": { - "__id__": 38 + "__id__": 44 }, "healthPotionSpawner": { - "__id__": 40 + "__id__": 46 }, "pickupEffectManager": { - "__id__": 42 + "__id__": 48 }, "_id": "98EDpSoeBKp7eDmPXKNFJ0" }, @@ -1150,13 +1156,13 @@ }, "_children": [ { - "__id__": 45 + "__id__": 51 } ], "_active": true, "_components": [ { - "__id__": 47 + "__id__": 53 } ], "_prefab": null, @@ -1193,13 +1199,13 @@ "_name": "EnemySpawner", "_objFlags": 0, "_parent": { - "__id__": 44 + "__id__": 50 }, "_children": [], "_active": true, "_components": [ { - "__id__": 46 + "__id__": 52 } ], "_prefab": null, @@ -1236,7 +1242,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 45 + "__id__": 51 }, "_enabled": true, "__prefab": null, @@ -1273,12 +1279,12 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 44 + "__id__": 50 }, "_enabled": true, "__prefab": null, "enemySpawner": { - "__id__": 46 + "__id__": 52 }, "_id": "1ffjazmm5IkZwKInsSIULY" }, @@ -1291,13 +1297,7 @@ }, "_children": [ { - "__id__": 49 - }, - { - "__id__": 84 - }, - { - "__id__": 87 + "__id__": 55 }, { "__id__": 90 @@ -1307,12 +1307,18 @@ }, { "__id__": 96 + }, + { + "__id__": 99 + }, + { + "__id__": 102 } ], "_active": true, "_components": [ { - "__id__": 99 + "__id__": 105 } ], "_prefab": null, @@ -1349,20 +1355,20 @@ "_name": "GameUI", "_objFlags": 0, "_parent": { - "__id__": 48 + "__id__": 54 }, "_children": [ { - "__id__": 50 + "__id__": 56 }, { - "__id__": 74 + "__id__": 80 } ], "_active": true, "_components": [ { - "__id__": 83 + "__id__": 89 } ], "_prefab": null, @@ -1399,26 +1405,26 @@ "_name": "TopUI", "_objFlags": 0, "_parent": { - "__id__": 49 + "__id__": 55 }, "_children": [ { - "__id__": 51 + "__id__": 57 }, { - "__id__": 60 + "__id__": 66 }, { - "__id__": 63 + "__id__": 69 } ], "_active": true, "_components": [ { - "__id__": 72 + "__id__": 78 }, { - "__id__": 73 + "__id__": 79 } ], "_prefab": null, @@ -1455,23 +1461,23 @@ "_name": "XpBar", "_objFlags": 0, "_parent": { - "__id__": 50 + "__id__": 56 }, "_children": [ { - "__id__": 52 + "__id__": 58 }, { - "__id__": 55 + "__id__": 61 } ], "_active": true, "_components": [ { - "__id__": 58 + "__id__": 64 }, { - "__id__": 59 + "__id__": 65 } ], "_prefab": null, @@ -1508,16 +1514,16 @@ "_name": "Background", "_objFlags": 0, "_parent": { - "__id__": 51 + "__id__": 57 }, "_children": [], "_active": true, "_components": [ { - "__id__": 53 + "__id__": 59 }, { - "__id__": 54 + "__id__": 60 } ], "_prefab": null, @@ -1554,7 +1560,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 52 + "__id__": 58 }, "_enabled": true, "__prefab": null, @@ -1575,7 +1581,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 52 + "__id__": 58 }, "_enabled": true, "__prefab": null, @@ -1613,16 +1619,16 @@ "_name": "MovableBar", "_objFlags": 0, "_parent": { - "__id__": 51 + "__id__": 57 }, "_children": [], "_active": true, "_components": [ { - "__id__": 56 + "__id__": 62 }, { - "__id__": 57 + "__id__": 63 } ], "_prefab": null, @@ -1659,7 +1665,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 55 + "__id__": 61 }, "_enabled": true, "__prefab": null, @@ -1680,7 +1686,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 55 + "__id__": 61 }, "_enabled": true, "__prefab": null, @@ -1718,7 +1724,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 51 + "__id__": 57 }, "_enabled": true, "__prefab": null, @@ -1739,12 +1745,12 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 51 + "__id__": 57 }, "_enabled": true, "__prefab": null, "_barSprite": { - "__id__": 57 + "__id__": 63 }, "_mode": 0, "_totalLength": 600, @@ -1757,16 +1763,16 @@ "_name": "TimeAliveText", "_objFlags": 0, "_parent": { - "__id__": 50 + "__id__": 56 }, "_children": [], "_active": true, "_components": [ { - "__id__": 61 + "__id__": 67 }, { - "__id__": 62 + "__id__": 68 } ], "_prefab": null, @@ -1803,7 +1809,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 60 + "__id__": 66 }, "_enabled": true, "__prefab": null, @@ -1824,7 +1830,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 60 + "__id__": 66 }, "_enabled": true, "__prefab": null, @@ -1865,29 +1871,29 @@ "_name": "PauseBtn", "_objFlags": 0, "_parent": { - "__id__": 50 + "__id__": 56 }, "_children": [ { - "__id__": 64 + "__id__": 70 } ], "_active": true, "_components": [ { - "__id__": 67 + "__id__": 73 }, { - "__id__": 68 + "__id__": 74 }, { - "__id__": 69 + "__id__": 75 }, { - "__id__": 70 + "__id__": 76 }, { - "__id__": 71 + "__id__": 77 } ], "_prefab": null, @@ -1924,16 +1930,16 @@ "_name": "Square", "_objFlags": 0, "_parent": { - "__id__": 63 + "__id__": 69 }, "_children": [], "_active": true, "_components": [ { - "__id__": 65 + "__id__": 71 }, { - "__id__": 66 + "__id__": 72 } ], "_prefab": null, @@ -1970,7 +1976,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 64 + "__id__": 70 }, "_enabled": true, "__prefab": null, @@ -1991,7 +1997,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 64 + "__id__": 70 }, "_enabled": true, "__prefab": null, @@ -2032,7 +2038,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 63 + "__id__": 69 }, "_enabled": true, "__prefab": null, @@ -2053,7 +2059,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 63 + "__id__": 69 }, "_enabled": true, "__prefab": null, @@ -2091,7 +2097,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 63 + "__id__": 69 }, "_enabled": true, "__prefab": null, @@ -2145,7 +2151,7 @@ "_duration": 0.1, "_zoomScale": 1.2, "_target": { - "__id__": 63 + "__id__": 69 }, "_id": "44V8O8mzZKQZv5NNhU9U2X" }, @@ -2154,7 +2160,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 63 + "__id__": 69 }, "_enabled": true, "__prefab": null, @@ -2165,12 +2171,12 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 63 + "__id__": 69 }, "_enabled": true, "__prefab": null, "button": { - "__id__": 70 + "__id__": 76 }, "_id": "19CfluWQpOB4qddmLDK5n9" }, @@ -2179,7 +2185,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 50 + "__id__": 56 }, "_enabled": true, "__prefab": null, @@ -2200,7 +2206,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 50 + "__id__": 56 }, "_enabled": true, "__prefab": null, @@ -2229,17 +2235,17 @@ "_name": "UI", "_objFlags": 0, "_parent": { - "__id__": 49 + "__id__": 55 }, "_children": [ { - "__id__": 75 + "__id__": 81 } ], "_active": true, "_components": [ { - "__id__": 82 + "__id__": 88 } ], "_prefab": null, @@ -2276,23 +2282,23 @@ "_name": "VirtualJoystic", "_objFlags": 0, "_parent": { - "__id__": 74 + "__id__": 80 }, "_children": [ { - "__id__": 76 + "__id__": 82 } ], "_active": true, "_components": [ { - "__id__": 79 + "__id__": 85 }, { - "__id__": 80 + "__id__": 86 }, { - "__id__": 81 + "__id__": 87 } ], "_prefab": null, @@ -2329,16 +2335,16 @@ "_name": "Knob", "_objFlags": 0, "_parent": { - "__id__": 75 + "__id__": 81 }, "_children": [], "_active": true, "_components": [ { - "__id__": 77 + "__id__": 83 }, { - "__id__": 78 + "__id__": 84 } ], "_prefab": null, @@ -2375,7 +2381,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 76 + "__id__": 82 }, "_enabled": true, "__prefab": null, @@ -2396,7 +2402,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 76 + "__id__": 82 }, "_enabled": true, "__prefab": null, @@ -2434,7 +2440,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 75 + "__id__": 81 }, "_enabled": true, "__prefab": null, @@ -2455,7 +2461,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 75 + "__id__": 81 }, "_enabled": true, "__prefab": null, @@ -2493,13 +2499,13 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 75 + "__id__": 81 }, "_enabled": true, "__prefab": null, "maxDistance": 50, "knob": { - "__id__": 76 + "__id__": 82 }, "_id": "50ceZG62tGlYXvZWEvSDKl" }, @@ -2508,7 +2514,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 74 + "__id__": 80 }, "_enabled": true, "__prefab": null, @@ -2529,18 +2535,18 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 49 + "__id__": 55 }, "_enabled": true, "__prefab": null, "xpBar": { - "__id__": 59 + "__id__": 65 }, "timeAliveText": { - "__id__": 62 + "__id__": 68 }, "pauseBtn": { - "__id__": 70 + "__id__": 76 }, "_id": "bau/7eItRFrKKoAZZb/uYL" }, @@ -2549,16 +2555,16 @@ "_name": "ModalWindowManager", "_objFlags": 0, "_parent": { - "__id__": 48 + "__id__": 54 }, "_children": [], "_active": true, "_components": [ { - "__id__": 85 + "__id__": 91 }, { - "__id__": 86 + "__id__": 92 } ], "_prefab": null, @@ -2595,7 +2601,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 84 + "__id__": 90 }, "_enabled": true, "__prefab": null, @@ -2616,7 +2622,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 84 + "__id__": 90 }, "_enabled": true, "__prefab": null, @@ -2641,16 +2647,16 @@ "_name": "Sprite", "_objFlags": 0, "_parent": { - "__id__": 48 + "__id__": 54 }, "_children": [], "_active": true, "_components": [ { - "__id__": 88 + "__id__": 94 }, { - "__id__": 89 + "__id__": 95 } ], "_prefab": null, @@ -2687,7 +2693,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 87 + "__id__": 93 }, "_enabled": true, "__prefab": null, @@ -2708,7 +2714,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 87 + "__id__": 93 }, "_enabled": true, "__prefab": null, @@ -2746,16 +2752,16 @@ "_name": "Sprite-001", "_objFlags": 0, "_parent": { - "__id__": 48 + "__id__": 54 }, "_children": [], "_active": true, "_components": [ { - "__id__": 91 + "__id__": 97 }, { - "__id__": 92 + "__id__": 98 } ], "_prefab": null, @@ -2792,7 +2798,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 90 + "__id__": 96 }, "_enabled": true, "__prefab": null, @@ -2813,7 +2819,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 90 + "__id__": 96 }, "_enabled": true, "__prefab": null, @@ -2851,16 +2857,16 @@ "_name": "Sprite-002", "_objFlags": 0, "_parent": { - "__id__": 48 + "__id__": 54 }, "_children": [], "_active": true, "_components": [ { - "__id__": 94 + "__id__": 100 }, { - "__id__": 95 + "__id__": 101 } ], "_prefab": null, @@ -2897,7 +2903,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 93 + "__id__": 99 }, "_enabled": true, "__prefab": null, @@ -2918,7 +2924,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 93 + "__id__": 99 }, "_enabled": true, "__prefab": null, @@ -2956,16 +2962,16 @@ "_name": "Sprite-003", "_objFlags": 0, "_parent": { - "__id__": 48 + "__id__": 54 }, "_children": [], "_active": true, "_components": [ { - "__id__": 97 + "__id__": 103 }, { - "__id__": 98 + "__id__": 104 } ], "_prefab": null, @@ -3002,7 +3008,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 96 + "__id__": 102 }, "_enabled": true, "__prefab": null, @@ -3023,7 +3029,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 96 + "__id__": 102 }, "_enabled": true, "__prefab": null, @@ -3061,7 +3067,7 @@ "_name": "", "_objFlags": 0, "node": { - "__id__": 48 + "__id__": 54 }, "_enabled": true, "__prefab": null, @@ -3130,7 +3136,7 @@ "_enabled": true, "__prefab": null, "_cameraComponent": { - "__id__": 99 + "__id__": 105 }, "_alignCanvasWithScreen": true, "_id": "12O/ljcVlEqLmVm3U2gEOQ" @@ -3174,50 +3180,150 @@ "_enabled": true, "__prefab": null, "virtualJoystic": { - "__id__": 81 + "__id__": 87 }, "player": null, "haloProjectileLauncherComponent": { - "__id__": 19 - }, - "horizontalProjectileLauncherComponent": { - "__id__": 21 - }, - "diagonalProjectileLauncherComponent": { - "__id__": 23 - }, - "enemyProjectileLauncherComponent": { "__id__": 25 }, + "horizontalProjectileLauncherComponent": { + "__id__": 27 + }, + "diagonalProjectileLauncherComponent": { + "__id__": 29 + }, + "enemyProjectileLauncherComponent": { + "__id__": 31 + }, "enemyManager": { - "__id__": 47 + "__id__": 53 }, "itemManager": { - "__id__": 43 + "__id__": 49 }, "camera": { - "__id__": 99 + "__id__": 105 }, "gameUI": { - "__id__": 83 + "__id__": 89 }, "background": { - "__id__": 17 + "__id__": 23 }, "modalWindowManager": { - "__id__": 86 + "__id__": 92 }, "gameAudioAdapter": { - "__id__": 14 + "__id__": 110 }, "_id": "3a9z1bqlFCGL4/WyDwU4L5" }, + { + "__type__": "eb842QdTMFOUJEdwMiA7AJN", + "_name": "", + "_objFlags": 0, + "node": { + "__id__": 111 + }, + "_enabled": true, + "__prefab": null, + "music": { + "__uuid__": "0faecdcf-e5d6-4cc1-b3cf-3b2873f8ee62", + "__expectedType__": "cc.AudioClip" + }, + "enemyHit": { + "__uuid__": "efed223f-7b17-47ad-b265-7a951ace6d85", + "__expectedType__": "cc.AudioClip" + }, + "playerHit": { + "__uuid__": "99fb12ce-b248-4560-85fd-c1a61689adf2", + "__expectedType__": "cc.AudioClip" + }, + "playerDeath": { + "__uuid__": "68ebed5f-544b-4337-a49c-d4ba32e8e6a2", + "__expectedType__": "cc.AudioClip" + }, + "weaponSwing": { + "__uuid__": "5ad08e27-4461-464a-ad19-8c933abf5a5d", + "__expectedType__": "cc.AudioClip" + }, + "xpPickup": { + "__uuid__": "6af287fc-820f-4e12-8b8f-858a5dd41d2c", + "__expectedType__": "cc.AudioClip" + }, + "goldPickup": { + "__uuid__": "580b2ceb-3daa-409b-b6c4-7d81c7182650", + "__expectedType__": "cc.AudioClip" + }, + "healthPotionPickup": { + "__uuid__": "b1564752-035d-4989-aed0-2c0684d8a0e9", + "__expectedType__": "cc.AudioClip" + }, + "levelUp": { + "__uuid__": "4bf29238-2767-4178-a74a-3c2857685265", + "__expectedType__": "cc.AudioClip" + }, + "horizontalProjectileLaunch": { + "__uuid__": "36c577cb-8a85-40a7-9390-455863dfef8f", + "__expectedType__": "cc.AudioClip" + }, + "diagonalProjectileLaunch": { + "__uuid__": "adeff7ed-6f7e-471b-8790-d0eb14e048f9", + "__expectedType__": "cc.AudioClip" + }, + "haloProjectileLaunch": { + "__uuid__": "a7b634e1-7842-402c-a2a9-4007435c9a4a", + "__expectedType__": "cc.AudioClip" + }, + "_id": "8fIp3RG7RDK6FMarL5A96h" + }, + { + "__type__": "cc.Node", + "_name": "GameAudioAdapter", + "_objFlags": 0, + "_parent": null, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 110 + } + ], + "_prefab": null, + "_lpos": { + "__type__": "cc.Vec3", + "x": -319.99999999999994, + "y": -479.99999999999994, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "62B+OqAzROoon1s4L/Ur4W" + }, { "__type__": "cc.PrefabInfo", "fileId": "cffa5b19-2043-4cef-8221-1a10ab7a2c1f", "targetOverrides": [ { - "__id__": 105 + "__id__": 113 } ], "nestedPrefabInstanceRoots": [ @@ -3225,24 +3331,27 @@ "__id__": 2 }, { - "__id__": 26 + "__id__": 13 + }, + { + "__id__": 32 } ] }, { "__type__": "cc.TargetOverrideInfo", "source": { - "__id__": 103 + "__id__": 109 }, "sourceInfo": null, "propertyPath": [ "player" ], "target": { - "__id__": 26 + "__id__": 32 }, "targetInfo": { - "__id__": 106 + "__id__": 114 } }, { @@ -3254,19 +3363,19 @@ { "__type__": "cc.SceneGlobals", "ambient": { - "__id__": 108 + "__id__": 116 }, "shadows": { - "__id__": 109 + "__id__": 117 }, "_skybox": { - "__id__": 110 + "__id__": 118 }, "fog": { - "__id__": 111 + "__id__": 119 }, "octree": { - "__id__": 112 + "__id__": 120 } }, {