29 lines
1.1 KiB
Plaintext
29 lines
1.1 KiB
Plaintext
[gd_scene format=3 uid="uid://d06n7p75u130s"]
|
|
|
|
[ext_resource type="Script" uid="uid://b2gj1526x4ix1" path="res://Tower.cs" id="1_k1sas"]
|
|
[ext_resource type="Texture2D" uid="uid://32m5teus1cjj" path="res://Art/tower.png" id="1_vedim"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_vedim"]
|
|
size = Vector2(50, 100)
|
|
|
|
[node name="Tower" type="Sprite2D" unique_id=1315831332]
|
|
self_modulate = Color(0, 0, 0, 1)
|
|
texture = ExtResource("1_vedim")
|
|
script = ExtResource("1_k1sas")
|
|
|
|
[node name="HoverBounds" type="Area2D" parent="." unique_id=620986087]
|
|
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="HoverBounds" unique_id=1639875880]
|
|
position = Vector2(0, 0.5)
|
|
shape = SubResource("RectangleShape2D_vedim")
|
|
debug_color = Color(0.6411928, 0.52469516, 0, 0.41960785)
|
|
|
|
[node name="Offset" type="Marker2D" parent="." unique_id=2053853274]
|
|
position = Vector2(25, -50)
|
|
|
|
[node name="BallSpawn" type="Marker2D" parent="." unique_id=715904909]
|
|
position = Vector2(0, -24)
|
|
|
|
[connection signal="mouse_entered" from="HoverBounds" to="." method="OnMouseEntered"]
|
|
[connection signal="mouse_exited" from="HoverBounds" to="." method="OnMouseExited"]
|