[gd_scene format=3 uid="uid://fs712o3chw1d"]

[ext_resource type="Script" uid="uid://clm16ag8bvwv8" path="res://level/pared.gd" id="1_ainha"]
[ext_resource type="Texture2D" uid="uid://dsqn5o0ll7cbl" path="res://level/paredes/pared-1-arriba.png" id="1_nwpei"]
[ext_resource type="Texture2D" uid="uid://c7rang7h0h68f" path="res://level/paredes/pared-1-abajo.png" id="2_ainha"]
[ext_resource type="Texture2D" uid="uid://cqje65g8jorjo" path="res://level/paredes/borde.png" id="4_4q36m"]
[ext_resource type="PackedScene" uid="uid://g804mryrvumc" path="res://level/puerta.tscn" id="4_vjcyp"]

[node name="pared" type="Node2D" unique_id=227649960]
y_sort_enabled = true
script = ExtResource("1_ainha")

[node name="pared-arriba" type="Sprite2D" parent="." unique_id=1019685485]
position = Vector2(13, 49)
texture = ExtResource("1_nwpei")

[node name="pared-abajo" type="Sprite2D" parent="." unique_id=1619230562]
y_sort_enabled = true
position = Vector2(84, 130)
texture = ExtResource("2_ainha")
offset = Vector2(0, -20)

[node name="borde" type="Sprite2D" parent="pared-abajo" unique_id=1170386131]
z_index = 1
position = Vector2(65, -20)
texture = ExtResource("4_4q36m")

[node name="puerta" parent="." unique_id=1512368849 instance=ExtResource("4_vjcyp")]
position = Vector2(17, 4)

[node name="StaticBody2D" type="StaticBody2D" parent="." unique_id=817589917]
position = Vector2(-394, 0)

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="StaticBody2D" unique_id=314139736]
polygon = PackedVector2Array(410, 96, 394, 82, 394, 0, 410, 0)

[node name="StaticBody2D2" type="StaticBody2D" parent="." unique_id=802261770]
position = Vector2(-394, 0)

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="StaticBody2D2" unique_id=813453248]
y_sort_enabled = true
polygon = PackedVector2Array(439, 125, 535, 221, 535, 205, 453.5757, 125)

[node name="Area2D" type="Area2D" parent="." unique_id=477242990]

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Area2D" unique_id=1204835858]
polygon = PackedVector2Array(61, 79, 136, 79, 137, 206, 62, 132)

[connection signal="body_entered" from="Area2D" to="." method="_on_area_2d_body_entered"]
[connection signal="body_exited" from="Area2D" to="." method="_on_area_2d_body_exited"]
