From b21e0834b49a74583d284da496640b8e9b5ab072 Mon Sep 17 00:00:00 2001 From: Sofia Date: Mon, 3 Aug 2026 16:58:53 +0300 Subject: [PATCH] Add some max distances to sound effects --- godot/scenes/misc/ball.tscn | 1 + godot/scenes/misc/health_pickup.tscn | 3 ++- godot/scenes/player/remote_player.tscn | 2 ++ godot/scenes/player/replay_player.tscn | 2 ++ 4 files changed, 7 insertions(+), 1 deletion(-) diff --git a/godot/scenes/misc/ball.tscn b/godot/scenes/misc/ball.tscn index 0390a43..9d45286 100644 --- a/godot/scenes/misc/ball.tscn +++ b/godot/scenes/misc/ball.tscn @@ -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")] diff --git a/godot/scenes/misc/health_pickup.tscn b/godot/scenes/misc/health_pickup.tscn index 28ce829..33b1641 100644 --- a/godot/scenes/misc/health_pickup.tscn +++ b/godot/scenes/misc/health_pickup.tscn @@ -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" diff --git a/godot/scenes/player/remote_player.tscn b/godot/scenes/player/remote_player.tscn index d891a5c..bcb081d 100644 --- a/godot/scenes/player/remote_player.tscn +++ b/godot/scenes/player/remote_player.tscn @@ -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")] diff --git a/godot/scenes/player/replay_player.tscn b/godot/scenes/player/replay_player.tscn index e49faab..e786aa4 100644 --- a/godot/scenes/player/replay_player.tscn +++ b/godot/scenes/player/replay_player.tscn @@ -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")]