summaryrefslogtreecommitdiff
path: root/item/item.tscn
blob: ee13cda22adacdf177d2114531676c0e777e1e57 (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=3 format=3 uid="uid://36cam5oaj8p5"]

[ext_resource type="Script" path="res://item/item.gd" id="1_xhv56"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_23apt"]
size = Vector2(16, 16)

[node name="Item" type="Node2D"]
script = ExtResource("1_xhv56")

[node name="Sprite2D" type="Sprite2D" parent="."]
texture_filter = 1
position = Vector2(-8, -8)
centered = false

[node name="Area2D" type="Area2D" parent="." groups=["item"]]
visible = false
collision_layer = 16
collision_mask = 0

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"]
shape = SubResource("RectangleShape2D_23apt")