summaryrefslogtreecommitdiff
path: root/unit/unit.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'unit/unit.tscn')
-rw-r--r--unit/unit.tscn20
1 files changed, 20 insertions, 0 deletions
diff --git a/unit/unit.tscn b/unit/unit.tscn
new file mode 100644
index 0000000..9b152c1
--- /dev/null
+++ b/unit/unit.tscn
@@ -0,0 +1,20 @@
+[gd_scene load_steps=3 format=3 uid="uid://dglv8ajgj4i4c"]
+
+[ext_resource type="Texture2D" uid="uid://blanietpri1be" path="res://icon.svg" id="1_0d47j"]
+
+[sub_resource type="RectangleShape2D" id="RectangleShape2D_4xd6x"]
+size = Vector2(8, 8)
+
+[node name="Unit" type="Node2D"]
+z_index = 2
+
+[node name="Icon" type="Sprite2D" parent="."]
+scale = Vector2(0.063, 0.063)
+texture = ExtResource("1_0d47j")
+
+[node name="Area2D" type="Area2D" parent="."]
+collision_layer = 2
+collision_mask = 0
+
+[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
+shape = SubResource("RectangleShape2D_4xd6x")