mirror of
https://github.com/JohnBreaux/Boat-Battle.git
synced 2025-02-04 12:28:35 +00:00
Added signal for audio SFX
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
[gd_scene load_steps=4 format=2]
|
||||
[gd_scene load_steps=7 format=2]
|
||||
|
||||
[ext_resource path="res://assets/audio/BGM - Captain Scurvy.ogg" type="AudioStream" id=1]
|
||||
[ext_resource path="res://script/audio controller/AudioController.gd" type="Script" id=2]
|
||||
[ext_resource path="res://assets/audio/ButtonSFX.ogg" type="AudioStream" id=3]
|
||||
[ext_resource path="res://assets/audio/HitSFX.ogg" type="AudioStream" id=4]
|
||||
[ext_resource path="res://assets/audio/MissSFX.ogg" type="AudioStream" id=5]
|
||||
[ext_resource path="res://assets/audio/SunkSFX.ogg" type="AudioStream" id=6]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
anchor_right = 1.0
|
||||
@@ -20,3 +23,15 @@ bus = "BGM"
|
||||
[node name="buttonSFX" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 3 )
|
||||
bus = "SFX"
|
||||
|
||||
[node name="shipHitSFX" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 4 )
|
||||
bus = "SFX"
|
||||
|
||||
[node name="shipMissedSFX" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 5 )
|
||||
bus = "SFX"
|
||||
|
||||
[node name="shipSunkSFX" type="AudioStreamPlayer" parent="."]
|
||||
stream = ExtResource( 6 )
|
||||
bus = "SFX"
|
||||
|
||||
Reference in New Issue
Block a user