summaryrefslogtreecommitdiff
path: root/unit/unit.tscn
blob: 9b152c111b8092b92d121a210b47906748dfca6b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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")