shard sound set to own bus and channel (fixes #53) (fixes #54)

This commit is contained in:
pennyrigate 2023-02-26 17:05:11 -05:00
parent 1b7d93195f
commit d802ce13b7
6 changed files with 33 additions and 7 deletions

View file

@ -1,6 +1,7 @@
[gd_scene load_steps=2 format=2]
[gd_scene load_steps=3 format=2]
[ext_resource path="res://autoloads/audio.gd" type="Script" id=1]
[ext_resource path="res://audio/sounds/shard.wav" type="AudioStream" id=2]
[node name="Audio" type="Node"]
script = ExtResource( 1 )
@ -9,10 +10,14 @@ script = ExtResource( 1 )
volume_db = -13.5
bus = "music"
[node name="CollecitbleSound" type="AudioStreamPlayer" parent="."]
[node name="CollectibleSound" type="AudioStreamPlayer" parent="."]
volume_db = -8.0
bus = "sound"
[node name="ShardSound" type="AudioStreamPlayer" parent="."]
stream = ExtResource( 2 )
volume_db = -8.0
[node name="JumpSound" type="AudioStreamPlayer" parent="."]
volume_db = -12.0
bus = "sound"
@ -32,3 +37,5 @@ bus = "sound"
[node name="BossSound" type="AudioStreamPlayer" parent="."]
volume_db = -12.0
bus = "sound"
[connection signal="finished" from="ShardSound" to="." method="_on_ShardSound_finished"]