diff --git a/Assets/Audio/wateryzap1.wav b/Assets/Audio/wateryzap1.wav new file mode 100644 index 0000000..a96ac0a Binary files /dev/null and b/Assets/Audio/wateryzap1.wav differ diff --git a/Assets/Audio/wateryzap2.wav b/Assets/Audio/wateryzap2.wav new file mode 100644 index 0000000..42214f8 Binary files /dev/null and b/Assets/Audio/wateryzap2.wav differ diff --git a/Assets/Audio/wateryzap2a.wav b/Assets/Audio/wateryzap2a.wav new file mode 100644 index 0000000..76e2dbc Binary files /dev/null and b/Assets/Audio/wateryzap2a.wav differ diff --git a/Assets/Audio/wateryzap2b.wav b/Assets/Audio/wateryzap2b.wav new file mode 100644 index 0000000..885f1ab Binary files /dev/null and b/Assets/Audio/wateryzap2b.wav differ diff --git a/Assets/Audio/zap.wav b/Assets/Audio/zap.wav new file mode 100644 index 0000000..954d8db Binary files /dev/null and b/Assets/Audio/zap.wav differ diff --git a/Assets/Audio/zap_fast.wav b/Assets/Audio/zap_fast.wav new file mode 100644 index 0000000..db2a026 Binary files /dev/null and b/Assets/Audio/zap_fast.wav differ diff --git a/Source/Game/AudioManager.cs b/Source/Game/AudioManager.cs index b50efc4..784395a 100644 --- a/Source/Game/AudioManager.cs +++ b/Source/Game/AudioManager.cs @@ -121,9 +121,12 @@ namespace Game audioSource.Position = position; audioSource.Parent = actor.Parent; audioSource.Pitch = pitch; - audioSource.Name = audioClip.Path; + audioSource.Name = Path.GetFileNameWithoutExtension(audioClip.Path); audioSource.Volume = volume; + if (volume != 1f) + audioSource.Name += ", vol: " + volume.ToString(); + audioSource.Play(); Object.Destroy(audioSource, audioClip.Length); diff --git a/Source/Game/PlayerMovement.cs b/Source/Game/PlayerMovement.cs index e8fe0e5..e9f92ed 100644 --- a/Source/Game/PlayerMovement.cs +++ b/Source/Game/PlayerMovement.cs @@ -969,7 +969,7 @@ namespace Game private void OnLanded(Vector3 landingVelocity, bool hardLanding) { if (!predicting) - AudioManager.PlaySound("jumpland", Actor, 1, rootActor.Position, hardLanding ? 1.0f : 0.6f/*, new Vector2(0.7f, 1.3f)*/); + AudioManager.PlaySound("jumpland", Actor, 1, rootActor.Position, hardLanding ? 1.0f : 1.0f/*, new Vector2(0.7f, 1.3f)*/); } private static void ApplyFriction(ref Vector3 velocity) diff --git a/asset_sources.txt b/asset_sources.txt index 685b5d8..51ec8a7 100644 --- a/asset_sources.txt +++ b/asset_sources.txt @@ -8,7 +8,13 @@ hitsounds: (EminYILDIRIM) - +wateryzap: (Sound-Ideas) [NOT PAID YET] (zap.wav) + Electronic Magical Zap https://audiojungle.net/item/electronic-magical-zap/13454883?s_rank=37 + Water Magic Impact https://freesound.org/people/EminYILDIRIM/sounds/578604/ + Ice Frost Spell Skill https://freesound.org/people/EminYILDIRIM/sounds/550266/ + water + ice + zap sped up + + magic sfx by EminYILDIRIM: https://freesound.org/people/EminYILDIRIM/sounds/626120/ @@ -31,7 +37,7 @@ UNUSED: Mage Teleport Skill https://freesound.org/people/EminYILDIRIM/sounds/554791/ Footstep Snow Single https://freesound.org/people/EminYILDIRIM/sounds/554710/ Magic Ice Impact Skill Spell https://freesound.org/people/EminYILDIRIM/sounds/550267/ - Ice Frost Spell Skill https://freesound.org/people/EminYILDIRIM/sounds/550266/ + Frozen Ice Spell Skill https://freesound.org/people/EminYILDIRIM/sounds/550264/ Earth & Ice Impact Spell Skill https://freesound.org/people/EminYILDIRIM/sounds/550262/ Fire Magic Whoosh https://freesound.org/people/EminYILDIRIM/sounds/546824/