35 lines
1.2 KiB
Text
35 lines
1.2 KiB
Text
|
[gd_scene load_steps=4 format=3 uid="uid://nv8r4yu48mbj"]
|
||
|
|
||
|
[ext_resource type="Script" path="res://Scripts/Interactibles/Crate.gd" id="1_a65k5"]
|
||
|
[ext_resource type="Texture2D" uid="uid://b4nga0rwqktws" path="res://Tilemaps/Tiles/tile_0274.png" id="1_aetqf"]
|
||
|
|
||
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_jjien"]
|
||
|
size = Vector2(16, 16)
|
||
|
|
||
|
[node name="Crate" type="Area2D"]
|
||
|
script = ExtResource("1_a65k5")
|
||
|
Interact_Type = "Crate1"
|
||
|
|
||
|
[node name="Sprite2D" type="Sprite2D" parent="."]
|
||
|
texture_filter = 1
|
||
|
texture_repeat = 1
|
||
|
texture = ExtResource("1_aetqf")
|
||
|
|
||
|
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
|
||
|
position = Vector2(-16, 0)
|
||
|
shape = SubResource("RectangleShape2D_jjien")
|
||
|
|
||
|
[node name="CollisionShape2D2" type="CollisionShape2D" parent="."]
|
||
|
position = Vector2(0, -16)
|
||
|
shape = SubResource("RectangleShape2D_jjien")
|
||
|
|
||
|
[node name="CollisionShape2D3" type="CollisionShape2D" parent="."]
|
||
|
position = Vector2(0, 16)
|
||
|
shape = SubResource("RectangleShape2D_jjien")
|
||
|
|
||
|
[node name="CollisionShape2D4" type="CollisionShape2D" parent="."]
|
||
|
position = Vector2(16, 0)
|
||
|
shape = SubResource("RectangleShape2D_jjien")
|
||
|
|
||
|
[connection signal="body_entered" from="." to="." method="_on_body_entered"]
|