commit no. 5
This commit is contained in:
+22
@@ -0,0 +1,22 @@
|
||||
[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, 99)
|
||||
|
||||
[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="Area" type="Area2D" parent="." unique_id=620986087]
|
||||
|
||||
[node name="Bounds" type="CollisionShape2D" parent="Area" unique_id=1639875880]
|
||||
position = Vector2(0, 0.5)
|
||||
shape = SubResource("RectangleShape2D_vedim")
|
||||
debug_color = Color(0.6411928, 0.52469516, 0, 0.41960785)
|
||||
|
||||
[connection signal="mouse_entered" from="Area" to="." method="OnMouseEntered"]
|
||||
[connection signal="mouse_exited" from="Area" to="." method="OnMouseExited"]
|
||||
Reference in New Issue
Block a user