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

[ext_resource type="Script" uid="uid://cnn0nuiw8stwt" path="res://escenas/pantallas/pantalla_1.gd" id="1_plxbb"]
[ext_resource type="PackedScene" uid="uid://cjjkx41raprfy" path="res://escenas/escenarios/mapa 1.tscn" id="2_dx68v"]
[ext_resource type="PackedScene" uid="uid://b3e21iyuxj8g" path="res://escenas/escenarios/fruit.tscn" id="3_dx68v"]
[ext_resource type="PackedScene" uid="uid://c2j73aka5k1rl" path="res://escenas/characters/ninjacat.tscn" id="3_iioxt"]
[ext_resource type="PackedScene" uid="uid://tnn1a48mfafh" path="res://escenas/enemigos/sierra.tscn" id="4_iioxt"]
[ext_resource type="PackedScene" uid="uid://cd41woj0pbi3i" path="res://escenas/enemigos/spike_ball.tscn" id="5_il1dr"]
[ext_resource type="PackedScene" uid="uid://bifhpjfg00vg6" path="res://escenas/pantallas/playerinfo.tscn" id="6_y7j5o"]
[ext_resource type="Script" uid="uid://cimtkodp7212a" path="res://escenas/pantallas/siguientenivel.gd" id="7_3g6fp"]
[ext_resource type="AudioStream" uid="uid://kqc16cldw1jj" path="res://sonidos/pixel-song-19-31953_junta.mp3" id="8_suyv3"]
[ext_resource type="Script" uid="uid://cyp28c8beplgm" path="res://escenas/pantallas/audio_fondo.gd" id="9_plxbb"]

[sub_resource type="GDScript" id="GDScript_suyv3"]
script/source = "extends Area2D


