20 lines
624 B
Text
20 lines
624 B
Text
|
|
[gd_scene format=3]
|
||
|
|
|
||
|
|
[ext_resource type="Script" path="res://Items/carry_item.gd" id="1_item"]
|
||
|
|
[ext_resource type="Texture2D" uid="uid://bd60ddhri50de" path="res://icon.svg" id="2_icon"]
|
||
|
|
|
||
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_body"]
|
||
|
|
size = Vector2(12, 12)
|
||
|
|
|
||
|
|
[node name="CarryItem" type="CharacterBody2D"]
|
||
|
|
collision_layer = 0
|
||
|
|
collision_mask = 1
|
||
|
|
script = ExtResource("1_item")
|
||
|
|
|
||
|
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||
|
|
scale = Vector2(0.09375, 0.09375)
|
||
|
|
texture = ExtResource("2_icon")
|
||
|
|
|
||
|
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
|
shape = SubResource("RectangleShape2D_body")
|