diff --git a/Assets/Audio/end.wav b/Assets/Audio/end.wav new file mode 100644 index 0000000..c7caf69 Binary files /dev/null and b/Assets/Audio/end.wav differ diff --git a/Assets/Audio/end.wav.import b/Assets/Audio/end.wav.import new file mode 100644 index 0000000..605babd --- /dev/null +++ b/Assets/Audio/end.wav.import @@ -0,0 +1,24 @@ +[remap] + +importer="wav" +type="AudioStreamWAV" +uid="uid://bi0v8rsaauvux" +path="res://.godot/imported/end.wav-05dab8f02d096a5183ba688cc8bb3cdb.sample" + +[deps] + +source_file="res://Assets/Audio/end.wav" +dest_files=["res://.godot/imported/end.wav-05dab8f02d096a5183ba688cc8bb3cdb.sample"] + +[params] + +force/8_bit=false +force/mono=false +force/max_rate=false +force/max_rate_hz=44100 +edit/trim=false +edit/normalize=false +edit/loop_mode=0 +edit/loop_begin=0 +edit/loop_end=-1 +compress/mode=0 diff --git a/Scenes/ending.tscn b/Scenes/ending.tscn index 5955e50..085065d 100644 --- a/Scenes/ending.tscn +++ b/Scenes/ending.tscn @@ -1,7 +1,8 @@ -[gd_scene load_steps=3 format=3 uid="uid://drfn4qb06jfla"] +[gd_scene load_steps=4 format=3 uid="uid://drfn4qb06jfla"] [ext_resource type="Script" path="res://Scripts/ending.gd" id="1_1hyxj"] [ext_resource type="PackedScene" uid="uid://b5lnjonlf4i1b" path="res://Scenes/enemy.tscn" id="1_38e81"] +[ext_resource type="AudioStream" uid="uid://bi0v8rsaauvux" path="res://Assets/Audio/end.wav" id="3_q0fqf"] [node name="Ending" type="Control"] layout_mode = 3 @@ -78,4 +79,9 @@ offset_top = 226.0 offset_right = 199.0 offset_bottom = 249.0 +[node name="AudioStreamPlayer" type="AudioStreamPlayer" parent="."] +stream = ExtResource("3_q0fqf") +pitch_scale = 0.4 +autoplay = true + [connection signal="pressed" from="Quit" to="." method="_on_quit_pressed"]