diff --git a/Assets/Audio/Gameplay Jams - DOOM (1).wav b/Assets/Audio/Gameplay Jams - DOOM (1).wav new file mode 100644 index 0000000..8029f94 Binary files /dev/null and b/Assets/Audio/Gameplay Jams - DOOM (1).wav differ diff --git a/Assets/Audio/Gameplay Jams - DOOM (1).wav.meta b/Assets/Audio/Gameplay Jams - DOOM (1).wav.meta new file mode 100644 index 0000000..ac35d41 --- /dev/null +++ b/Assets/Audio/Gameplay Jams - DOOM (1).wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: f7fa597afbf43fb4ea20b9e8fe2132f0 +AudioImporter: + externalObjects: {} + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/Gameplay Jams - Third Option.wav b/Assets/Audio/Gameplay Jams - Third Option.wav new file mode 100644 index 0000000..feb12a2 Binary files /dev/null and b/Assets/Audio/Gameplay Jams - Third Option.wav differ diff --git a/Assets/Audio/Gameplay Jams - Third Option.wav.meta b/Assets/Audio/Gameplay Jams - Third Option.wav.meta new file mode 100644 index 0000000..efb57fd --- /dev/null +++ b/Assets/Audio/Gameplay Jams - Third Option.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: a74cbbb36fb6ee746ab0133de00791e5 +AudioImporter: + externalObjects: {} + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/Gameplay Jams - same instruments as main menu (1).wav b/Assets/Audio/Gameplay Jams - same instruments as main menu (1).wav new file mode 100644 index 0000000..919ede8 Binary files /dev/null and b/Assets/Audio/Gameplay Jams - same instruments as main menu (1).wav differ diff --git a/Assets/Audio/Gameplay Jams - same instruments as main menu (1).wav.meta b/Assets/Audio/Gameplay Jams - same instruments as main menu (1).wav.meta new file mode 100644 index 0000000..83fb354 --- /dev/null +++ b/Assets/Audio/Gameplay Jams - same instruments as main menu (1).wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 55b18f02130329842af7a59ed9f37ee5 +AudioImporter: + externalObjects: {} + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/Temp/Jump Sound.wav b/Assets/Audio/Jump Sound.wav similarity index 100% rename from Assets/Audio/Temp/Jump Sound.wav rename to Assets/Audio/Jump Sound.wav diff --git a/Assets/Audio/Temp/Jump Sound.wav.meta b/Assets/Audio/Jump Sound.wav.meta similarity index 100% rename from Assets/Audio/Temp/Jump Sound.wav.meta rename to Assets/Audio/Jump Sound.wav.meta diff --git a/Assets/Audio/Lofi Chill - Hub World.wav b/Assets/Audio/Lofi Chill - Hub World.wav new file mode 100644 index 0000000..e83f09b Binary files /dev/null and b/Assets/Audio/Lofi Chill - Hub World.wav differ diff --git a/Assets/Audio/Lofi Chill - Hub World.wav.meta b/Assets/Audio/Lofi Chill - Hub World.wav.meta new file mode 100644 index 0000000..7b05d00 --- /dev/null +++ b/Assets/Audio/Lofi Chill - Hub World.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: bfbd1fc4fd960084ca2d72011438833f +AudioImporter: + externalObjects: {} + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/Main Menu Tunes - no tamborine.wav b/Assets/Audio/Main Menu Tunes - no tamborine.wav new file mode 100644 index 0000000..4c12b15 Binary files /dev/null and b/Assets/Audio/Main Menu Tunes - no tamborine.wav differ diff --git a/Assets/Audio/Main Menu Tunes - no tamborine.wav.meta b/Assets/Audio/Main Menu Tunes - no tamborine.wav.meta new file mode 100644 index 0000000..42d9e3e --- /dev/null +++ b/Assets/Audio/Main Menu Tunes - no tamborine.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: e755dab702310af439189d99003076fc +AudioImporter: + externalObjects: {} + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Audio/Teleport Noise.wav b/Assets/Audio/Teleport Noise.wav new file mode 100644 index 0000000..e343380 Binary files /dev/null and b/Assets/Audio/Teleport Noise.wav differ diff --git a/Assets/Audio/Teleport Noise.wav.meta b/Assets/Audio/Teleport Noise.wav.meta new file mode 100644 index 0000000..3d0b4f2 --- /dev/null +++ b/Assets/Audio/Teleport Noise.wav.meta @@ -0,0 +1,22 @@ +fileFormatVersion: 2 +guid: 8164296204dad3745a2e5822b86c44b2 +AudioImporter: + externalObjects: {} + serializedVersion: 6 + defaultSettings: + loadType: 0 + sampleRateSetting: 0 + sampleRateOverride: 44100 + compressionFormat: 1 + quality: 1 + conversionMode: 0 + platformSettingOverrides: {} + forceToMono: 0 + normalize: 1 + preloadAudioData: 1 + loadInBackground: 0 + ambisonic: 0 + 3D: 1 + userData: + assetBundleName: + assetBundleVariant: diff --git a/Assets/Scenes/Floor Level.unity b/Assets/Scenes/Floor Level.unity index 4907c0f..8d9bf1f 100644 --- a/Assets/Scenes/Floor Level.unity +++ b/Assets/Scenes/Floor Level.unity @@ -2077,7 +2077,7 @@ AudioSource: serializedVersion: 4 OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029, type: 2} - m_audioClip: {fileID: 8300000, guid: 39e98e9faa26b564185be9b6d4d30c28, type: 3} + m_audioClip: {fileID: 8300000, guid: 55b18f02130329842af7a59ed9f37ee5, type: 3} m_PlayOnAwake: 1 m_Volume: 1 m_Pitch: 1 @@ -2574,6 +2574,7 @@ MonoBehaviour: pivot: {fileID: 1339349186} playerModel: {fileID: 1573414419} jumpNoise: {fileID: 546058364} + respawnNoise: {fileID: 1853924296} respawnTime: 0 --- !u!143 &1644583841 CharacterController: @@ -2666,6 +2667,7 @@ Transform: m_Children: - {fileID: 1573414423} - {fileID: 546058365} + - {fileID: 1853924297} m_Father: {fileID: 0} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -2824,6 +2826,134 @@ Transform: m_Father: {fileID: 0} m_RootOrder: 0 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} +--- !u!1 &1853924295 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1853924297} + - component: {fileID: 1853924296} + m_Layer: 0 + m_Name: RespawnSound + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!82 &1853924296 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1853924295} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029, + type: 2} + m_audioClip: {fileID: 8300000, guid: 8164296204dad3745a2e5822b86c44b2, type: 3} + m_PlayOnAwake: 0 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 +--- !u!4 &1853924297 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1853924295} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1644583845} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &2032483823 GameObject: m_ObjectHideFlags: 0 diff --git a/Assets/Scenes/Hub World.unity b/Assets/Scenes/Hub World.unity index d598957..a284acf 100644 --- a/Assets/Scenes/Hub World.unity +++ b/Assets/Scenes/Hub World.unity @@ -526,6 +526,134 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 37493289} m_CullTransparentMesh: 0 +--- !u!1 &54133629 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 54133631} + - component: {fileID: 54133630} + m_Layer: 0 + m_Name: RespawnSound + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!82 &54133630 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 54133629} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029, + type: 2} + m_audioClip: {fileID: 8300000, guid: 8164296204dad3745a2e5822b86c44b2, type: 3} + m_PlayOnAwake: 0 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 +--- !u!4 &54133631 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 54133629} + m_LocalRotation: {x: 0, y: 0, z: 0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 741217456} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &123575891 GameObject: m_ObjectHideFlags: 0 @@ -4007,6 +4135,7 @@ Transform: m_Children: - {fileID: 615882419} - {fileID: 519269292} + - {fileID: 54133631} m_Father: {fileID: 0} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} @@ -4034,6 +4163,7 @@ MonoBehaviour: pivot: {fileID: 1402695046} playerModel: {fileID: 615882415} jumpNoise: {fileID: 519269293} + respawnNoise: {fileID: 54133630} respawnTime: 0 --- !u!143 &741217458 CharacterController: @@ -8649,7 +8779,7 @@ AudioSource: serializedVersion: 4 OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029, type: 2} - m_audioClip: {fileID: 8300000, guid: 39e98e9faa26b564185be9b6d4d30c28, type: 3} + m_audioClip: {fileID: 8300000, guid: bfbd1fc4fd960084ca2d72011438833f, type: 3} m_PlayOnAwake: 1 m_Volume: 1 m_Pitch: 1 diff --git a/Assets/Scenes/Infinity Runner.unity b/Assets/Scenes/Infinity Runner.unity index dd899e6..381168c 100644 --- a/Assets/Scenes/Infinity Runner.unity +++ b/Assets/Scenes/Infinity Runner.unity @@ -660,6 +660,134 @@ CanvasRenderer: m_PrefabAsset: {fileID: 0} m_GameObject: {fileID: 484334937} m_CullTransparentMesh: 0 +--- !u!1 &526425756 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 526425758} + - component: {fileID: 526425757} + m_Layer: 0 + m_Name: RespawnSound + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!82 &526425757 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 526425756} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029, + type: 2} + m_audioClip: {fileID: 8300000, guid: 8164296204dad3745a2e5822b86c44b2, type: 3} + m_PlayOnAwake: 0 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 +--- !u!4 &526425758 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 526425756} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1885424384} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &664696628 GameObject: m_ObjectHideFlags: 0 @@ -1669,7 +1797,7 @@ AudioSource: serializedVersion: 4 OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029, type: 2} - m_audioClip: {fileID: 8300000, guid: 7dea4267b47263b4ba9f2b581cc246b2, type: 3} + m_audioClip: {fileID: 8300000, guid: f7fa597afbf43fb4ea20b9e8fe2132f0, type: 3} m_PlayOnAwake: 1 m_Volume: 1 m_Pitch: 1 @@ -2792,6 +2920,7 @@ MonoBehaviour: pivot: {fileID: 306905843} playerModel: {fileID: 1179584401} jumpNoise: {fileID: 2115917840} + respawnNoise: {fileID: 526425757} respawnTime: 0 --- !u!143 &1885424380 CharacterController: @@ -2884,6 +3013,7 @@ Transform: m_Children: - {fileID: 1179584405} - {fileID: 2115917841} + - {fileID: 526425758} m_Father: {fileID: 0} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/Scenes/Main Menu.unity b/Assets/Scenes/Main Menu.unity index 465604b..a9352a9 100644 --- a/Assets/Scenes/Main Menu.unity +++ b/Assets/Scenes/Main Menu.unity @@ -1103,7 +1103,7 @@ AudioSource: serializedVersion: 4 OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029, type: 2} - m_audioClip: {fileID: 8300000, guid: 2fbf7b198c1b74448985006a14763e1d, type: 3} + m_audioClip: {fileID: 8300000, guid: e755dab702310af439189d99003076fc, type: 3} m_PlayOnAwake: 1 m_Volume: 1 m_Pitch: 1 diff --git a/Assets/Scenes/Waypoint Race.unity b/Assets/Scenes/Waypoint Race.unity index 4869682..9441d75 100644 --- a/Assets/Scenes/Waypoint Race.unity +++ b/Assets/Scenes/Waypoint Race.unity @@ -762,7 +762,7 @@ AudioSource: serializedVersion: 4 OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029, type: 2} - m_audioClip: {fileID: 8300000, guid: 39e98e9faa26b564185be9b6d4d30c28, type: 3} + m_audioClip: {fileID: 8300000, guid: a74cbbb36fb6ee746ab0133de00791e5, type: 3} m_PlayOnAwake: 1 m_Volume: 1 m_Pitch: 1 @@ -2176,6 +2176,134 @@ MonoBehaviour: m_Script: {fileID: 11500000, guid: 0ec20ff07b99aab4d93f5e1c41a819dc, type: 3} m_Name: m_EditorClassIdentifier: +--- !u!1 &1436563778 +GameObject: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + serializedVersion: 6 + m_Component: + - component: {fileID: 1436563780} + - component: {fileID: 1436563779} + m_Layer: 0 + m_Name: RespawnSound + m_TagString: Untagged + m_Icon: {fileID: 0} + m_NavMeshLayer: 0 + m_StaticEditorFlags: 0 + m_IsActive: 1 +--- !u!82 &1436563779 +AudioSource: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1436563778} + m_Enabled: 1 + serializedVersion: 4 + OutputAudioMixerGroup: {fileID: 24300002, guid: c562f0bc9014ba4489c7824cbca29029, + type: 2} + m_audioClip: {fileID: 8300000, guid: 8164296204dad3745a2e5822b86c44b2, type: 3} + m_PlayOnAwake: 0 + m_Volume: 1 + m_Pitch: 1 + Loop: 0 + Mute: 0 + Spatialize: 0 + SpatializePostEffects: 0 + Priority: 128 + DopplerLevel: 1 + MinDistance: 1 + MaxDistance: 500 + Pan2D: 0 + rolloffMode: 0 + BypassEffects: 0 + BypassListenerEffects: 0 + BypassReverbZones: 0 + rolloffCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + - serializedVersion: 3 + time: 1 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + panLevelCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + spreadCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 0 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 + reverbZoneMixCustomCurve: + serializedVersion: 2 + m_Curve: + - serializedVersion: 3 + time: 0 + value: 1 + inSlope: 0 + outSlope: 0 + tangentMode: 0 + weightedMode: 0 + inWeight: 0.33333334 + outWeight: 0.33333334 + m_PreInfinity: 2 + m_PostInfinity: 2 + m_RotationOrder: 4 +--- !u!4 &1436563780 +Transform: + m_ObjectHideFlags: 0 + m_CorrespondingSourceObject: {fileID: 0} + m_PrefabInstance: {fileID: 0} + m_PrefabAsset: {fileID: 0} + m_GameObject: {fileID: 1436563778} + m_LocalRotation: {x: -0, y: -0, z: -0, w: 1} + m_LocalPosition: {x: 0, y: 0, z: 0} + m_LocalScale: {x: 1, y: 1, z: 1} + m_Children: [] + m_Father: {fileID: 1759649041} + m_RootOrder: 2 + m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} --- !u!1 &1486058019 GameObject: m_ObjectHideFlags: 0 @@ -2541,6 +2669,7 @@ MonoBehaviour: pivot: {fileID: 677662898} playerModel: {fileID: 392444983} jumpNoise: {fileID: 1860511536} + respawnNoise: {fileID: 1436563779} respawnTime: 0 --- !u!143 &1759649037 CharacterController: @@ -2633,6 +2762,7 @@ Transform: m_Children: - {fileID: 392444987} - {fileID: 1860511537} + - {fileID: 1436563780} m_Father: {fileID: 0} m_RootOrder: 3 m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0} diff --git a/Assets/Scripts/PlayerController.cs b/Assets/Scripts/PlayerController.cs index 244c02d..62c94fe 100644 --- a/Assets/Scripts/PlayerController.cs +++ b/Assets/Scripts/PlayerController.cs @@ -26,6 +26,7 @@ public class PlayerController : MonoBehaviour public Transform pivot; public GameObject playerModel; public AudioSource jumpNoise; + public AudioSource respawnNoise; private bool wallRunning = false; private bool diving = false; @@ -86,6 +87,7 @@ public class PlayerController : MonoBehaviour finished = true; respawnTime = Time.time; + respawnNoise.Play(); } if(hit.gameObject.tag == "Waypoint") @@ -93,6 +95,7 @@ public class PlayerController : MonoBehaviour finished = true; respawnTime = Time.time; + respawnNoise.Play(); } @@ -100,18 +103,21 @@ public class PlayerController : MonoBehaviour { SceneManager.LoadScene("Floor Level", LoadSceneMode.Single); respawnTime = Time.time; + respawnNoise.Play(); } if(hit.gameObject.tag == "Waypoint Portal") { SceneManager.LoadScene("Waypoint Race", LoadSceneMode.Single); respawnTime = Time.time; + respawnNoise.Play(); } if(hit.gameObject.tag == "Infinite Portal") { SceneManager.LoadScene("Infinity Runner", LoadSceneMode.Single); respawnTime = Time.time; + respawnNoise.Play(); } } @@ -131,6 +137,7 @@ public class PlayerController : MonoBehaviour respawn = true; respawnTime = Time.time; shownLives--; + respawnNoise.Play(); if (SceneManager.GetActiveScene().name == "Hub World") {