diff --git a/All.tscn b/All.tscn index 602eaaa..5f2eecf 100644 --- a/All.tscn +++ b/All.tscn @@ -8,7 +8,7 @@ [ext_resource path="res://icon.png" type="Texture" id=6] [ext_resource path="res://btn_shoot.png" type="Texture" id=7] -[sub_resource type="Environment" id=2] +[sub_resource type="Environment" id=1] ambient_light/enabled = false ambient_light/color = Color( 0, 0, 0, 1 ) @@ -52,9 +52,9 @@ bcs/contrast = 1.0 bcs/saturation = 1.0 srgb/enabled = false -[sub_resource type="World" id=3] +[sub_resource type="World" id=2] -environment = SubResource( 2 ) +environment = SubResource( 1 ) [node name="Node2D" type="Node2D" groups=[ "control", @@ -80,7 +80,7 @@ margin/bottom = 768.0 rect = Rect2( 0, 0, 1280, 768 ) own_world = false -world = SubResource( 3 ) +world = SubResource( 2 ) transparent_bg = false render_target/enabled = false render_target/v_flip = false @@ -123,8 +123,6 @@ region_rect = Rect2( 180, 140, 145, 150 ) [node name="Buttons" type="Node2D" parent="Control"] -editor/display_folded = true - [node name="Bttn_U" type="TouchScreenButton" parent="Control/Buttons"] visibility/opacity = 0.9 @@ -158,7 +156,7 @@ visibility_mode = 0 [node name="Bttn_AS" type="TouchScreenButton" parent="Control/Buttons"] visibility/opacity = 0.5 -transform/pos = Vector2( 1088, 416 ) +transform/pos = Vector2( 1088, 384 ) transform/scale = Vector2( 2, 2 ) normal = ExtResource( 6 ) pressed = null diff --git a/enemy_1.gd b/enemy_1.gd index 63c183a..e2ce0d4 100644 --- a/enemy_1.gd +++ b/enemy_1.gd @@ -35,6 +35,7 @@ func dissapear(): set_fixed_process(false) set_layer_mask_bit(2,false) + hit_single.set_emitting(true) var t = Timer.new() t.set_wait_time(hit_single.get_lifetime()) t.set_one_shot(true) @@ -103,7 +104,7 @@ func _on_area_body_body_enter( body ): emit_signal("damage", damage) func _on_area_head_body_enter( body ): - if (body.is_in_group("player") and body.can_receive_damage()): + if (body.is_in_group("player")): if (body.foots.get_global_pos().y > area_head.get_global_pos().y and body.is_falling()): print ("cabeza") life = 0 diff --git a/enemy_1.tscn b/enemy_1.tscn index 20d398b..3d59873 100644 --- a/enemy_1.tscn +++ b/enemy_1.tscn @@ -157,7 +157,7 @@ trigger = true transform/pos = Vector2( 3.8147e-06, 0 ) frames = SubResource( 8 ) animation = "walking" -frame = 7 +frame = 3 playing = true [node name="hit_ray_particle" type="Particles2D" parent="."] diff --git a/player.tscn b/player.tscn index 5b316af..f1d9562 100644 --- a/player.tscn +++ b/player.tscn @@ -104,7 +104,7 @@ _update_shape_index = 1 frames = SubResource( 3 ) animation = "walk" -frame = 15 +frame = 10 playing = true [node name="Camera2D" type="Camera2D" parent="sprite"] diff --git a/tiles.tscn b/tiles.tscn index d9b36b0..7c794ec 100644 --- a/tiles.tscn +++ b/tiles.tscn @@ -1,19 +1,20 @@ -[gd_scene load_steps=21 format=1] +[gd_scene load_steps=23 format=1] [ext_resource path="res://tile full.tex" type="Texture" id=1] - -[sub_resource type="ConvexPolygonShape2D" id=20] - -custom_solver_bias = 0.0 -points = Vector2Array( -21.2298, -23.8952, -16.2848, -26.453, -9.37893, -26.9645, 32, -28, 32, 32, -27, 32, -26.601, -15.7957, -24.4696, -20.3144 ) +[ext_resource path="res://árbol.png" type="Texture" id=2] [sub_resource type="ConvexPolygonShape2D" id=21] custom_solver_bias = 0.0 -points = Vector2Array( -32, -28, 32, -28, 32, 32, -32, 32 ) +points = Vector2Array( -21.2298, -23.8952, -16.2848, -26.453, -9.37893, -26.9645, 32, -28, 32, 32, -27, 32, -26.601, -15.7957, -24.4696, -20.3144 ) [sub_resource type="ConvexPolygonShape2D" id=22] +custom_solver_bias = 0.0 +points = Vector2Array( -32, -28, 32, -28, 32, 32, -32, 32 ) + +[sub_resource type="ConvexPolygonShape2D" id=23] + custom_solver_bias = 0.0 points = Vector2Array( -32, -28, 13.8965, -27.135, 19.9498, -24.2363, 24.2127, -19.4618, 25.4063, -15.7105, 26, 32, -32, 32 ) @@ -97,6 +98,11 @@ points = Vector2Array( -32, -32, 27, -32, -32, 28 ) custom_solver_bias = 0.0 points = Vector2Array( 32, -32, 32, 28, -28, -32 ) +[sub_resource type="ConvexPolygonShape2D" id=24] + +custom_solver_bias = 0.0 +points = Vector2Array( 16, 16, 22, 19, 22, 26, 18, 32, -20, 32, -23, 27, -23, 22, -19, 16 ) + [node name="Node2D" type="Node2D"] transform/pos = Vector2( 32, 32 ) @@ -111,7 +117,7 @@ region_rect = Rect2( 0, 0, 64, 64 ) [node name="StaticBody2D" type="StaticBody2D" parent="Arriba_Izquierda"] input/pickable = false -shapes/0/shape = SubResource( 20 ) +shapes/0/shape = SubResource( 21 ) shapes/0/transform = Matrix32( 1, 0, 0, 1, 0, 0 ) shapes/0/trigger = false collision/layers = 2 @@ -138,7 +144,7 @@ region_rect = Rect2( 64, 0, 64, 64 ) transform/pos = Vector2( -0.0852547, -0.0852585 ) input/pickable = false -shapes/0/shape = SubResource( 21 ) +shapes/0/shape = SubResource( 22 ) shapes/0/transform = Matrix32( 1, 0, 0, 1, 0.0852547, 0.0852585 ) shapes/0/trigger = false collision/layers = 2 @@ -168,7 +174,7 @@ region_rect = Rect2( 128, 0, 64, 64 ) transform/pos = Vector2( -0.0852547, -0.0852585 ) input/pickable = false -shapes/0/shape = SubResource( 22 ) +shapes/0/shape = SubResource( 23 ) shapes/0/transform = Matrix32( 1, 0, 0, 1, 0.0852547, 0.0852585 ) shapes/0/trigger = false collision/layers = 2 @@ -641,4 +647,32 @@ polygon = Vector2Array( 32, -32, 32, 28, -28, -32 ) shape_range = Vector2( 0, 0 ) trigger = false +[node name="Tronco" type="Sprite" parent="."] + +transform/pos = Vector2( -64, -64 ) +texture = ExtResource( 2 ) +region_rect = Rect2( 0, 256, 64, 64 ) + +[node name="StaticBody2D1" type="StaticBody2D" parent="Tronco"] + +transform/pos = Vector2( -0.0852547, -0.0852585 ) +input/pickable = false +shapes/0/shape = SubResource( 24 ) +shapes/0/transform = Matrix32( 1, 0, 0, 1, 0.0852547, 0.0852585 ) +shapes/0/trigger = false +collision/layers = 2 +collision/mask = 15 +constant_linear_velocity = Vector2( 0, 0 ) +constant_angular_velocity = 0.0 +friction = 0.0 +bounce = 0.0 + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Tronco/StaticBody2D1"] + +transform/pos = Vector2( 0.0852547, 0.0852585 ) +build_mode = 0 +polygon = Vector2Array( -19, 16, -23, 22, -23, 27, -20, 32, 18, 32, 22, 26, 22, 19, 16, 16 ) +shape_range = Vector2( 0, 0 ) +trigger = false + diff --git a/tileset.xml b/tileset.xml index 53b9eba..fedb3c6 100644 --- a/tileset.xml +++ b/tileset.xml @@ -1,6 +1,7 @@ - + + 0 -32, -32, 32, -32, 32, 32, -32, 32, -32, -32 @@ -76,17 +77,22 @@ 32, -32, 32, 28, -28, -32 - + 0 - -21.2298, -23.8952, -16.2848, -26.453, -9.37893, -26.9645, 32, -28, 32, 32, -27, 32, -26.601, -15.7957, -24.4696, -20.3144 + 16, 16, 22, 19, 22, 26, 18, 32, -20, 32, -23, 27, -23, 22, -19, 16 0 - -32, -28, 32, -28, 32, 32, -32, 32 + -21.2298, -23.8952, -16.2848, -26.453, -9.37893, -26.9645, 32, -28, 32, 32, -27, 32, -26.601, -15.7957, -24.4696, -20.3144 + 0 + -32, -28, 32, -28, 32, 32, -32, 32 + + + 0 -32, -28, 13.8965, -27.135, 19.9498, -24.2363, 24.2127, -19.4618, 25.4063, -15.7105, 26, 32, -32, 32 @@ -154,7 +160,7 @@ 32, 32 32, 32 - + "Arriba" @@ -165,7 +171,7 @@ 32, 32 32, 32 - + "Arriba_Derecha" @@ -176,7 +182,7 @@ 32, 32 32, 32 - + "Izquierda" @@ -344,6 +350,17 @@ + "Tronco" + + 0, 0 + 1, 1, 1, 1 + 0, 0, 64, 64 + 32, 32 + 32, 32 + 32, 32 + + + \ No newline at end of file diff --git a/top.tscn b/top.tscn index e7edc27..f36ee2e 100644 --- a/top.tscn +++ b/top.tscn @@ -39,7 +39,7 @@ collision/bounce = 0.0 collision/layers = 2 collision/mask = 15 occluder/light_mask = 1 -tile_data = IntArray( -2359279, 17, -2359278, 18, -2293744, 17, -2293743, 12, -2293742, 19, -2228209, 17, -2228208, 12, -2228207, 19, -2228204, 16, -2162674, 17, -2162673, 12, -2162672, 19, -2162667, 16, -2031641, 16, -2031640, 16, -2031639, 16, -2031638, 16, -2031637, 16, -2031636, 16, -2097139, 17, -2097138, 12, -2097137, 19, -1966100, 16, -2031611, 16, -2031605, 16, -2031603, 20, -2031602, 19, -1900563, 16, -1966074, 16, -1966073, 16, -1966072, 16, -1966071, 16, -1966070, 16, -1835027, 16, -1835026, 16, -1835025, 16, -1900540, 16, -1769505, 16, -1769503, 3, -1769502, 4, -1769501, 4, -1769500, 5, -1769497, 3, -1769496, 4, -1769495, 4, -1769494, 5, -1835007, 3, -1835006, 5, -1835004, 16, -1703967, 6, -1703966, 7, -1703965, 14, -1703964, 11, -1703961, 9, -1703960, 13, -1703959, 7, -1703958, 8, -1703950, 16, -1703949, 16, -1703948, 16, -1703947, 16, -1703946, 16, -1769471, 9, -1769470, 11, -1638433, 16, -1638431, 6, -1638430, 14, -1638429, 19, -1638424, 20, -1638423, 13, -1638422, 8, -1638420, 16, -1638406, 17, -1638405, 4, -1638404, 4, -1638403, 4, -1638402, 18, -1703913, 16, -1703911, 16, -1703909, 16, -1703907, 16, -1703893, 3, -1703892, 4, -1703891, 4, -1703890, 4, -1703889, 18, -1572895, 9, -1572894, 19, -1572887, 20, -1572886, 11, -1572871, 17, -1572870, 12, -1572869, 14, -1572868, 10, -1572867, 10, -1572866, 11, -1638369, 16, -1638367, 3, -1638366, 4, -1638365, 4, -1638364, 5, -1638358, 17, -1638357, 12, -1638356, 14, -1638355, 10, -1638354, 10, -1638353, 19, -1507361, 16, -1507356, 17, -1507355, 4, -1507354, 4, -1507353, 18, -1507336, 17, -1507335, 12, -1507334, 14, -1507333, 19, -1572831, 9, -1572830, 10, -1572829, 13, -1572828, 8, -1572823, 17, -1572822, 12, -1572821, 14, -1572820, 19, -1572815, 16, -1441820, 20, -1441819, 13, -1441818, 14, -1441817, 19, -1441809, 16, -1441801, 17, -1441800, 12, -1441799, 14, -1441798, 19, -1507293, 6, -1507292, 15, -1507291, 4, -1507290, 4, -1507289, 4, -1507288, 4, -1507287, 12, -1507286, 14, -1507285, 19, -1376283, 9, -1376282, 11, -1376265, 20, -1376264, 10, -1376263, 19, -1441788, 16, -1441784, 16, -1441781, 16, -1441778, 16, -1441773, 16, -1441771, 3, -1441770, 4, -1441769, 4, -1441768, 5, -1441766, 16, -1441765, 16, -1441757, 9, -1441756, 10, -1441755, 10, -1441754, 10, -1441753, 10, -1441752, 10, -1441751, 10, -1441750, 19, -1441745, 16, -1310740, 16, -1310735, 16, -1376255, 16, -1376239, 16, -1376235, 20, -1376234, 13, -1376233, 14, -1376232, 19, -1245206, 3, -1245205, 4, -1245204, 4, -1245203, 4, -1245202, 4, -1245201, 4, -1245200, 4, -1245199, 4, -1245198, 4, -1245197, 4, -1245196, 4, -1245195, 4, -1245194, 4, -1245193, 4, -1245192, 4, -1245191, 4, -1245190, 4, -1245189, 4, -1245188, 4, -1245187, 4, -1245186, 4, -1245185, 4, -1310720, 4, -1310719, 5, -1310698, 6, -1310697, 8, -1310691, 16, -1310690, 16, -1310671, 16, -1179677, 16, -1179676, 16, -1179675, 16, -1179674, 16, -1179673, 16, -1179670, 9, -1179669, 10, -1179668, 10, -1179667, 10, -1179666, 10, -1179665, 10, -1179664, 10, -1179663, 10, -1179662, 10, -1179661, 13, -1179660, 7, -1179659, 7, -1179658, 7, -1179657, 7, -1179656, 7, -1179655, 7, -1179654, 7, -1179653, 7, -1179652, 7, -1179651, 7, -1179650, 14, -1179649, 10, -1245184, 10, -1245183, 11, -1245179, 3, -1245178, 5, -1245168, 16, -1245162, 9, -1245161, 11, -1114125, 9, -1114124, 10, -1114123, 10, -1114122, 10, -1114121, 10, -1114120, 10, -1114119, 10, -1114118, 10, -1114117, 10, -1114116, 10, -1114115, 10, -1114114, 11, -1179643, 6, -1179642, 8, -1179615, 16, -1179601, 16, -1048608, 16, -1114107, 6, -1114106, 8, -1114098, 3, -1114097, 4, -1114096, 18, -983073, 16, -983063, 3, -983062, 4, -983061, 4, -983060, 4, -983059, 18, -1048571, 20, -1048570, 19, -1048562, 6, -1048561, 7, -1048560, 15, -1048559, 18, -1048527, 16, -917537, 3, -917536, 4, -917535, 4, -917534, 4, -917533, 4, -917532, 4, -917531, 18, -917527, 20, -917526, 10, -917525, 10, -917524, 10, -917523, 11, -917516, 16, -983028, 16, -983026, 20, -983025, 10, -983024, 10, -983023, 11, -983022, 16, -983018, 16, -983014, 16, -983010, 16, -983009, 16, -983008, 16, -983007, 16, -983006, 16, -983001, 16, -852006, 3, -852005, 18, -852001, 9, -852000, 10, -851999, 10, -851998, 10, -851997, 10, -851996, 13, -851995, 15, -851994, 18, -851985, 16, -851983, 16, -851977, 3, -851976, 4, -851975, 4, -851974, 5, -917461, 3, -917460, 18, -917457, 16, -786470, 20, -786469, 15, -786468, 18, -786460, 20, -786459, 13, -786458, 15, -786457, 18, -786441, 9, -786440, 10, -786439, 10, -786438, 11, -851958, 16, -851931, 17, -851930, 5, -851926, 3, -851925, 14, -851924, 11, -851919, 16, -720933, 20, -720932, 15, -720931, 18, -720923, 20, -720922, 13, -720921, 15, -720920, 18, -786431, 16, -786428, 16, -786407, 16, -786406, 16, -786405, 16, -786404, 16, -786396, 17, -786395, 12, -786394, 8, -786390, 9, -786389, 19, -655396, 20, -655395, 19, -655386, 20, -655385, 13, -655384, 15, -655383, 4, -655382, 4, -655381, 4, -655380, 4, -655379, 18, -720888, 16, -720868, 16, -720861, 17, -720860, 12, -720859, 14, -720858, 11, -720853, 17, -720852, 18, -720849, 16, -589858, 16, -589849, 9, -589848, 10, -589847, 10, -589846, 10, -589845, 10, -589844, 13, -589843, 15, -589842, 4, -589841, 18, -589837, 16, -589832, 16, -589826, 17, -589825, 18, -655332, 16, -655326, 17, -655325, 12, -655324, 12, -655323, 11, -655318, 17, -655317, 12, -655316, 19, -524320, 16, -524308, 6, -524307, 7, -524306, 13, -524305, 15, -524304, 4, -524303, 4, -524302, 4, -524301, 4, -524300, 4, -524299, 4, -524298, 4, -524297, 4, -524296, 5, -524293, 3, -524292, 4, -524291, 4, -524290, 12, -524289, 15, -589824, 4, -589823, 4, -589822, 18, -589791, 17, -589790, 12, -589789, 14, -589788, 11, -589782, 20, -589781, 19, -589775, 16, -458781, 16, -458773, 17, -458772, 12, -458771, 10, -458770, 10, -458769, 10, -458768, 10, -458767, 10, -458766, 10, -458765, 10, -458764, 10, -458763, 10, -458762, 10, -458761, 10, -458760, 11, -458757, 9, -458756, 10, -458755, 10, -458754, 10, -458753, 10, -524288, 10, -524287, 13, -524286, 15, -524285, 4, -524284, 4, -524283, 4, -524282, 4, -524281, 4, -524280, 4, -524279, 4, -524278, 4, -524277, 4, -524276, 18, -524269, 16, -524256, 17, -524255, 12, -524254, 14, -524253, 11, -393238, 17, -393237, 12, -393236, 19, -393222, 16, -458751, 9, -458750, 10, -458749, 10, -458748, 10, -458747, 10, -458746, 10, -458745, 10, -458744, 10, -458743, 10, -458742, 10, -458741, 10, -458740, 15, -458739, 4, -458738, 4, -458737, 4, -458736, 4, -458735, 4, -458734, 4, -458733, 4, -458732, 4, -458731, 4, -458730, 4, -458729, 4, -458728, 4, -458727, 4, -458726, 4, -458725, 4, -458724, 4, -458723, 4, -458722, 4, -458721, 4, -458720, 12, -458719, 10, -458718, 11, -458716, 16, -458704, 16, -327706, 16, -327703, 16, -327702, 20, -327701, 19, -393204, 9, -393203, 10, -393202, 10, -393201, 10, -393200, 10, -393199, 10, -393198, 10, -393197, 10, -393196, 10, -393195, 10, -393194, 10, -393193, 10, -393192, 10, -393191, 10, -393190, 10, -393189, 10, -393188, 10, -393187, 10, -393186, 10, -393185, 10, -393184, 19, -393179, 3, -393178, 4, -393177, 4, -393176, 4, -393175, 4, -393174, 4, -393173, 4, -393172, 4, -393171, 4, -393170, 4, -393169, 5, -262151, 16, -327643, 20, -327642, 10, -327641, 10, -327640, 10, -327639, 10, -327638, 10, -327637, 10, -327636, 10, -327635, 10, -327634, 10, -327633, 19, -196633, 3, -196632, 4, -196631, 4, -196630, 4, -196629, 4, -196628, 4, -196627, 4, -196626, 4, -196625, 4, -196624, 4, -196623, 4, -196622, 5, -196618, 3, -196617, 4, -196616, 4, -196615, 4, -196614, 4, -196613, 4, -196612, 4, -196611, 4, -196610, 4, -196609, 4, -262144, 4, -262143, 4, -262142, 5, -131097, 9, -131096, 10, -131095, 10, -131094, 10, -131093, 10, -131092, 10, -131091, 10, -131090, 10, -131089, 10, -131088, 10, -131087, 10, -131086, 11, -131082, 9, -131081, 10, -131080, 10, -131079, 10, -131078, 10, -131077, 10, -131076, 10, -131075, 10, -131074, 10, -131073, 10, -196608, 10, -196607, 10, -196606, 11 ) +tile_data = IntArray( -2359279, 17, -2359278, 18, -2293744, 17, -2293743, 12, -2293742, 19, -2228209, 17, -2228208, 12, -2228207, 19, -2228204, 16, -2162674, 17, -2162673, 12, -2162672, 19, -2162667, 16, -2031641, 16, -2031640, 16, -2031639, 16, -2031638, 16, -2031637, 16, -2031636, 16, -2097139, 17, -2097138, 12, -2097137, 19, -1966100, 16, -2031611, 16, -2031610, 21, -2031605, 16, -2031603, 20, -2031602, 19, -1900563, 16, -1966074, 16, -1966073, 16, -1966072, 16, -1966071, 16, -1966070, 16, -1835027, 16, -1835026, 16, -1835025, 16, -1835010, 21, -1900542, 21, -1900540, 16, -1769505, 16, -1769503, 3, -1769502, 4, -1769501, 4, -1769500, 5, -1769497, 3, -1769496, 4, -1769495, 4, -1769494, 5, -1835007, 3, -1835006, 5, -1835004, 16, -1703967, 6, -1703966, 7, -1703965, 14, -1703964, 11, -1703961, 9, -1703960, 13, -1703959, 7, -1703958, 8, -1703950, 16, -1703949, 16, -1703948, 16, -1703947, 16, -1703946, 16, -1769471, 9, -1769470, 11, -1638433, 16, -1638431, 6, -1638430, 14, -1638429, 19, -1638424, 20, -1638423, 13, -1638422, 8, -1638420, 16, -1638406, 17, -1638405, 4, -1638404, 4, -1638403, 4, -1638402, 18, -1703913, 16, -1703911, 16, -1703909, 16, -1703907, 16, -1703893, 3, -1703892, 4, -1703891, 4, -1703890, 4, -1703889, 18, -1572895, 9, -1572894, 19, -1572887, 20, -1572886, 11, -1572871, 17, -1572870, 12, -1572869, 14, -1572868, 10, -1572867, 10, -1572866, 11, -1638369, 16, -1638367, 3, -1638366, 4, -1638365, 4, -1638364, 5, -1638358, 17, -1638357, 12, -1638356, 14, -1638355, 10, -1638354, 10, -1638353, 19, -1507361, 16, -1507356, 17, -1507355, 4, -1507354, 4, -1507353, 18, -1507336, 17, -1507335, 12, -1507334, 14, -1507333, 19, -1572831, 9, -1572830, 10, -1572829, 13, -1572828, 8, -1572823, 17, -1572822, 12, -1572821, 14, -1572820, 19, -1572815, 16, -1441820, 20, -1441819, 13, -1441818, 14, -1441817, 19, -1441809, 16, -1441801, 17, -1441800, 12, -1441799, 14, -1441798, 19, -1507293, 6, -1507292, 15, -1507291, 4, -1507290, 4, -1507289, 4, -1507288, 4, -1507287, 12, -1507286, 14, -1507285, 19, -1376283, 9, -1376282, 11, -1376265, 20, -1376264, 10, -1376263, 19, -1441788, 16, -1441784, 16, -1441781, 16, -1441778, 16, -1441773, 16, -1441771, 3, -1441770, 4, -1441769, 4, -1441768, 5, -1441766, 16, -1441765, 16, -1441757, 9, -1441756, 10, -1441755, 10, -1441754, 10, -1441753, 10, -1441752, 10, -1441751, 10, -1441750, 19, -1441745, 16, -1310740, 16, -1310735, 16, -1376255, 16, -1376239, 16, -1376235, 20, -1376234, 13, -1376233, 14, -1376232, 19, -1245206, 3, -1245205, 4, -1245204, 4, -1245203, 4, -1245202, 4, -1245201, 4, -1245200, 4, -1245199, 4, -1245198, 4, -1245197, 4, -1245196, 4, -1245195, 4, -1245194, 4, -1245193, 4, -1245192, 4, -1245191, 4, -1245190, 4, -1245189, 4, -1245188, 4, -1245187, 4, -1245186, 4, -1245185, 4, -1310720, 4, -1310719, 5, -1310698, 6, -1310697, 8, -1310691, 16, -1310690, 16, -1310671, 16, -1179677, 16, -1179676, 16, -1179675, 16, -1179674, 16, -1179673, 16, -1179670, 9, -1179669, 10, -1179668, 10, -1179667, 10, -1179666, 10, -1179665, 10, -1179664, 10, -1179663, 10, -1179662, 10, -1179661, 13, -1179660, 7, -1179659, 7, -1179658, 7, -1179657, 7, -1179656, 7, -1179655, 7, -1179654, 7, -1179653, 7, -1179652, 7, -1179651, 7, -1179650, 14, -1179649, 10, -1245184, 10, -1245183, 11, -1245179, 3, -1245178, 5, -1245168, 16, -1245162, 9, -1245161, 11, -1114125, 9, -1114124, 10, -1114123, 10, -1114122, 10, -1114121, 10, -1114120, 10, -1114119, 10, -1114118, 10, -1114117, 10, -1114116, 10, -1114115, 10, -1114114, 11, -1179643, 6, -1179642, 8, -1179615, 16, -1179601, 16, -1048608, 16, -1114107, 6, -1114106, 8, -1114098, 3, -1114097, 4, -1114096, 18, -983073, 16, -983063, 3, -983062, 4, -983061, 4, -983060, 4, -983059, 18, -1048571, 20, -1048570, 19, -1048562, 6, -1048561, 7, -1048560, 15, -1048559, 18, -1048527, 16, -917537, 3, -917536, 4, -917535, 4, -917534, 4, -917533, 4, -917532, 4, -917531, 18, -917527, 20, -917526, 10, -917525, 10, -917524, 10, -917523, 11, -917516, 16, -917512, 21, -983028, 16, -983026, 20, -983025, 10, -983024, 10, -983023, 11, -983022, 16, -983018, 16, -983014, 16, -983010, 16, -983009, 16, -983008, 16, -983007, 16, -983006, 16, -983001, 16, -852006, 3, -852005, 18, -852001, 9, -852000, 10, -851999, 10, -851998, 10, -851997, 10, -851996, 13, -851995, 15, -851994, 18, -851985, 16, -851983, 16, -851977, 3, -851976, 4, -851975, 4, -851974, 5, -917461, 3, -917460, 18, -917457, 16, -786470, 20, -786469, 15, -786468, 18, -786460, 20, -786459, 13, -786458, 15, -786457, 18, -786441, 9, -786440, 10, -786439, 10, -786438, 11, -851958, 16, -851931, 17, -851930, 5, -851926, 3, -851925, 14, -851924, 11, -851919, 16, -720933, 20, -720932, 15, -720931, 18, -720923, 20, -720922, 13, -720921, 15, -720920, 18, -786431, 16, -786428, 16, -786407, 16, -786406, 16, -786405, 16, -786404, 16, -786396, 17, -786395, 12, -786394, 8, -786390, 9, -786389, 19, -655396, 20, -655395, 19, -655386, 20, -655385, 13, -655384, 15, -655383, 4, -655382, 4, -655381, 4, -655380, 4, -655379, 18, -720888, 16, -720868, 16, -720861, 17, -720860, 12, -720859, 14, -720858, 11, -720853, 17, -720852, 18, -720849, 16, -589858, 16, -589849, 9, -589848, 10, -589847, 10, -589846, 10, -589845, 10, -589844, 13, -589843, 15, -589842, 4, -589841, 18, -589837, 16, -589832, 16, -589826, 17, -589825, 18, -655332, 16, -655326, 17, -655325, 12, -655324, 12, -655323, 11, -655318, 17, -655317, 12, -655316, 19, -524320, 16, -524308, 6, -524307, 7, -524306, 13, -524305, 15, -524304, 4, -524303, 4, -524302, 4, -524301, 4, -524300, 4, -524299, 4, -524298, 4, -524297, 4, -524296, 5, -524293, 3, -524292, 4, -524291, 4, -524290, 12, -524289, 15, -589824, 4, -589823, 4, -589822, 18, -589816, 21, -589791, 17, -589790, 12, -589789, 14, -589788, 11, -589782, 20, -589781, 19, -589775, 16, -458781, 16, -458773, 17, -458772, 12, -458771, 10, -458770, 10, -458769, 10, -458768, 10, -458767, 10, -458766, 10, -458765, 10, -458764, 10, -458763, 10, -458762, 10, -458761, 10, -458760, 11, -458757, 9, -458756, 10, -458755, 10, -458754, 10, -458753, 10, -524288, 10, -524287, 13, -524286, 15, -524285, 4, -524284, 4, -524283, 4, -524282, 4, -524281, 4, -524280, 4, -524279, 4, -524278, 4, -524277, 4, -524276, 18, -524269, 16, -524262, 21, -524256, 17, -524255, 12, -524254, 14, -524253, 11, -393238, 17, -393237, 12, -393236, 19, -393222, 16, -458751, 9, -458750, 10, -458749, 10, -458748, 10, -458747, 10, -458746, 10, -458745, 10, -458744, 10, -458743, 10, -458742, 10, -458741, 10, -458740, 15, -458739, 4, -458738, 4, -458737, 4, -458736, 4, -458735, 4, -458734, 4, -458733, 4, -458732, 4, -458731, 4, -458730, 4, -458729, 4, -458728, 4, -458727, 4, -458726, 4, -458725, 4, -458724, 4, -458723, 4, -458722, 4, -458721, 4, -458720, 12, -458719, 10, -458718, 11, -458716, 16, -458704, 16, -327706, 16, -327703, 16, -327702, 20, -327701, 19, -393204, 9, -393203, 10, -393202, 10, -393201, 10, -393200, 10, -393199, 10, -393198, 10, -393197, 10, -393196, 10, -393195, 10, -393194, 10, -393193, 10, -393192, 10, -393191, 10, -393190, 10, -393189, 10, -393188, 10, -393187, 10, -393186, 10, -393185, 10, -393184, 19, -393179, 3, -393178, 4, -393177, 4, -393176, 4, -393175, 4, -393174, 4, -393173, 4, -393172, 4, -393171, 4, -393170, 4, -393169, 5, -262151, 16, -262148, 21, -327643, 20, -327642, 10, -327641, 10, -327640, 10, -327639, 10, -327638, 10, -327637, 10, -327636, 10, -327635, 10, -327634, 10, -327633, 19, -196633, 3, -196632, 4, -196631, 4, -196630, 4, -196629, 4, -196628, 4, -196627, 4, -196626, 4, -196625, 4, -196624, 4, -196623, 4, -196622, 5, -196618, 3, -196617, 4, -196616, 4, -196615, 4, -196614, 4, -196613, 4, -196612, 4, -196611, 4, -196610, 4, -196609, 4, -262144, 4, -262143, 4, -262142, 5, -131097, 9, -131096, 10, -131095, 10, -131094, 10, -131093, 10, -131092, 10, -131091, 10, -131090, 10, -131089, 10, -131088, 10, -131087, 10, -131086, 11, -131082, 9, -131081, 10, -131080, 10, -131079, 10, -131078, 10, -131077, 10, -131076, 10, -131075, 10, -131074, 10, -131073, 10, -196608, 10, -196607, 10, -196606, 11 ) __meta__ = { "_edit_group_": true, "_edit_lock_": true @@ -88,7 +88,7 @@ dir_left = false [node name="Enemy4" parent="." instance=ExtResource( 3 )] -transform/pos = Vector2( -960, -1120 ) +transform/pos = Vector2( -1088, -1248 ) velocity = 200 dir_left = false @@ -250,91 +250,91 @@ amount = 20 [node name="Apple5" parent="." instance=ExtResource( 8 )] -transform/pos = Vector2( -2528, -688 ) +transform/pos = Vector2( -2816, -864 ) transform/scale = Vector2( 1, 0.999998 ) amount = 20 [node name="Apple6" parent="." instance=ExtResource( 8 )] -transform/pos = Vector2( -2480, -736 ) +transform/pos = Vector2( -2752, -928 ) transform/scale = Vector2( 1, 0.999998 ) amount = 20 [node name="Apple7" parent="." instance=ExtResource( 8 )] -transform/pos = Vector2( -2432, -784 ) +transform/pos = Vector2( -2688, -992 ) transform/scale = Vector2( 1, 0.999998 ) amount = 20 [node name="Apple9" parent="." instance=ExtResource( 8 )] -transform/pos = Vector2( -2304, -864 ) +transform/pos = Vector2( -2624, -1056 ) transform/scale = Vector2( 1, 0.999998 ) amount = 20 [node name="Apple4" parent="." instance=ExtResource( 8 )] -transform/pos = Vector2( 672, -4016 ) +transform/pos = Vector2( 704, -4384 ) transform/scale = Vector2( 1, 0.999998 ) amount = 20 [node name="Apple13" parent="." instance=ExtResource( 8 )] -transform/pos = Vector2( 688, -4096 ) +transform/pos = Vector2( 704, -4064 ) transform/scale = Vector2( 1, 0.999998 ) amount = 20 [node name="Apple14" parent="." instance=ExtResource( 8 )] -transform/pos = Vector2( 688, -4160 ) +transform/pos = Vector2( 704, -4128 ) transform/scale = Vector2( 1, 0.999998 ) amount = 20 [node name="Apple15" parent="." instance=ExtResource( 8 )] -transform/pos = Vector2( 688, -4224 ) +transform/pos = Vector2( 704, -4192 ) transform/scale = Vector2( 1, 0.999998 ) amount = 20 [node name="Apple16" parent="." instance=ExtResource( 8 )] -transform/pos = Vector2( 688, -4288 ) +transform/pos = Vector2( 704, -4256 ) transform/scale = Vector2( 1, 0.999998 ) amount = 20 [node name="Apple17" parent="." instance=ExtResource( 8 )] -transform/pos = Vector2( 640, -3936 ) +transform/pos = Vector2( 704, -4000 ) transform/scale = Vector2( 1, 0.999998 ) amount = 20 [node name="Apple18" parent="." instance=ExtResource( 8 )] -transform/pos = Vector2( 688, -4352 ) +transform/pos = Vector2( 704, -4320 ) transform/scale = Vector2( 1, 0.999998 ) amount = 20 [node name="Apple10" parent="." instance=ExtResource( 8 )] -transform/pos = Vector2( 2368, -4000 ) +transform/pos = Vector2( 2624, -4384 ) transform/scale = Vector2( 1, 0.999998 ) amount = 20 [node name="Apple11" parent="." instance=ExtResource( 8 )] -transform/pos = Vector2( 2496, -3872 ) +transform/pos = Vector2( 2752, -4256 ) transform/scale = Vector2( 1, 0.999998 ) amount = 20 [node name="Apple3" parent="." instance=ExtResource( 8 )] -transform/pos = Vector2( 3840, -2928 ) +transform/pos = Vector2( 3776, -2592 ) transform/scale = Vector2( 1, 0.999998 ) amount = 20 [node name="Apple8" parent="." instance=ExtResource( 8 )] -transform/pos = Vector2( 4352, -1312 ) +transform/pos = Vector2( 4672, -928 ) transform/scale = Vector2( 1, 0.999998 ) amount = 20 diff --git a/árbol.png b/árbol.png new file mode 100644 index 0000000..1b192cb Binary files /dev/null and b/árbol.png differ diff --git a/árbol.png~ b/árbol.png~ new file mode 100644 index 0000000..9f72bb4 Binary files /dev/null and b/árbol.png~ differ