Add some max distances to sound effects

This commit is contained in:
Sofia 2026-08-03 16:58:53 +03:00
parent 59d1bc415c
commit b21e0834b4
4 changed files with 7 additions and 1 deletions

View File

@ -41,6 +41,7 @@ shape = SubResource("SphereShape3D_1cgct")
[node name="bounce_sfx" type="AudioStreamPlayer3D" parent="." unique_id=929128469]
stream = SubResource("AudioStreamRandomizer_cmcit")
volume_db = 20.0
max_distance = 20.0
bus = &"SFX"
[node name="SkeletonHead" parent="." unique_id=1848024401 instance=ExtResource("3_thun5")]

View File

@ -11,7 +11,7 @@ pickup_area = NodePath("area_3d")
sfx = NodePath("audio_stream_player_3d")
[node name="area_3d" type="Area3D" parent="." unique_id=168425054]
transform = Transform3D(-0.49093452, 0, -0.87119645, 0, 1, 0, 0.87119645, 0, -0.49093452, 0, 1.2822008, 0)
transform = Transform3D(0.62427974, 0, 0.78120077, 0, 1, 0, -0.78120077, 0, 0.62427974, 0, 1.6953002, 0)
collision_layer = 0
collision_mask = 3
@ -22,4 +22,5 @@ shape = SubResource("SphereShape3D_1cgct")
[node name="audio_stream_player_3d" type="AudioStreamPlayer3D" parent="." unique_id=2139430866]
stream = ExtResource("2_ogdjc")
max_distance = 30.0
bus = &"SFX"

View File

@ -137,10 +137,12 @@ tint_progress = Color(0.5660922, 1.7688051e-06, 3.3691526e-07, 1)
[node name="ball_pickup_sfx" type="AudioStreamPlayer3D" parent="." unique_id=1473967809]
stream = ExtResource("3_840kl")
max_distance = 20.0
bus = &"SFX"
[node name="ball_throw_sfx" type="AudioStreamPlayer3D" parent="." unique_id=198255565]
stream = ExtResource("4_qn18y")
max_distance = 20.0
bus = &"SFX"
[node name="arrow" parent="." unique_id=1231591993 instance=ExtResource("5_qn18y")]

View File

@ -134,10 +134,12 @@ tint_progress = Color(0.5660922, 1.7688051e-06, 3.3691526e-07, 1)
[node name="ball_pickup_sfx" type="AudioStreamPlayer3D" parent="." unique_id=330638520]
stream = ExtResource("3_o85ek")
max_distance = 20.0
bus = &"SFX"
[node name="ball_throw_sfx" type="AudioStreamPlayer3D" parent="." unique_id=1825805271]
stream = ExtResource("4_fwayu")
max_distance = 20.0
bus = &"SFX"
[node name="arrow" parent="." unique_id=1231591993 instance=ExtResource("5_fwayu")]