From 893a504041e3fa960827e45fc8e27a1f13253db2 Mon Sep 17 00:00:00 2001 From: unfa Date: Sat, 25 Sep 2021 17:28:32 +0200 Subject: [PATCH] Fixed Gibs sound --- Game/Assets/Effects/Gibs.tscn | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Game/Assets/Effects/Gibs.tscn b/Game/Assets/Effects/Gibs.tscn index ce67b71..851dd84 100644 --- a/Game/Assets/Effects/Gibs.tscn +++ b/Game/Assets/Effects/Gibs.tscn @@ -1,7 +1,8 @@ -[gd_scene load_steps=6 format=3 uid="uid://egphnvwk6cg"] +[gd_scene load_steps=7 format=3 uid="uid://egphnvwk6cg"] [ext_resource type="Script" path="res://Assets/Effects/Gibs.gd" id="1_o0guu"] [ext_resource type="PackedScene" uid="uid://c5cwnfuw4go1b" path="res://Assets/Audio/SoundPlayer.tscn" id="2_3tb4k"] +[ext_resource type="AudioStream" uid="uid://xv1jp0gql8tc" path="res://Assets/SFX/Player_Death_01.wav" id="3_hmhtq"] [sub_resource type="StandardMaterial3D" id="StandardMaterial3D_3sp1q"] albedo_color = Color(0.509804, 0.0235294, 0, 1) @@ -43,4 +44,9 @@ script = null SoundClip = "res://Assets/SFX/Player_Death_01.wav" AutoPlay = true +[node name="AudioStreamPlayer3D" parent="SoundPlayer" index="0"] +stream = ExtResource( "3_hmhtq" ) + [connection signal="timeout" from="Timer" to="." method="_on_Timer_timeout"] + +[editable path="SoundPlayer"]