Add audio bus configuration for various sound effects and update main scene reference

This commit is contained in:
2025-05-25 12:57:16 +02:00
parent dd921e3396
commit 5b793736f4
21 changed files with 274 additions and 2 deletions

View File

@@ -113,9 +113,11 @@ metadata/_custom_type_script = "uid://btfsq0bvtrx3t"
[node name="sfx_hurt" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("3_fd2du")
bus = &"sfx"
[node name="sfx_shoot" type="AudioStreamPlayer2D" parent="."]
stream = ExtResource("4_rhq76")
bus = &"sfx"
[node name="DamageComponent" type="Node" parent="." node_paths=PackedStringArray("area2d")]
script = ExtResource("5_cmp1h")