diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2025-01-30 13:19:56 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2025-01-30 13:19:56 +0100 |
commit | a210c39b5d2be1e7e5c52568d40ba6a29f34b4bb (patch) | |
tree | 1425761be2edb336499970a7cb2d8a2c45da9a31 /unit |
initial commit
Diffstat (limited to 'unit')
-rw-r--r-- | unit/unit.tscn | 20 |
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") |