summaryrefslogtreecommitdiff
path: root/unit/unit.tscn
blob: 39de6e64e84744ebebf180087a54f757ab89d73d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
[gd_scene load_steps=4 format=3 uid="uid://dglv8ajgj4i4c"]

[ext_resource type="Texture2D" uid="uid://blanietpri1be" path="res://icon.svg" id="1_0d47j"]
[ext_resource type="Script" uid="uid://rbk7n3puwr3q" path="res://unit/unit.gd" id="1_5uy8y"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_4xd6x"]
size = Vector2(8, 8)

[node name="Unit" type="Node2D"]
z_index = 2
script = ExtResource("1_5uy8y")

[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")