func _on_area_2d_body_entered(body):
	if body.is_in_group(\"player\"):
		print(\"Daño causado\")
"

[sub_resource type="RectangleShape2D" id="RectangleShape2D_j2hlt"]
size = Vector2(1630.5, 20)

[sub_resource type="RectangleShape2D" id="RectangleShape2D_3g6fp"]
size = Vector2(11.125, 13)

[node name="pantalla1" type="Node2D" unique_id=18950095]
script = ExtResource("1_plxbb")

[node name="CanvasLayer" parent="." unique_id=1886381284 instance=ExtResource("6_y7j5o")]

[node name="ninjacat" parent="." unique_id=571372543 instance=ExtResource("3_iioxt")]
position = Vector2(32, 88)

[node name="sierra" parent="." unique_id=256568043 instance=ExtResource("4_iioxt")]
position = Vector2(1631, 157)

[node name="SpikeBall" parent="." unique_id=1361933566 instance=ExtResource("5_il1dr")]
position = Vector2(1262, -82)

[node name="SpikeBall2" parent="." unique_id=1043773523 instance=ExtResource("5_il1dr")]
position = Vector2(2155, 77)

[node name="fruit" parent="." unique_id=861061347 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(766, 277)

[node name="fruit2" parent="." unique_id=964183916 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(548, 257)
fruitType = "banana"

[node name="fruit4" parent="." unique_id=84036115 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(1937, 138)

[node name="fruit3" parent="." unique_id=560984082 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(1583, 9)
fruitType = "cherry"

[node name="fruit5" parent="." unique_id=778803825 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(1864.0001, 139)

[node name="fruit6" parent="." unique_id=700505063 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(1902, 139)

[node name="fruit7" parent="." unique_id=1783570522 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(1883, 105)
fruitType = "banana"

[node name="fruit8" parent="." unique_id=575847043 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(1923, 104)
fruitType = "banana"

[node name="fruit9" parent="." unique_id=713694625 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(2078, 187)
fruitType = "cherry"

[node name="fruit10" parent="." unique_id=1330786941 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(2111, 235)
fruitType = "cherry"

[node name="fruit11" parent="." unique_id=1674356251 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(2134, 290)
fruitType = "cherry"

[node name="fruit12" parent="." unique_id=1640353525 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(2159, 357)
fruitType = "cherry"

[node name="fruit13" parent="." unique_id=980470792 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(912, 203)

[node name="fruit14" parent="." unique_id=701492218 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(911, 163)

[node name="fruit15" parent="." unique_id=219918609 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(419.99997, 346)
fruitType = "banana"

[node name="fruit16" parent="." unique_id=568388232 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(2351, 515)

[node name="fruit17" parent="." unique_id=1675474077 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(2353, 558)
fruitType = "banana"

[node name="fruit18" parent="." unique_id=1031150744 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(2510, 420)
fruitType = "banana"

[node name="fruit19" parent="." unique_id=1874214550 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(2611, 191)
fruitType = "cherry"

[node name="fruit20" parent="." unique_id=1470116172 groups=["frutas"] instance=ExtResource("3_dx68v")]
position = Vector2(2697, 374)

[node name="TileMap" parent="." unique_id=1150383447 instance=ExtResource("2_dx68v")]
position = Vector2(-3, 14)
layer_0/tile_data = PackedInt32Array(1114114, 786432, 8, 1114115, 851968, 8, 1114116, 917504, 8, 983047, 786432, 8, 983048, 851968, 8, 983049, 917504, 8, 851981, 786432, 8, 851982, 851968, 8, 851983, 917504, 8, 720915, 786432, 8, 720916, 851968, 8, 720917, 917504, 8, 458780, 786432, 9, 458784, 786432, 8, 458785, 851968, 8, 458786, 917504, 8, 327730, 786432, 8, 327731, 851968, 8, 327732, 917504, 8, 196663, 983040, 8, 262199, 983040, 9, 327735, 983040, 10, 327738, 786432, 8, 327739, 851968, 8, 327740, 917504, 8, 917570, 786432, 8, 917571, 851968, 8, 917572, 917504, 8, 1179721, 786432, 9, 917582, 786432, 9, 458833, 786432, 8, 786513, 786432, 8, 458834, 851968, 8, 786514, 851968, 8, 458835, 851968, 8, 786515, 851968, 8, 458836, 851968, 8, 786516, 851968, 8, 458837, 983040, 8, 524373, 983040, 9, 589909, 983040, 9, 655445, 983040, 9, 720981, 983040, 9, 786517, 917504, 8, -262105, 786432, 9, 327727, 786432, 9, 393254, 786432, 8, 393256, 917504, 8, 393255, 851968, 8, 65603, 786432, 9, 1376296, 1, 0, 1376297, 1, 0, 1376298, 1, 0, 1376299, 1, 0, 1376300, 1, 0, 1376301, 1, 0, 1376302, 1, 0, 1376303, 1, 0, 1376304, 1, 0, 1376305, 1, 0, 1376306, 1, 0, 1376307, 1, 0, 1376308, 1, 0, 1376309, 1, 0, 1376310, 1, 0, 1376311, 1, 0, 1376312, 1, 0, 1376313, 1, 0, 1376314, 1, 0, 1376315, 1, 0, 1376316, 1, 0, 1376317, 1, 0, 1376318, 1, 0, 1376319, 1, 0, 1376320, 1, 0, 1376321, 1, 0, 1376322, 1, 0, 1376323, 1, 0, 1376324, 1, 0, 1376325, 1, 0, 1376326, 1, 0, 1376328, 1, 0, 1376329, 1, 0, 1376330, 1, 0, 1376331, 1, 0, 1376332, 1, 0, 1376333, 1, 0, 1376334, 1, 0, 1376335, 1, 0, 1376336, 1, 0, 1376337, 1, 0, 1376338, 1, 0, 1376339, 1, 0, 1376340, 1, 0, 1376341, 1, 0, 1376342, 1, 0, 1376343, 1, 0, 1376344, 1, 0, 1376345, 1, 0, 1376346, 1, 0, 1376347, 1, 0, 1376348, 1, 0, 1376349, 1, 0, 1376350, 1, 0, 1376351, 1, 0, 1376352, 1, 0, 1376353, 1, 0, 1376354, 1, 0, 1376355, 1, 0, 1376356, 1, 0, 1376257, 1, 0, 1376258, 1, 0, 1376259, 1, 0, 1376260, 1, 0, 1376261, 1, 0, 1376262, 1, 0, 1376263, 1, 0, 1376264, 1, 0, 1376265, 1, 0, 1376266, 1, 0, 1376267, 1, 0, 1376268, 1, 0, 1376269, 1, 0, 1376270, 1, 0, 1376271, 1, 0, 1376272, 1, 0, 1376273, 1, 0, 1376274, 1, 0, 1376275, 1, 0, 1376276, 1, 0, 1376277, 1, 0, 1376278, 1, 0, 1376279, 1, 0, 1376280, 1, 0, 1376281, 1, 0, 1376282, 1, 0, 1376283, 1, 0, 1376284, 1, 0, 1376285, 1, 0, 1376286, 1, 0, 1376287, 1, 0, 1376288, 1, 0, 1376289, 1, 0, 1376290, 1, 0, 1376291, 1, 0, 1376292, 1, 0, 1376293, 1, 0, 1376294, 1, 0, 1376295, 1, 0, 1441791, 1, 0, 1376256, 1, 0, 1376327, 1, 0)

[node name="pinchos" type="Area2D" parent="TileMap" unique_id=146503058]
collision_layer = 4
collision_mask = 5
script = SubResource("GDScript_suyv3")

[node name="CollisionShape2D" type="CollisionShape2D" parent="TileMap/pinchos" unique_id=55946029]
position = Vector2(800.25, 355)
shape = SubResource("RectangleShape2D_j2hlt")

[node name="Area2D" type="Area2D" parent="." unique_id=2126744905]
collision_layer = 16
collision_mask = 16
script = ExtResource("7_3g6fp")
next_scene_path = "res://escenas/pantallas/pantalla2.tscn"

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D" unique_id=1194353007]
position = Vector2(2698, 376)
shape = SubResource("RectangleShape2D_3g6fp")

[node name="Area2D2" type="Area2D" parent="." unique_id=1768422102]
collision_layer = 16
collision_mask = 16
script = ExtResource("7_3g6fp")
next_scene_path = "res://escenas/pantallas/pantalla2.tscn"

[node name="CollisionShape2D" type="CollisionShape2D" parent="Area2D2" unique_id=446685889]
position = Vector2(2610, 194)
shape = SubResource("RectangleShape2D_3g6fp")

[node name="audio_fondo" type="AudioStreamPlayer" parent="." unique_id=966196380]
process_mode = 3
stream = ExtResource("8_suyv3")
volume_db = -16.421
autoplay = true
bus = &"musicabus"
script = ExtResource("9_plxbb")

[connection signal="body_entered" from="TileMap/pinchos" to="TileMap/pinchos" method="_on_body_entered"]
[connection signal="body_entered" from="Area2D" to="Area2D" method="_on_body_entered"]
[connection signal="body_entered" from="Area2D2" to="Area2D2" method="_on_body_entered"]
[connection signal="finished" from="audio_fondo" to="audio_fondo" method="_on_finished"]
