feat: added explosion sound

main
Sara 2024-12-08 22:00:27 +01:00
parent 3809c6a79a
commit ede58ed9dc
6 changed files with 55 additions and 3 deletions

BIN
audio/Bluezone_BC0277_explosion_urban_004_02.wav (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -1 +1,2 @@
lee enfield firing: https://www.youtube.com/watch?v=KOjyLQtA1Qs (tenacious trilobyte)
explosion: https://sonniss.com/gameaudiogdc (soniss/Bluezone)

View File

@ -1,4 +1,17 @@
[gd_resource type="AudioBusLayout" format=3 uid="uid://yfmbnw4wkymd"]
[gd_resource type="AudioBusLayout" load_steps=2 format=3 uid="uid://yfmbnw4wkymd"]
[sub_resource type="AudioEffectLowPassFilter" id="AudioEffectLowPassFilter_i7nkl"]
resource_name = "LowPassFilter"
cutoff_hz = 1810.0
resonance = 0.19
[resource]
bus/0/volume_db = 6.02
bus/0/volume_db = 0.0672607
bus/1/name = &"Artillery"
bus/1/solo = false
bus/1/mute = false
bus/1/bypass_fx = false
bus/1/volume_db = 4.63125
bus/1/send = &"Master"
bus/1/effect/0/effect = SubResource("AudioEffectLowPassFilter_i7nkl")
bus/1/effect/0/enabled = true

View File

@ -1,6 +1,7 @@
[gd_scene load_steps=9 format=3 uid="uid://be2yogspyg40p"]
[gd_scene load_steps=10 format=3 uid="uid://be2yogspyg40p"]
[ext_resource type="Material" uid="uid://cnpi4nqbif0st" path="res://particles/materials/dirt_splatters.tres" id="1_70hen"]
[ext_resource type="AudioStream" uid="uid://bd3xk6geemrif" path="res://sounds/Bluezone_BC0277_explosion_urban_004_02.wav" id="2_h53mh"]
[sub_resource type="Curve" id="Curve_f77sp"]
_data = [Vector2(0, 1), 0.0, 0.0, 0, 0, Vector2(1, 0), -3.4158, 0.0, 0, 0]
@ -69,4 +70,11 @@ wait_time = 4.0
one_shot = true
autostart = true
[node name="AudioStreamPlayer3D" type="AudioStreamPlayer3D" parent="."]
stream = ExtResource("2_h53mh")
unit_size = 50.0
autoplay = true
max_distance = 100.0
bus = &"Artillery"
[connection signal="timeout" from="Timer" to="." method="queue_free"]

BIN
godot/sounds/Bluezone_BC0277_explosion_urban_004_02.wav (Stored with Git LFS) Normal file

Binary file not shown.

View File

@ -0,0 +1,24 @@
[remap]
importer="wav"
type="AudioStreamWAV"
uid="uid://bd3xk6geemrif"
path="res://.godot/imported/Bluezone_BC0277_explosion_urban_004_02.wav-fcb28a41b8277cc06cc00cbf75f26893.sample"
[deps]
source_file="res://sounds/Bluezone_BC0277_explosion_urban_004_02.wav"
dest_files=["res://.godot/imported/Bluezone_BC0277_explosion_urban_004_02.wav-fcb28a41b8277cc06cc00cbf75f26893.sample"]
[params]
force/8_bit=false
force/mono=false
force/max_rate=false
force/max_rate_hz=44100
edit/trim=false
edit/normalize=false
edit/loop_mode=0
edit/loop_begin=0
edit/loop_end=-1
compress/mode=0