2024-02-16 12:35:30 +00:00
|
|
|
[gd_scene load_steps=5 format=3 uid="uid://cxlgt8h33u7os"]
|
2024-02-16 10:10:00 +00:00
|
|
|
|
2024-02-16 12:35:30 +00:00
|
|
|
[ext_resource type="Script" path="res://scripts/tower.gd" id="1_d5o8q"]
|
2024-02-16 15:35:39 +00:00
|
|
|
[ext_resource type="Texture2D" uid="uid://jxub8lma4oud" path="res://assets/images/tower.svg" id="2_ynj1l"]
|
2024-02-16 12:35:30 +00:00
|
|
|
[ext_resource type="Script" path="res://scripts/tower_health_display.gd" id="3_ijb8h"]
|
2024-02-16 10:10:00 +00:00
|
|
|
|
|
|
|
[sub_resource type="CircleShape2D" id="CircleShape2D_7mogk"]
|
|
|
|
radius = 129.139
|
|
|
|
|
2024-02-16 12:35:30 +00:00
|
|
|
[node name="Tower" type="Area2D" node_paths=PackedStringArray("sprite")]
|
|
|
|
collision_mask = 3
|
|
|
|
script = ExtResource("1_d5o8q")
|
|
|
|
sprite = NodePath("TowerSprite")
|
2024-02-16 10:10:00 +00:00
|
|
|
|
|
|
|
[node name="TowerSprite" type="Sprite2D" parent="."]
|
|
|
|
scale = Vector2(0.25, 0.25)
|
|
|
|
texture = ExtResource("2_ynj1l")
|
2024-02-16 12:35:30 +00:00
|
|
|
script = ExtResource("3_ijb8h")
|
2024-02-16 10:10:00 +00:00
|
|
|
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
|
|
|
shape = SubResource("CircleShape2D_7mogk")
|
2024-02-16 12:35:30 +00:00
|
|
|
|
|
|
|
[connection signal="body_entered" from="." to="." method="_on_someone_entered"]
|