diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-11-06 22:35:04 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-11-06 22:35:04 +0100 |
commit | 63d2a59042fb9d90a586ad85d8364de7c38aea8e (patch) | |
tree | f4c648b39313f10f44898d0216a9147dfb4ba491 /Towers/Tower.tscn | |
parent | f20b3a48a14f34def41d823fabb476981ef7055e (diff) |
next commit
Diffstat (limited to 'Towers/Tower.tscn')
-rw-r--r-- | Towers/Tower.tscn | 24 |
1 files changed, 1 insertions, 23 deletions
diff --git a/Towers/Tower.tscn b/Towers/Tower.tscn index 0bd4579..839917c 100644 --- a/Towers/Tower.tscn +++ b/Towers/Tower.tscn @@ -1,10 +1,9 @@ -[gd_scene load_steps=16 format=3 uid="uid://by1x56w21o165"] +[gd_scene load_steps=14 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") @@ -59,8 +58,6 @@ animations = [{ [sub_resource type="RectangleShape2D" id="RectangleShape2D_atm5x"] size = Vector2(31, 31) -[sub_resource type="CircleShape2D" id="CircleShape2D_qa8kt"] - [sub_resource type="RectangleShape2D" id="RectangleShape2D_312i7"] size = Vector2(32, 32) @@ -91,19 +88,6 @@ centered = false position = Vector2(16, 16) shape = SubResource("RectangleShape2D_atm5x") -[node name="Range" type="Area2D" parent="."] -unique_name_in_owner = true -visible = false -collision_layer = 0 - -[node name="CollisionShape2D" type="CollisionShape2D" parent="Range"] -position = Vector2(16, 16) -shape = SubResource("CircleShape2D_qa8kt") - -[node name="ShootCooldown" type="Timer" parent="."] -unique_name_in_owner = true -one_shot = true - [node name="SelectableArea" parent="." instance=ExtResource("3_57d5u")] [node name="CollisionShape2D" type="CollisionShape2D" parent="SelectableArea"] @@ -125,14 +109,8 @@ position = Vector2(16, 29) [node name="CenterAnchor" type="Marker2D" parent="."] position = Vector2(16, 16) -[node name="SoundShoot" type="AudioStreamPlayer2D" parent="."] -visible = false -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"] -[connection signal="body_exited" from="Range" to="." method="_on_range_body_exited"] [connection signal="hover_enter" from="SelectableArea" to="." method="_on_selectable_area_hover_enter"] [connection signal="hover_exit" from="SelectableArea" to="." method="_on_selectable_area_hover_exit"] [connection signal="select_primary" from="SelectableArea" to="." method="_on_selectable_area_select_primary"] |