From c8f674ac6fa0914d9e448d2929f2385cdad80d60 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Tue, 5 Nov 2024 11:34:49 +0100 Subject: next commit --- Towers/Tower.tscn | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'Towers/Tower.tscn') diff --git a/Towers/Tower.tscn b/Towers/Tower.tscn index 13bbe72..25388f6 100644 --- a/Towers/Tower.tscn +++ b/Towers/Tower.tscn @@ -1,9 +1,10 @@ -[gd_scene load_steps=15 format=3 uid="uid://by1x56w21o165"] +[gd_scene load_steps=16 format=3 uid="uid://by1x56w21o165"] [ext_resource type="Script" path="res://Towers/Tower.gd" id="1_axo1d"] [ext_resource type="Texture2D" uid="uid://b1b18rd0tqbar" path="res://core_outdoor.png" id="1_mrep8"] [ext_resource type="PackedScene" uid="uid://cqktpc8c7ecn3" path="res://Game/Selection/SelectableArea.tscn" id="3_57d5u"] [ext_resource type="Texture2D" uid="uid://dujcs2ls3u6tj" path="res://Towers/Assets/spritesheet.png" id="3_brkps"] +[ext_resource type="AudioStream" uid="uid://cpkwvp5llf7x6" path="res://Towers/Assets/shoot.ogg" id="5_i05ow"] [sub_resource type="AtlasTexture" id="AtlasTexture_1ubf7"] atlas = ExtResource("3_brkps") @@ -114,6 +115,9 @@ position = Vector2(0, 32) [node name="GroundAnchor" type="Marker2D" parent="."] position = Vector2(16, 29) +[node name="SoundShoot" type="AudioStreamPlayer2D" parent="."] +stream = ExtResource("5_i05ow") + [connection signal="input_event" from="." to="." method="_on_input_event"] [connection signal="tree_exiting" from="." to="." method="_on_tree_exiting"] [connection signal="body_entered" from="Range" to="." method="_on_range_body_entered"] -- cgit v1.2.3