police siren and engine sfx
This commit is contained in:
parent
7d4a6938dc
commit
d93aa1e31a
17 changed files with 165 additions and 4 deletions
|
|
@ -1,6 +1,7 @@
|
|||
[gd_scene format=3 uid="uid://oyqyvj5xo5mf"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://c6xr2j0g1ep7j" path="res://enemies/enemy.gd" id="1_j7qyq"]
|
||||
[ext_resource type="AudioStream" uid="uid://q8b6o255ofgb" path="res://sfx/police-siren_90bpm_A#_major.wav" id="2_bfj6p"]
|
||||
|
||||
[sub_resource type="Curve" id="Curve_spw8y"]
|
||||
_limits = [1.0, 20.0, -1.0, 1.0]
|
||||
|
|
@ -20,4 +21,11 @@ unique_name_in_owner = true
|
|||
collision_layer = 0
|
||||
collision_mask = 2
|
||||
|
||||
[node name="Siren" type="AudioStreamPlayer3D" parent="." unique_id=2085366724]
|
||||
unique_name_in_owner = true
|
||||
stream = ExtResource("2_bfj6p")
|
||||
autoplay = true
|
||||
max_distance = 50.0
|
||||
bus = &"Police Siren"
|
||||
|
||||
[connection signal="body_entered" from="Hurtbox" to="." method="_on_hurtbox_body_entered"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue