Envie/PickableItems/basic_item.tscn

20 lines
712 B
Plaintext
Raw Permalink Normal View History

2023-01-15 11:17:51 -05:00
[gd_scene load_steps=4 format=3 uid="uid://ci6xls3xseci2"]
[ext_resource type="Texture2D" uid="uid://cjrh8t1n0m2e4" path="res://Sprites/t_shirt.png" id="1_mqcsa"]
[ext_resource type="Script" path="res://PickableItems/basic_item.gd" id="1_txlye"]
[sub_resource type="RectangleShape2D" id="RectangleShape2D_0nj5p"]
2023-01-15 12:27:19 -05:00
size = Vector2(20, 17)
2023-01-15 11:17:51 -05:00
[node name="basic_item" type="Area2D"]
script = ExtResource("1_txlye")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
position = Vector2(0.5, 1)
shape = SubResource("RectangleShape2D_0nj5p")
[node name="Sprite2D" type="Sprite2D" parent="."]
texture = ExtResource("1_mqcsa")
[connection signal="body_entered" from="." to="." method="_on_body_entered"]