1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
[gd_scene load_steps=4 format=3 uid="uid://dhvalfppnefax"] [ext_resource type="Script" path="res://world/door/door.gd" id="1_t5c8c"] [ext_resource type="Shape2D" path="res://world/door/door_shape.tres" id="4_ty3l8"] [ext_resource type="Texture2D" uid="uid://ca243eorhvtp2" path="res://assets/world/door.png" id="4_weg0g"] [node name="door" type="Area2D"] texture_filter = 1 collision_layer = 0 collision_mask = 2 script = ExtResource("1_t5c8c") [node name="CollisionShape" type="CollisionShape2D" parent="."] position = Vector2(16, 0) shape = ExtResource("4_ty3l8") [node name="Sprite" type="Sprite2D" parent="."] position = Vector2(10, 0) texture = ExtResource("4_weg0g") [connection signal="body_entered" from="." to="." method="_on_body_entered"]