[gd_scene load_steps=5 format=3 uid="uid://do65rgg0p2plt"] [ext_resource type="Texture2D" uid="uid://cxharyv0ajr37" path="res://textures/atlas/DioramaEntrance_All_01_SPRT.png" id="1_4vclu"] [ext_resource type="Script" path="res://core/Door.gd" id="2_8a3ug"] [sub_resource type="AtlasTexture" id="AtlasTexture_wi524"] atlas = ExtResource("1_4vclu") region = Rect2(12, 96, 216, 112) [sub_resource type="RectangleShape2D" id="RectangleShape2D_ajnvj"] size = Vector2(202.667, 60.3336) [node name="Door" type="Sprite2D"] position = Vector2(-0.333333, 457.667) texture = SubResource("AtlasTexture_wi524") flip_h = true script = ExtResource("2_8a3ug") [node name="Area2D" type="Area2D" parent="."] collision_layer = 4 input_pickable = false monitorable = false [node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D"] position = Vector2(-3.57628e-07, -15.667) shape = SubResource("RectangleShape2D_ajnvj") [connection signal="area_entered" from="Area2D" to="." method="_on_area_2d_area_entered"] [connection signal="area_exited" from="Area2D" to="." method="_on_area_2d_area_exited"]