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

[ext_resource type="Script" uid="uid://clm16ag8bvwv8" path="res://level/pared.gd" id="1_4xkiw"]
[ext_resource type="Texture2D" uid="uid://b2ss72rkk6rvx" path="res://level/paredes/pared-2-arriba.png" id="1_ah1ev"]
[ext_resource type="Texture2D" uid="uid://d4cosxl32j78w" path="res://level/paredes/pared-2-abajo.png" id="2_4xkiw"]
[ext_resource type="PackedScene" uid="uid://g804mryrvumc" path="res://level/puerta.tscn" id="4_4xkiw"]
[ext_resource type="Texture2D" uid="uid://cqje65g8jorjo" path="res://level/paredes/borde.png" id="4_cuyrn"]

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

[node name="pared-arriba" type="Sprite2D" parent="." unique_id=1019685485]
position = Vector2(25, 58)
texture = ExtResource("1_ah1ev")

[node name="pared-abajo" type="Sprite2D" parent="." unique_id=1619230562]
position = Vector2(96, 150)
texture = ExtResource("2_4xkiw")
offset = Vector2(0, -40)

[node name="borde" type="Sprite2D" parent="pared-abajo" unique_id=1878125383]
z_index = 1
position = Vector2(53, -40)
texture = ExtResource("4_cuyrn")

[node name="puerta" parent="." unique_id=1512368849 instance=ExtResource("4_4xkiw")]
position = Vector2(37, 27)

[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(428, 114, 394, 82, 394, 59, 428, 88)

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

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="StaticBody2D2" unique_id=813453248]
polygon = PackedVector2Array(460, 146, 535, 221, 535, 209, 473, 146)

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

[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Area2D" unique_id=308857461]
polygon = PackedVector2Array(27, 10, 129, 10, 137, 206, 30, 94)

[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"]
