diff options
Diffstat (limited to 'item/item.tscn')
-rw-r--r-- | item/item.tscn | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/item/item.tscn b/item/item.tscn new file mode 100644 index 0000000..ee13cda --- /dev/null +++ b/item/item.tscn @@ -0,0 +1,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") |