From cbce3a6a7c2ad4de57bd4feb36e306e603039960 Mon Sep 17 00:00:00 2001 From: Jens Pitkanen Date: Sat, 8 Aug 2020 09:50:55 +0300 Subject: [PATCH] Add hit sounds --- Assets/Audio/MainMixer.mixer | 35 ++++++ Assets/Audio/Sfx/ZapSplat.meta | 8 ++ Assets/Audio/Sfx/ZapSplat/Hit.mp3 | Bin 0 -> 17237 bytes Assets/Audio/Sfx/ZapSplat/Hit.mp3.meta | 22 ++++ Assets/GameObjects/Prefabs/Player.prefab | 146 +++++++++++++++++++++-- Assets/Scripts/Players/Player.cs | 9 +- CREDITS.md | 1 + 7 files changed, 210 insertions(+), 11 deletions(-) create mode 100644 Assets/Audio/Sfx/ZapSplat.meta create mode 100644 Assets/Audio/Sfx/ZapSplat/Hit.mp3 create mode 100644 Assets/Audio/Sfx/ZapSplat/Hit.mp3.meta diff --git a/Assets/Audio/MainMixer.mixer b/Assets/Audio/MainMixer.mixer index 7221928..546b8a3 100644 --- a/Assets/Audio/MainMixer.mixer +++ b/Assets/Audio/MainMixer.mixer @@ -1,5 +1,19 @@ %YAML 1.1 %TAG !u! tag:unity3d.com,2011: +--- !u!244 &-3601797963847308308 +AudioMixerEffectController: + m_ObjectHideFlags: 3 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: + m_EffectID: 7032a42d6a82a1847b2390082d6e806e + m_EffectName: Attenuation + m_MixLevel: 7dbfe66d31191674496b12611bd9cf3a + m_Parameters: [] + m_SendTarget: {fileID: 0} + m_EnableWetMix: 0 + m_Bypass: 0 --- !u!243 &-1410552352759146441 AudioMixerGroupController: m_ObjectHideFlags: 0 @@ -40,6 +54,7 @@ AudioMixerController: - 3c6873f980b9fa3409038f22239e8ba7 - a1145e9de5e1d9d4980fbfb98ac09640 - c95b70575255b7444a07837f795dda0c + - 3a0a85f42d9d34f45a8e1b38e73db35a name: View m_CurrentViewIndex: 0 m_TargetSnapshot: {fileID: 24500006} @@ -103,6 +118,25 @@ AudioMixerEffectController: m_SendTarget: {fileID: 0} m_EnableWetMix: 0 m_Bypass: 0 +--- !u!243 &6277318630853483794 +AudioMixerGroupController: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_Name: Hits + m_AudioMixer: {fileID: 24100000} + m_GroupID: 3a0a85f42d9d34f45a8e1b38e73db35a + m_Children: [] + m_Volume: 7418b82d7af9f19489c2a2ab41fbd325 + m_Pitch: e655b4382fdf35945a6282ac03cd8f66 + m_Send: 00000000000000000000000000000000 + m_Effects: + - {fileID: -3601797963847308308} + m_UserColorIndex: 0 + m_Mute: 0 + m_Solo: 0 + m_BypassEffects: 0 --- !u!244 &7015759513254906842 AudioMixerEffectController: m_ObjectHideFlags: 3 @@ -128,6 +162,7 @@ AudioMixerGroupController: m_GroupID: a1145e9de5e1d9d4980fbfb98ac09640 m_Children: - {fileID: -1410552352759146441} + - {fileID: 6277318630853483794} m_Volume: 1a91e250aa8fec749b1861a5c8e7ff48 m_Pitch: c21e265de00bfe64eba2868212c34fa2 m_Send: 00000000000000000000000000000000 diff --git a/Assets/Audio/Sfx/ZapSplat.meta b/Assets/Audio/Sfx/ZapSplat.meta new file mode 100644 index 0000000..f87c34a --- /dev/null +++ b/Assets/Audio/Sfx/ZapSplat.meta @@ -0,0 +1,8 @@ +fileFormatVersion: 2 +guid: 92f50ea223ae4584d94d857571656599 +folderAsset: yes +DefaultImporter: + externalObjects: {} + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/Sfx/ZapSplat/Hit.mp3 b/Assets/Audio/Sfx/ZapSplat/Hit.mp3 new file mode 100644 index 0000000000000000000000000000000000000000..c319d584e80ce803b84c49e3c56497e9bb960c27 GIT binary patch literal 17237 zcmdVCbx>SEus3>eSOP5W?(PyKxVuYmcMBFsg1auR!8N!`a1HLk9fE{l0RjZ}ZSJdk z->p~gyY=e(@B3BloY|do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BRzXqCo&24$dBY87D?X z1v{sq4~T-<=Fns4%{r)1db)}2YfL(T&+|SCB*e2I@}DOwaPa8The pitch of the player's head. @@ -191,7 +193,7 @@ namespace NeonTea.Quakeball.Players { Laser.From = GunPoint; Laser.To = GunPoint + ShotDelta; - AudioSource.PlayOneShot(RaygunAudio); + GunShotAudioSource.PlayOneShot(RaygunClip); } public void Hit(ulong sourceUid) { @@ -204,6 +206,7 @@ namespace NeonTea.Quakeball.Players { } Debug.Log("I was hit! Aaagh!"); Splatter.Play(); + HitAudioSource.PlayOneShot(HitClip); } public bool IsGrounded() { diff --git a/CREDITS.md b/CREDITS.md index 2871ec6..6b32ab5 100644 --- a/CREDITS.md +++ b/CREDITS.md @@ -1 +1,2 @@ - [Crosshair](Assets/Graphics/Sprites/Crosshair.png) by MarkieAnn Packer from the Noun Project +- [Sound effects](Assets/Audio/Sfx/ZapSplat) from [zapsplat.com](https://www.zapsplat.com/)