[gd_scene format=3 uid="uid://05yol7ic40b8"]

[ext_resource type="Script" uid="uid://dpfhi8n1xir6u" path="res://level/segmento.gd" id="1_wilxo"]
[ext_resource type="Texture2D" uid="uid://c16vighrfkrfj" path="res://level/pantalla_vacio.png" id="2_sqxcu"]
[ext_resource type="Texture2D" uid="uid://jx8bunorm58" path="res://level/objetos/biblioteca.png" id="3_sqxcu"]
[ext_resource type="Texture2D" uid="uid://rah3qb5kqduu" path="res://level/objetos/sillon.png" id="4_c84qv"]
[ext_resource type="Texture2D" uid="uid://cth5cvrld4tye" path="res://level/objetos/lampara.png" id="5_v2yl4"]
[ext_resource type="Texture2D" uid="uid://cshc1fch8844a" path="res://level/objetos/alfombra-circular.png" id="6_iennl"]
[ext_resource type="Texture2D" uid="uid://c6tv0atugpw0g" path="res://level/objetos/cuadro.png" id="7_iennl"]
[ext_resource type="Texture2D" uid="uid://d0jmuu3r62gwm" path="res://level/objetos/comoda.png" id="8_dgq8e"]
[ext_resource type="Texture2D" uid="uid://bh314tqcfqrkp" path="res://level/objetos/planta.png" id="9_t1abt"]

[sub_resource type="RectangleShape2D" id="RectangleShape2D_rrffc"]
size = Vector2(451, 84)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_7aiu7"]
size = Vector2(535, 84)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_gkxbd"]
size = Vector2(42, 248)

[node name="Segmento01" type="Node2D" unique_id=1968065545]
y_sort_enabled = true
script = ExtResource("1_wilxo")

[node name="Fondo" type="Sprite2D" parent="." unique_id=1331208881]
z_index = -2
texture = ExtResource("2_sqxcu")
centered = false

[node name="VisibleOnScreenNotifier2D" type="VisibleOnScreenNotifier2D" parent="." unique_id=165204551]
position = Vector2(525, 10)
rect = Rect2(-98, -10, 108, 219)

[node name="colisiones" type="Node2D" parent="." unique_id=1865797833]

[node name="StaticBody2D" type="StaticBody2D" parent="colisiones" unique_id=1438566404]

[node name="CollisionShape2D" type="CollisionShape2D" parent="colisiones/StaticBody2D" unique_id=1843162804]
position = Vector2(168.5, 41)
shape = SubResource("RectangleShape2D_rrffc")

[node name="StaticBody2D2" type="StaticBody2D" parent="colisiones" unique_id=1579506935]
position = Vector2(0, 222)

[node name="CollisionShape2D" type="CollisionShape2D" parent="colisiones/StaticBody2D2" unique_id=475789009]
position = Vector2(267.5, 41)
shape = SubResource("RectangleShape2D_7aiu7")

[node name="Area2D" type="Area2D" parent="." unique_id=462702794 groups=["door_detector"]]

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1216702030]
position = Vector2(130, 111)
shape = SubResource("RectangleShape2D_gkxbd")
debug_color = Color(0.9654204, 5.7756904e-07, 0.48972726, 0.41960785)

[node name="decoraciones" type="Node2D" parent="." unique_id=2117280770]

[node name="v1" type="Node2D" parent="decoraciones" unique_id=775779644]
visible = false

[node name="libros" type="Sprite2D" parent="decoraciones/v1" unique_id=1669778875]
position = Vector2(180, 15)
texture = ExtResource("3_sqxcu")

[node name="comoda" type="Sprite2D" parent="decoraciones/v1" unique_id=1468753534]
position = Vector2(270, 57)
texture = ExtResource("4_c84qv")

[node name="lampara" type="Sprite2D" parent="decoraciones/v1" unique_id=653166969]
position = Vector2(353, 43)
texture = ExtResource("5_v2yl4")

[node name="alfombra" type="Sprite2D" parent="decoraciones/v1" unique_id=1885769396]
z_index = -2
position = Vector2(277, 112)
texture = ExtResource("6_iennl")
offset = Vector2(0, 50)

[node name="v2" type="Node2D" parent="decoraciones" unique_id=2026045500]
visible = false

[node name="cuadro" type="Sprite2D" parent="decoraciones/v2" unique_id=1421016634]
position = Vector2(267, 8)
texture = ExtResource("7_iennl")

[node name="comoda" type="Sprite2D" parent="decoraciones/v2" unique_id=346348243]
position = Vector2(155, 62)
texture = ExtResource("8_dgq8e")

[node name="planta" type="Sprite2D" parent="decoraciones/v2" unique_id=1628989925]
position = Vector2(348, 58)
texture = ExtResource("9_t1abt")

[node name="v3" type="Node2D" parent="decoraciones" unique_id=1809397334]
visible = false

[node name="planta2" type="Sprite2D" parent="decoraciones/v3" unique_id=235526902]
position = Vector2(163, 59)
texture = ExtResource("9_t1abt")

[node name="planta" type="Sprite2D" parent="decoraciones/v3" unique_id=1749502898]
position = Vector2(348, 58)
texture = ExtResource("9_t1abt")

[connection signal="screen_entered" from="VisibleOnScreenNotifier2D" to="." method="_on_visible_on_screen_notifier_2d_screen_entered"]
[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]
