From 8c0e8b5bf73caaf2fd6f04fb97b9c13f2970c431 Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 3 May 2024 13:59:15 +0200 Subject: update --- Scenes/Components/MapArea.gd | 29 ++++++++++++++++-------- Scenes/Components/TileMap.tscn | 16 ++++++++++++-- Scenes/Entities/Enemies/Flower.tscn | 2 ++ Scenes/Entities/Enemies/Flowers.gd | 2 +- Scenes/Entities/Enemies/Slime.tscn | 4 +++- Scenes/Entities/Objects/Wood.tscn | 2 +- Scenes/Global.gd | 1 + Scenes/Maps/Base01.tscn | 3 +++ Scenes/Maps/World3.gd | 35 +++++++++++++++++++++++++++++ Scenes/Maps/World3.tscn | 44 ++++++++++++++++++++++++++++++++----- Scenes/UI/Menu.gd | 3 ++- Scenes/Utilities.gd | 2 +- 12 files changed, 121 insertions(+), 22 deletions(-) diff --git a/Scenes/Components/MapArea.gd b/Scenes/Components/MapArea.gd index 4a69815..31e567a 100644 --- a/Scenes/Components/MapArea.gd +++ b/Scenes/Components/MapArea.gd @@ -40,11 +40,21 @@ func _on_body_entered(body): func _on_player_entered(player: Player): var exited_area = Global.last_area + if Global.last_area == self: + return + + if exited_area: + exited_area.set_collision_mask_value(Utilities.Collision.Layer.PLAYER, false) + $TileMap.process_mode = PROCESS_MODE_INHERIT $TileMap.visible = true self.adjust_camera_to_area(player) + if not player.get_parent() == $TileMap: + (func(): player.reparent($TileMap)).call_deferred() + + var position_tween: Tween if exited_area: exited_area.get_node("TileMap").process_mode = PROCESS_MODE_DISABLED @@ -53,13 +63,13 @@ func _on_player_entered(player: Player): var bounds: Rect2 = Utilities.get_collision_shape_bounds($CollisionShape2D) var sprite_direction = "" - if player.position.x <= bounds.position.x: + if player.global_position.x <= bounds.position.x: sprite_direction = "right" - elif player.position.x >= bounds.end.x: + elif player.global_position.x >= bounds.end.x: sprite_direction = "left" - elif player.position.y <= bounds.position.y: + elif player.global_position.y <= bounds.position.y: sprite_direction = "down" - elif player.position.y >= bounds.end.y: + elif player.global_position.y >= bounds.end.y: sprite_direction = "up" var sprite_tween = get_tree().create_tween().set_loops(5) @@ -68,16 +78,17 @@ func _on_player_entered(player: Player): sprite.play(sprite_direction) ) - var tween = get_tree().create_tween() - tween.tween_property( - player, "position", player.position + player.DIRECTION * 16, 1.25 + position_tween = get_tree().create_tween() + position_tween.tween_property( + player, "global_position", player.global_position + player.DIRECTION * 16, 1.25 ) - tween.tween_callback(func(): + position_tween.tween_callback(func(): exited_area.get_node("TileMap").visible = false sprite_tween.kill() sprite.play("idle_" + sprite_direction) + exited_area.set_collision_mask_value(Utilities.Collision.Layer.PLAYER, true) ) - + Global.last_area = self # TODO: handle different child entity groups inside TileMap diff --git a/Scenes/Components/TileMap.tscn b/Scenes/Components/TileMap.tscn index b1938a6..469c501 100644 --- a/Scenes/Components/TileMap.tscn +++ b/Scenes/Components/TileMap.tscn @@ -7565,6 +7565,7 @@ texture = ExtResource("4_gspqb") 31:8/0/physics_layer_1/linear_velocity = Vector2(0, 0) 31:8/0/physics_layer_1/angular_velocity = 0.0 32:8/0 = 0 +32:8/0/y_sort_origin = -8 32:8/0/physics_layer_0/linear_velocity = Vector2(0, 0) 32:8/0/physics_layer_0/angular_velocity = 0.0 32:8/0/physics_layer_1/linear_velocity = Vector2(0, 0) @@ -8407,6 +8408,7 @@ texture = ExtResource("4_gspqb") 12:12/0/physics_layer_1/linear_velocity = Vector2(0, 0) 12:12/0/physics_layer_1/angular_velocity = 0.0 13:12/0 = 0 +13:12/0/y_sort_origin = -8 13:12/0/physics_layer_0/linear_velocity = Vector2(0, 0) 13:12/0/physics_layer_0/angular_velocity = 0.0 13:12/0/physics_layer_1/linear_velocity = Vector2(0, 0) @@ -8436,6 +8438,7 @@ texture = ExtResource("4_gspqb") 17:12/0/physics_layer_1/linear_velocity = Vector2(0, 0) 17:12/0/physics_layer_1/angular_velocity = 0.0 18:12/0 = 0 +18:12/0/y_sort_origin = -8 18:12/0/physics_layer_0/linear_velocity = Vector2(0, 0) 18:12/0/physics_layer_0/angular_velocity = 0.0 18:12/0/physics_layer_1/linear_velocity = Vector2(0, 0) @@ -14400,6 +14403,7 @@ texture = ExtResource("5_8fova") 8:5/0/physics_layer_1/linear_velocity = Vector2(0, 0) 8:5/0/physics_layer_1/angular_velocity = 0.0 9:5/0 = 0 +9:5/0/y_sort_origin = -7 9:5/0/physics_layer_0/linear_velocity = Vector2(0, 0) 9:5/0/physics_layer_0/angular_velocity = 0.0 9:5/0/physics_layer_1/linear_velocity = Vector2(0, 0) @@ -51910,6 +51914,7 @@ texture = ExtResource("4_gfgm6") 19:28/0/terrain = 1 19:28/0/physics_layer_0/linear_velocity = Vector2(0, 0) 19:28/0/physics_layer_0/angular_velocity = 0.0 +19:28/0/physics_layer_0/polygon_0/points = PackedVector2Array(-8, -5.5, 6.125, -5.625, 6.125, 5.125, -8, 5.125) 19:28/0/physics_layer_1/linear_velocity = Vector2(0, 0) 19:28/0/physics_layer_1/angular_velocity = 0.0 19:28/0/terrains_peering_bit/left_side = 1 @@ -51918,6 +51923,7 @@ texture = ExtResource("4_gfgm6") 20:28/0/terrain = 1 20:28/0/physics_layer_0/linear_velocity = Vector2(0, 0) 20:28/0/physics_layer_0/angular_velocity = 0.0 +20:28/0/physics_layer_0/polygon_0/points = PackedVector2Array(-6.125, -4.625, 8, -4.875, 8, 4.625, -6.375, 4.875) 20:28/0/physics_layer_1/linear_velocity = Vector2(0, 0) 20:28/0/physics_layer_1/angular_velocity = 0.0 20:28/0/terrains_peering_bit/right_side = 1 @@ -65175,7 +65181,6 @@ pattern_3 = SubResource("TileMapPattern_yvluu") pattern_4 = SubResource("TileMapPattern_8dacc") [node name="TileMap" type="TileMap"] -process_mode = 4 z_index = -1 y_sort_enabled = true texture_filter = 1 @@ -65188,6 +65193,7 @@ layer_1/y_sort_enabled = true layer_1/z_index = 1 layer_1/tile_data = PackedInt32Array() layer_2/name = "Environment Bottom" +layer_2/y_sort_enabled = true layer_2/tile_data = PackedInt32Array() layer_3/name = "Environment Middle" layer_3/y_sort_enabled = true @@ -65197,9 +65203,15 @@ layer_4/name = "Environment Top" layer_4/z_index = 2 layer_4/tile_data = PackedInt32Array() layer_5/name = "Mountain" -layer_5/z_index = -1 +layer_5/y_sort_enabled = true layer_5/tile_data = PackedInt32Array() layer_6/name = "Mountain 2" layer_6/z_index = -1 layer_6/tile_data = PackedInt32Array() +layer_7/name = "Mountain 3" +layer_7/z_index = 2 +layer_7/tile_data = PackedInt32Array() +layer_8/name = "Mountain 4" +layer_8/z_index = 4 +layer_8/tile_data = PackedInt32Array() script = ExtResource("3_e12vf") diff --git a/Scenes/Entities/Enemies/Flower.tscn b/Scenes/Entities/Enemies/Flower.tscn index 71f61e9..e67f9ee 100644 --- a/Scenes/Entities/Enemies/Flower.tscn +++ b/Scenes/Entities/Enemies/Flower.tscn @@ -100,6 +100,7 @@ collision_mask = 184 script = ExtResource("1_0uei7") [node name="Body" type="Node2D" parent="."] +position = Vector2(0, 5) metadata/_edit_group_ = true [node name="Bottom" type="AnimatedSprite2D" parent="Body"] @@ -112,6 +113,7 @@ position = Vector2(0, -8) sprite_frames = SubResource("SpriteFrames_sokwy") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] +visible = false position = Vector2(0, -6) shape = SubResource("CapsuleShape2D_tq41g") diff --git a/Scenes/Entities/Enemies/Flowers.gd b/Scenes/Entities/Enemies/Flowers.gd index d18a244..5f8e974 100644 --- a/Scenes/Entities/Enemies/Flowers.gd +++ b/Scenes/Entities/Enemies/Flowers.gd @@ -20,7 +20,7 @@ var flowers: Array = [] func _ready(): $Timer.wait_time = mode_duration - $CollisionShape2D.shape.radius = max_radius + 16 # + tile width + $CollisionShape2D.shape.radius = max_radius + 16*0.5 # + tile width * 0.5 var FlowerScene = preload("res://Scenes/Entities/Enemies/Flower.tscn") diff --git a/Scenes/Entities/Enemies/Slime.tscn b/Scenes/Entities/Enemies/Slime.tscn index 50927b3..558b736 100644 --- a/Scenes/Entities/Enemies/Slime.tscn +++ b/Scenes/Entities/Enemies/Slime.tscn @@ -15,7 +15,7 @@ [ext_resource type="PackedScene" uid="uid://b3i372vgdbxk" path="res://Scenes/Entities/Enemies/Components/Health.tscn" id="8_klsy3"] [sub_resource type="CircleShape2D" id="CircleShape2D_f54tg"] -radius = 7.0 +radius = 6.0 [sub_resource type="SpriteFrames" id="SpriteFrames_4e1a7"] animations = [{ @@ -71,10 +71,12 @@ collision_mask = 188 script = ExtResource("1_2xftl") [node name="CollisionShape2D" type="CollisionShape2D" parent="."] +position = Vector2(0, -6) shape = SubResource("CircleShape2D_f54tg") [node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."] texture_filter = 1 +position = Vector2(0, -6.25) sprite_frames = SubResource("SpriteFrames_4e1a7") [node name="Movement" parent="." instance=ExtResource("6_u48ct")] diff --git a/Scenes/Entities/Objects/Wood.tscn b/Scenes/Entities/Objects/Wood.tscn index 23ba656..d9cd90e 100644 --- a/Scenes/Entities/Objects/Wood.tscn +++ b/Scenes/Entities/Objects/Wood.tscn @@ -4,7 +4,6 @@ [sub_resource type="CapsuleShape2D" id="CapsuleShape2D_1je2f"] radius = 7.0 -height = 60.0 [node name="Wood" type="StaticBody2D"] z_index = -1 @@ -14,6 +13,7 @@ collision_mask = 30 [node name="Sprite2D" type="Sprite2D" parent="."] texture_filter = 1 +scale = Vector2(1, 0.5) texture = ExtResource("1_khy0w") region_enabled = true region_rect = Rect2(912, 0, 16, 64) diff --git a/Scenes/Global.gd b/Scenes/Global.gd index 7d0a26a..2a18087 100644 --- a/Scenes/Global.gd +++ b/Scenes/Global.gd @@ -3,3 +3,4 @@ extends Node var player: Player var last_area: Area2D +var current_area: Area2D diff --git a/Scenes/Maps/Base01.tscn b/Scenes/Maps/Base01.tscn index 94eee0c..2210414 100644 --- a/Scenes/Maps/Base01.tscn +++ b/Scenes/Maps/Base01.tscn @@ -33,4 +33,7 @@ targetPlayerPositionNodePath = "Areas/Beta02/Transitions/Base01" [node name="In" type="Node2D" parent="Areas/MapArea/Transitions"] position = Vector2(120, 152) +[node name="InitialPlayerPosition" type="Node2D" parent="."] +position = Vector2(120, 152) + [editable path="Areas/MapArea"] diff --git a/Scenes/Maps/World3.gd b/Scenes/Maps/World3.gd index ad92435..d9e8399 100644 --- a/Scenes/Maps/World3.gd +++ b/Scenes/Maps/World3.gd @@ -14,13 +14,48 @@ func _ready(): get_node("Areas/Beta01/Objects/Button").connect("pressed", func(): get_node("Areas/Beta01/Objects").remove_child(get_node("Areas/Beta01/Objects/Wood")) ) + #get_node("Areas/Beta01/Objects").remove_child(get_node("Areas/Beta01/Objects/Wood")) get_node("Areas/Beta01/Objects/Button2").connect("pressed", func(): get_node("Areas/Beta01/Objects").remove_child(get_node("Areas/Beta01/Objects/Wood2")) ) + #get_node("Areas/Beta01/Objects").remove_child(get_node("Areas/Beta01/Objects/Wood2")) get_node("Areas/Beta02/Objects/Button").connect("pressed", func(): get_node("Areas/Beta02/Objects").remove_child(get_node("Areas/Beta02/Objects/Wood")) ) + #get_node("Areas/Beta02/Objects").remove_child(get_node("Areas/Beta02/Objects/Wood")) get_node("Areas/Beta02/Objects/Button2").connect("pressed", func(): get_node("Areas/Beta02/Objects").remove_child(get_node("Areas/Beta02/Objects/Wood2")) ) + #get_node("Areas/Beta02/Objects").remove_child(get_node("Areas/Beta02/Objects/Wood2")) + + get_node("Areas/Beta01/Transitions/Height1").body_entered.connect(func(body): + body.z_index = 3 + if body is Player: + print(body.z_index) + ) + get_node("Areas/Beta01/Transitions/Height1").body_exited.connect(func(body): + body.z_index = 0 + if body is Player: + print(body.z_index) + ) + get_node("Areas/Beta01/Transitions/Height2").body_entered.connect(func(body): + body.z_index = 5 + if body is Player: + print(body.z_index) + ) + get_node("Areas/Beta01/Transitions/Height2").body_exited.connect(func(body): + body.z_index = 3 + if body is Player: + print(body.z_index) + ) + get_node("Areas/Beta02/Transitions/Height1").body_entered.connect(func(body): + body.z_index = 3 + if body is Player: + print(body.z_index) + ) + get_node("Areas/Beta02/Transitions/Height1").body_exited.connect(func(body): + body.z_index = 0 + if body is Player: + print(body.z_index) + ) diff --git a/Scenes/Maps/World3.tscn b/Scenes/Maps/World3.tscn index 640c624..cfb3e7c 100644 --- a/Scenes/Maps/World3.tscn +++ b/Scenes/Maps/World3.tscn @@ -369,7 +369,7 @@ position = Vector2(-664, -456) [node name="TileMap" parent="Areas/Beta" index="0"] position = Vector2(-832, -896) layer_0/tile_data = PackedInt32Array(-196624, 7, 3, -131088, 131079, 3, -65552, 7, 3, -16, 65543, 3, 65520, 7, 3, 131056, 65543, 3, 196592, 65543, 3, 262128, 131079, 3, 327664, 131079, 3, 393200, 131079, 3, 458736, 7, 3, 524272, 65543, 3, 589808, 65543, 3, 655344, 65543, 3, 720880, 7, 3, 786416, 7, 3, 851952, 131079, 3, 917488, 131079, 3, 983024, 7, 3, 1048560, 65543, 3, -196623, 131079, 3, -131087, 65543, 3, -65551, 7, 3, -15, 131079, 3, 65521, 65543, 3, 131057, 7, 3, 196593, 7, 3, 262129, 327687, 3, 327665, 327687, 4, 393201, 327687, 5, 458737, 7, 3, 524273, 131079, 3, 589809, 131079, 3, 655345, 65543, 3, 720881, 7, 3, 786417, 131079, 3, 851953, 7, 3, 917489, 7, 3, 983025, 7, 3, 1048561, 7, 3, -196622, 131079, 3, -131086, 7, 3, -65550, 65543, 3, -14, 65543, 3, 65522, 7, 3, 131058, 65543, 3, 196594, 7, 3, 262130, 393223, 3, 327666, 393223, 4, 393202, 458759, 6, 458738, 327687, 4, 524274, 327687, 4, 589810, 327687, 4, 655346, 327687, 4, 720882, 327687, 4, 786418, 327687, 4, 851954, 327687, 4, 917490, 327687, 5, 983026, 131079, 3, 1048562, 131079, 3, -196621, 7, 3, -131085, 65543, 3, -65549, 7, 3, -13, 131079, 3, 65523, 7, 3, 131059, 65543, 3, 196595, 65543, 3, 262131, 393223, 3, 327667, 393223, 4, 393203, 393223, 4, 458739, 393223, 4, 524275, 393223, 4, 589811, 393223, 4, 655347, 393223, 4, 720883, 393223, 4, 786419, 393223, 4, 851955, 393223, 4, 917491, 393223, 5, 983027, 7, 3, 1048563, 7, 3, -196620, 7, 3, -131084, 65543, 3, -65548, 7, 3, -12, 131079, 3, 65524, 7, 3, 131060, 131079, 3, 196596, 131079, 3, 262132, 393223, 3, 327668, 393223, 4, 393204, 393223, 6, 458740, 458759, 4, 524276, 458759, 4, 589812, 458759, 4, 655348, 458759, 4, 720884, 458759, 4, 786420, 393223, 7, 851956, 393223, 4, 917492, 393223, 5, 983028, 131079, 3, 1048564, 65543, 3, -196619, 131079, 3, -131083, 65543, 3, -65547, 7, 3, -11, 131079, 3, 65525, 65543, 3, 131061, 7, 3, 196597, 7, 3, 262133, 393223, 3, 327669, 393223, 4, 393205, 393223, 5, 458741, 131079, 3, 524277, 131079, 3, 589813, 65543, 3, 655349, 65543, 3, 720885, 131079, 3, 786421, 393223, 3, 851957, 393223, 4, 917493, 393223, 5, 983029, 65543, 3, 1048565, 131079, 3, -196618, 131079, 3, -131082, 65543, 3, -65546, 131079, 3, -10, 7, 3, 65526, 7, 3, 131062, 327687, 3, 196598, 327687, 4, 262134, 458759, 7, 327670, 393223, 4, 393206, 393223, 5, 458742, 131079, 3, 524278, 65543, 3, 589814, 131079, 3, 655350, 65543, 3, 720886, 65543, 3, 786422, 393223, 3, 851958, 393223, 4, 917494, 393223, 5, 983030, 7, 3, 1048566, 7, 3, -196617, 7, 3, -131081, 7, 3, -65545, 7, 3, -9, 131079, 3, 65527, 131079, 3, 131063, 393223, 3, 196599, 393223, 4, 262135, 393223, 4, 327671, 393223, 4, 393207, 393223, 5, 458743, 65543, 3, 524279, 131079, 3, 589815, 131079, 3, 655351, 7, 3, 720887, 7, 3, 786423, 393223, 3, 851959, 393223, 4, 917495, 393223, 5, 983031, 131079, 3, 1048567, 65543, 3, -196616, 7, 3, -131080, 131079, 3, -65544, 65543, 3, -8, 7, 3, 65528, 65543, 3, 131064, 458759, 3, 196600, 458759, 4, 262136, 393223, 7, 327672, 393223, 4, 393208, 393223, 5, 458744, 7, 3, 524280, 7, 3, 589816, 7, 3, 655352, 131079, 3, 720888, 327687, 3, 786424, 458759, 7, 851960, 393223, 4, 917496, 393223, 5, 983032, 131079, 3, 1048568, 7, 3, -196615, 7, 3, -131079, 131079, 3, -65543, 131079, 3, -7, 7, 3, 65529, 65543, 3, 131065, 7, 3, 196601, 7, 3, 262137, 393223, 3, 327673, 393223, 4, 393209, 393223, 5, 458745, 7, 3, 524281, 65543, 3, 589817, 131079, 3, 655353, 65543, 3, 720889, 393223, 3, 786425, 393223, 4, 851961, 393223, 4, 917497, 393223, 5, 983033, 131079, 3, 1048569, 65543, 3, -196614, 131079, 3, -131078, 131079, 3, -65542, 65543, 3, -6, 65543, 3, 65530, 131079, 3, 131066, 65543, 3, 196602, 7, 3, 262138, 393223, 3, 327674, 393223, 4, 393210, 393223, 5, 458746, 131079, 3, 524282, 65543, 3, 589818, 7, 3, 655354, 131079, 3, 720890, 458759, 3, 786426, 393223, 7, 851962, 393223, 4, 917498, 393223, 5, 983034, 131079, 3, 1048570, 65543, 3, -196613, 7, 3, -131077, 65543, 3, -65541, 131079, 3, -5, 131079, 3, 65531, 131079, 3, 131067, 65543, 3, 196603, 131079, 3, 262139, 393223, 3, 327675, 393223, 4, 393211, 393223, 5, 458747, 131079, 3, 524283, 65543, 3, 589819, 65543, 3, 655355, 65543, 3, 720891, 7, 3, 786427, 393223, 3, 851963, 393223, 4, 917499, 393223, 5, 983035, 131079, 3, 1048571, 7, 3, -196612, 7, 3, -131076, 131079, 3, -65540, 131079, 3, -4, 7, 3, 65532, 131079, 3, 131068, 131079, 3, 196604, 131079, 3, 262140, 393223, 3, 327676, 393223, 4, 393212, 393223, 5, 458748, 131079, 3, 524284, 7, 3, 589820, 7, 3, 655356, 131079, 3, 720892, 131079, 3, 786428, 393223, 3, 851964, 393223, 4, 917500, 393223, 5, 983036, 65543, 3, 1048572, 65543, 3, -196611, 65543, 3, -131075, 65543, 3, -65539, 7, 3, -3, 131079, 3, 65533, 131079, 3, 131069, 7, 3, 196605, 65543, 3, 262141, 393223, 3, 327677, 393223, 4, 393213, 393223, 5, 458749, 7, 3, 524285, 131079, 3, 589821, 131079, 3, 655357, 7, 3, 720893, 131079, 3, 786429, 393223, 3, 851965, 393223, 4, 917501, 393223, 5, 983037, 65543, 3, 1048573, 65543, 3, -196610, 7, 3, -131074, 7, 3, -65538, 65543, 3, -2, 7, 3, 65534, 65543, 3, 131070, 131079, 3, 196606, 131079, 3, 262142, 393223, 3, 327678, 393223, 4, 393214, 393223, 5, 458750, 131079, 3, 524286, 131079, 3, 589822, 65543, 3, 655358, 65543, 3, 720894, 65543, 3, 786430, 393223, 3, 851966, 393223, 4, 917502, 393223, 5, 983038, 65543, 3, 1048574, 131079, 3, -196609, 7, 3, -131073, 131079, 3, -65537, 131079, 3, -1, 65543, 3, 65535, 65543, 3, 131071, 131079, 3, 196607, 131079, 3, 262143, 393223, 3, 327679, 393223, 4, 393215, 393223, 5, 458751, 7, 3, 524287, 7, 3, 589823, 7, 3, 655359, 131079, 3, 720895, 65543, 3, 786431, 393223, 3, 851967, 393223, 4, 917503, 393223, 5, 983039, 131079, 3, 1048575, 65543, 3, -262144, 7, 3, -196608, 7, 3, -131072, 7, 3, -65536, 65543, 3, 0, 131079, 3, 65536, 131079, 3, 131072, 131079, 3, 196608, 393223, 3, 262144, 393223, 4, 327680, 393223, 5, 393216, 65543, 3, 458752, 131079, 3, 524288, 65543, 3, 589824, 7, 3, 655360, 65543, 3, 720896, 393223, 3, 786432, 393223, 4, 851968, 393223, 5, 917504, 131079, 3, 983040, 131079, 3, -262143, 65543, 3, -196607, 65543, 3, -131071, 131079, 3, -65535, 131079, 3, 1, 131079, 3, 65537, 131079, 3, 131073, 65543, 3, 196609, 393223, 3, 262145, 393223, 4, 327681, 393223, 5, 393217, 65543, 3, 458753, 131079, 3, 524289, 7, 3, 589825, 65543, 3, 655361, 327687, 3, 720897, 458759, 7, 786433, 393223, 4, 851969, 393223, 5, 917505, 7, 3, 983041, 65543, 3, -262142, 7, 3, -196606, 7, 3, -131070, 65543, 3, -65534, 7, 3, 2, 131079, 3, 65538, 7, 3, 131074, 65543, 3, 196610, 393223, 3, 262146, 393223, 4, 327682, 393223, 5, 393218, 65543, 3, 458754, 65543, 3, 524290, 7, 3, 589826, 7, 3, 655362, 393223, 3, 720898, 393223, 4, 786434, 393223, 4, 851970, 393223, 5, 917506, 131079, 3, 983042, 65543, 3, -262141, 65543, 3, -196605, 131079, 3, -131069, 131079, 3, -65533, 131079, 3, 3, 131079, 3, 65539, 65543, 3, 131075, 65543, 3, 196611, 393223, 3, 262147, 393223, 4, 327683, 393223, 5, 393219, 7, 3, 458755, 131079, 3, 524291, 65543, 3, 589827, 131079, 3, 655363, 458759, 3, 720899, 393223, 7, 786435, 393223, 4, 851971, 393223, 5, 917507, 131079, 3, 983043, 131079, 3, -262140, 131079, 3, -196604, 7, 3, -131068, 65543, 3, -65532, 65543, 3, 4, 65543, 3, 65540, 131079, 3, 131076, 7, 3, 196612, 393223, 3, 262148, 393223, 4, 327684, 393223, 5, 393220, 7, 3, 458756, 131079, 3, 524292, 7, 3, 589828, 7, 3, 655364, 65543, 3, 720900, 393223, 3, 786436, 393223, 4, 851972, 393223, 5, 917508, 7, 3, 983044, 65543, 3, -262139, 131079, 3, -196603, 65543, 3, -131067, 131079, 3, -65531, 131079, 3, 5, 7, 3, 65541, 65543, 3, 131077, 7, 3, 196613, 393223, 3, 262149, 393223, 4, 327685, 458759, 6, 393221, 327687, 4, 458757, 327687, 4, 524293, 327687, 4, 589829, 327687, 4, 655365, 327687, 4, 720901, 458759, 7, 786437, 393223, 4, 851973, 393223, 5, 917509, 7, 3, 983045, 7, 3, -262138, 7, 3, -196602, 65543, 3, -131066, 131079, 3, -65530, 7, 3, 6, 65543, 3, 65542, 65543, 3, 131078, 131079, 3, 196614, 393223, 3, 262150, 393223, 4, 327686, 393223, 4, 393222, 393223, 4, 458758, 393223, 4, 524294, 393223, 4, 589830, 393223, 4, 655366, 393223, 4, 720902, 393223, 4, 786438, 393223, 4, 851974, 393223, 5, 917510, 7, 3, 983046, 131079, 3, -262137, 131079, 3, -196601, 131079, 3, -131065, 131079, 3, -65529, 131079, 3, 7, 65543, 3, 65543, 65543, 3, 131079, 7, 3, 196615, 393223, 3, 262151, 393223, 4, 327687, 393223, 6, 393223, 458759, 4, 458759, 458759, 4, 524295, 458759, 4, 589831, 458759, 4, 655367, 458759, 4, 720903, 458759, 4, -262136, 65543, 3, -196600, 7, 3, -131064, 65543, 3, -65528, 7, 3, 8, 7, 3, 65544, 131079, 3, 131080, 65543, 3, 196616, 393223, 3, 262152, 393223, 4, 327688, 393223, 5, 393224, 65543, 3, 458760, 7, 3, 524296, 7, 3, 589832, 65543, 3, 655368, 131079, 3, 720904, 131079, 3, 786440, 131079, 3, 983048, 7, 3, -262135, 65543, 3, -196599, 131079, 3, -131063, 65543, 3, -65527, 131079, 3, 9, 7, 3, 65545, 65543, 3, 131081, 65543, 3, 196617, 393223, 3, 262153, 393223, 4, 327689, 393223, 5, 393225, 131079, 3, 458761, 131079, 3, 524297, 65543, 3, 589833, 131079, 3, 655369, 65543, 3, 720905, 131079, 3, 786441, 131079, 3, 851977, 131079, 3, 917513, 131079, 3, 983049, 65543, 3, -262134, 7, 3, -196598, 65543, 3, -131062, 7, 3, -65526, 131079, 3, 10, 7, 3, 65546, 65543, 3, 131082, 7, 3, 196618, 393223, 3, 262154, 393223, 4, 327690, 393223, 5, 393226, 65543, 3, 458762, 65543, 3, 524298, 131079, 3, 589834, 7, 3, 655370, 131079, 3, 720906, 7, 3, 786442, 65543, 3, 851978, 131079, 3, 917514, 7, 3, 983050, 131079, 3, -262133, 131079, 3, -196597, 131079, 3, -131061, 7, 3, -65525, 7, 3, 11, 7, 3, 65547, 7, 3, 131083, 7, 3, 196619, 393223, 3, 262155, 393223, 4, 327691, 393223, 5, 393227, 65543, 3, 458763, 65543, 3, 524299, 131079, 3, 589835, 131079, 3, 655371, 131079, 3, 720907, 7, 3, 786443, 65543, 3, 851979, 65543, 3, 917515, 131079, 3, 983051, 131079, 3, -262132, 65543, 3, -196596, 7, 3, -131060, 7, 3, -65524, 65543, 3, 12, 65543, 3, 65548, 7, 3, 131084, 7, 3, 196620, 393223, 3, 262156, 393223, 4, 327692, 393223, 5, 393228, 65543, 3, 458764, 7, 3, 524300, 131079, 3, 589836, 131079, 3, 655372, 131079, 3, 720908, 65543, 3, 786444, 7, 3, 851980, 7, 3, 917516, 7, 3, 983052, 131079, 3, -262131, 65543, 3, -196595, 7, 3, -131059, 131079, 3, -65523, 65543, 3, 13, 65543, 3, 65549, 327687, 3, 131085, 327687, 4, 196621, 458759, 7, 262157, 393223, 4, 327693, 458759, 6, 393229, 327687, 4, 458765, 327687, 4, 524301, 327687, 4, 589837, 327687, 4, 655373, 327687, 4, 720909, 327687, 4, 786445, 327687, 4, 851981, 327687, 4, 917517, 327687, 4, 983053, 327687, 5, -262130, 7, 3, -196594, 7, 3, -131058, 65543, 3, -65522, 65543, 3, 14, 131079, 3, 65550, 393223, 3, 131086, 393223, 4, 196622, 393223, 4, 262158, 393223, 4, 327694, 393223, 4, 393230, 393223, 4, 458766, 393223, 4, 524302, 393223, 4, 589838, 393223, 4, 655374, 393223, 4, 720910, 393223, 4, 786446, 393223, 4, 851982, 393223, 4, 917518, 393223, 4, 983054, 393223, 5, -262129, 65543, 3, -196593, 65543, 3, -131057, 131079, 3, -65521, 131079, 3, 15, 65543, 3, 65551, 458759, 3, 131087, 458759, 4, 196623, 393223, 7, 262159, 393223, 4, 327695, 393223, 4, 393231, 393223, 4, 458767, 393223, 4, 524303, 393223, 4, 589839, 393223, 4, 655375, 393223, 4, 720911, 393223, 4, 786447, 393223, 4, 851983, 393223, 4, 917519, 393223, 4, 983055, 393223, 5, -262128, 131079, 3, -196592, 7, 3, -131056, 131079, 3, -65520, 7, 3, 16, 65543, 3, 65552, 7, 3, 131088, 131079, 3, 196624, 458759, 3, 262160, 458759, 4, 327696, 458759, 4, 393232, 458759, 4, 458768, 458759, 4, 524304, 458759, 4, 589840, 458759, 4, 655376, 458759, 4, 720912, 458759, 4, 786448, 458759, 4, 851984, 458759, 4, 917520, 458759, 4, 983056, 458759, 5, -262127, 131079, 3, -196591, 131079, 3, -131055, 7, 3, -65519, 131079, 3, 17, 131079, 3, 65553, 7, 3, 131089, 131079, 3, 196625, 65543, 3, 262161, 131079, 3, 327697, 7, 3, 393233, 7, 3, 458769, 131079, 3, 524305, 7, 3, 589841, 7, 3, 655377, 7, 3, 720913, 131079, 3, 786449, 131079, 3, 851985, 131079, 3, 917521, 131079, 3, 983057, 131079, 3, -262126, 131079, 3, -196590, 131079, 3, -131054, 65543, 3, -65518, 7, 3, 18, 131079, 3, 65554, 7, 3, 131090, 7, 3, 196626, 131079, 3, 262162, 131079, 3, 327698, 131079, 3, 393234, 65543, 3, 458770, 7, 3, 524306, 131079, 3, 589842, 65543, 3, 655378, 131079, 3, 720914, 131079, 3, 786450, 65543, 3, 851986, 65543, 3, 917522, 65543, 3, 983058, 65543, 3, -262125, 7, 3, -196589, 131079, 3, -131053, 7, 3, -65517, 131079, 3, 19, 7, 3, 65555, 65543, 3, 131091, 65543, 3, 196627, 131079, 3, 262163, 65543, 3, 327699, 7, 3, 393235, 131079, 3, 458771, 131079, 3, 524307, 7, 3, 589843, 65543, 3, 655379, 131079, 3, 720915, 131079, 3, 786451, 131079, 3, 851987, 7, 3, 917523, 131079, 3, 983059, 7, 3, -262124, 65543, 3, -196588, 65543, 3, -131052, 7, 3, -65516, 7, 3, 20, 7, 3, 65556, 7, 3, 131092, 65543, 3, 196628, 7, 3, 262164, 131079, 3, 327700, 7, 3, 393236, 131079, 3, 458772, 65543, 3, 524308, 7, 3, 589844, 131079, 3, 655380, 65543, 3, 720916, 131079, 3, 786452, 131079, 3, 851988, 131079, 3, 917524, 7, 3, 983060, 131079, 3, -262123, 7, 3, -196587, 7, 3, -131051, 131079, 3, -65515, 7, 3, 21, 131079, 3, 65557, 65543, 3, 131093, 7, 3, 196629, 131079, 3, 262165, 131079, 3, 327701, 131079, 3, 393237, 65543, 3, 458773, 65543, 3, 524309, 131079, 3, 589845, 7, 3, 655381, 131079, 3, 720917, 65543, 3, 786453, 131079, 3, 851989, 131079, 3, 917525, 7, 3, 983061, 65543, 3, 851976, 7, 3, 917512, 131079, 3, 786439, 458759, 4, 851975, 458759, 5, 917511, 65543, 3, 983047, 65543, 3, -262160, 65543, 3, -262159, 65543, 3, -262158, 131079, 3, -262157, 7, 3, -262156, 131079, 3, -262155, 7, 3, -262154, 131079, 3, -262153, 7, 3, -262152, 7, 3, -262151, 65543, 3, -262150, 65543, 3, -262149, 131079, 3, -262148, 7, 3, -262147, 65543, 3, -262146, 131079, 3, -262145, 7, 3, -327680, 131079, 3, -327679, 131079, 3, -327678, 65543, 3, -327677, 7, 3, -327676, 7, 3, -327675, 131079, 3, -327674, 7, 3, -327673, 65543, 3, -327672, 7, 3, -327671, 7, 3, -327670, 7, 3, -327669, 7, 3, -327668, 65543, 3, -327667, 65543, 3, -327666, 131079, 3, -327665, 7, 3, -327664, 7, 3, -327663, 7, 3, -327662, 131079, 3, -327661, 7, 3, -327660, 131079, 3, -327659, 65543, 3) -layer_2/tile_data = PackedInt32Array(458755, 917507, 9, 524291, 917507, 10, 589827, 917507, 11, 655363, 917507, 12, 524282, 917507, 9, 589818, 917507, 10, 655354, 917507, 11, 720890, 917507, 12, 524278, 655363, 9, 589814, 655363, 10, 655350, 655363, 11, 720886, 655363, 12, 524279, 720899, 9, 589815, 720899, 10, 655351, 720899, 11, 720887, 720899, 12, 524280, 786435, 9, 589816, 786435, 10, 655352, 786435, 11, 720888, 786435, 12, 524281, 851971, 9, 589817, 851971, 10, 655353, 851971, 11, 720889, 851971, 12, 524287, 655363, 9, 589823, 655363, 10, 655359, 655363, 11, 720895, 655363, 12, 458752, 720899, 9, 524288, 720899, 10, 589824, 720899, 11, 655360, 720899, 12, 458753, 786435, 9, 524289, 786435, 10, 589825, 786435, 11, 655361, 786435, 12, 458754, 851971, 9, 524290, 851971, 10, 589826, 851971, 11, 655362, 851971, 12, -65548, 983043, 9, -12, 983043, 10, 65524, 983043, 11, 131060, 983043, 12, -65547, 1048579, 9, -11, 1048579, 10, 65525, 1048579, 11, 131061, 1048579, 12, -65546, 1114115, 9, -10, 1114115, 10, 65526, 1114115, 11, 131062, 1114115, 12, -65545, 1179651, 9, -9, 1179651, 10, 65527, 1179651, 11, 131063, 1179651, 12, -65544, 1245187, 9, -8, 1245187, 10, 65528, 1245187, 11, 131064, 1245187, 12, 131057, 851973, 5, 196593, 851973, 6, 131085, 1245191, 28, 131084, 1114119, 28, 131083, 1114119, 28, 131082, 1048583, 28, -196598, 1048583, 26, -196597, 1114119, 28, -196596, 1114119, 28, -196595, 1114119, 28, -196594, 1114119, 28, -196593, 1114119, 28, -196592, 1179655, 26, 131087, 1310727, 28, 131088, 1179655, 28, -131056, 1179655, 27, -65520, 1179655, 27, 16, 1179655, 27, 65552, 1179655, 27, -131062, 1048583, 27, -65526, 1048583, 27, 10, 1048583, 27, 65546, 1048583, 27, -131061, 983043, 9, -65525, 983043, 10, 11, 983043, 11, 65547, 983043, 12, -131060, 1048579, 9, -65524, 1048579, 10, 12, 1048579, 11, 65548, 1048579, 12, -131059, 1114115, 9, -65523, 1114115, 10, 13, 1114115, 11, 65549, 1114115, 12, -131058, 1179651, 9, -65522, 1179651, 10, 14, 1179651, 11, 65550, 1179651, 12, -131057, 1245187, 9, -65521, 1245187, 10, 15, 1245187, 11, 65551, 1245187, 12, -131085, 1048583, 26, -65549, 1048583, 27, -13, 1048583, 27, 65523, 1048583, 27, 131059, 1048583, 27, 196595, 1048583, 28, -131084, 1114119, 26, 196596, 1114119, 28, -131083, 1114119, 26, 196597, 1114119, 28, -131082, 1114119, 26, 196598, 1245191, 28, -131081, 1114119, 26, -131080, 1114119, 26, 196600, 1310727, 28, -131079, 1179655, 26, -65543, 1179655, 27, -7, 1179655, 27, 65529, 1179655, 27, 131065, 1179655, 27, 196601, 1179655, 28, 458741, 1048583, 26, 524277, 1048583, 27, 589813, 1048583, 27, 655349, 1048583, 27, 720885, 1048583, 27, 786421, 1048583, 28, 458742, 1114119, 26, 786422, 1114119, 28, 458743, 1114119, 26, 786423, 1114119, 28, 458744, 1114119, 26, 786424, 1245191, 28, 458745, 1114119, 26, 458746, 1114119, 26, 786426, 1310727, 28, 458747, 1179655, 26, 524283, 1179655, 27, 589819, 1179655, 27, 655355, 1179655, 27, 720891, 1179655, 27, 786427, 1179655, 28, 458750, 1048583, 26, 524286, 1048583, 27, 589822, 1048583, 27, 655358, 1048583, 27, 720894, 1048583, 27, 786430, 1048583, 28, 458751, 1114119, 26, 786431, 1114119, 28, 393216, 1114119, 26, 720896, 1114119, 28, 393217, 1114119, 26, 720897, 1245191, 28, 393218, 1114119, 26, 393219, 1114119, 26, 720899, 1310727, 28, 393220, 1179655, 26, 458756, 1179655, 27, 524292, 1179655, 27, 589828, 1179655, 27, 655364, 1179655, 27, 720900, 1179655, 28, -131076, 1572871, 36, -131075, 1638407, 36, -5, 1572871, 36, -4, 1638407, 36, -2, 1572871, 36, -1, 1638407, 36, -65537, 1572871, 36, -131072, 1638407, 36, 65535, 1572871, 36, 0, 1638407, 36, 65537, 1572871, 36, 65538, 1638407, 36, -196602, 1572871, 36, -196601, 1638407, 36, 524298, 1638407, 36, 786442, 1638407, 36, 589835, 1638407, 36, 720907, 1638407, 36, 917515, 1638407, 36, 524297, 1572871, 36, 786441, 1572871, 36, 589834, 1572871, 36, 720906, 1572871, 36, 917514, 1572871, 36, 786445, 851973, 6, 720909, 851973, 5) +layer_2/tile_data = PackedInt32Array(458755, 917507, 9, 524291, 917507, 10, 589827, 917507, 11, 655363, 917507, 12, 524282, 917507, 9, 589818, 917507, 10, 655354, 917507, 11, 720890, 917507, 12, 524278, 655363, 9, 524279, 720899, 9, 524280, 786435, 9, 524281, 851971, 9, 524287, 655363, 9, 589823, 655363, 10, 655359, 655363, 11, 720895, 655363, 12, 458752, 720899, 9, 524288, 720899, 10, 589824, 720899, 11, 655360, 720899, 12, 458753, 786435, 9, 524289, 786435, 10, 589825, 786435, 11, 655361, 786435, 12, 458754, 851971, 9, 524290, 851971, 10, 589826, 851971, 11, 655362, 851971, 12, -65548, 983043, 9, -12, 983043, 10, 65524, 983043, 11, 131060, 983043, 12, -65547, 1048579, 9, -11, 1048579, 10, 65525, 1048579, 11, 131061, 1048579, 12, -65546, 1114115, 9, -10, 1114115, 10, 65526, 1114115, 11, 131062, 1114115, 12, -65545, 1179651, 9, -9, 1179651, 10, 65527, 1179651, 11, 131063, 1179651, 12, -65544, 1245187, 9, -8, 1245187, 10, 65528, 1245187, 11, 131064, 1245187, 12, 131057, 851973, 5, 196593, 851973, 6, 131085, 1245191, 28, 131084, 1114119, 28, 131083, 1114119, 28, 131082, 1048583, 28, -196598, 1048583, 26, -196597, 1114119, 28, -196596, 1114119, 28, -196595, 1114119, 28, -196594, 1114119, 28, -196593, 1114119, 28, -196592, 1179655, 26, 131087, 1310727, 28, 131088, 1179655, 28, -131056, 1179655, 27, -65520, 1179655, 27, 16, 1179655, 27, 65552, 1179655, 27, -131062, 1048583, 27, -65526, 1048583, 27, 10, 1048583, 27, 65546, 1048583, 27, -131061, 983043, 9, -65525, 983043, 10, 11, 983043, 11, 65547, 983043, 12, -131060, 1048579, 9, -65524, 1048579, 10, 12, 1048579, 11, 65548, 1048579, 12, -131059, 1114115, 9, -65523, 1114115, 10, 13, 1114115, 11, 65549, 1114115, 12, -131058, 1179651, 9, -65522, 1179651, 10, 14, 1179651, 11, 65550, 1179651, 12, -131057, 1245187, 9, -65521, 1245187, 10, 15, 1245187, 11, 65551, 1245187, 12, -131085, 1048583, 26, -65549, 1048583, 27, -13, 1048583, 27, 65523, 1048583, 27, 131059, 1048583, 27, 196595, 1048583, 28, -131084, 1114119, 26, 196596, 1114119, 28, -131083, 1114119, 26, 196597, 1114119, 28, -131082, 1114119, 26, 196598, 1245191, 28, -131081, 1114119, 26, -131080, 1114119, 26, 196600, 1310727, 28, -131079, 1179655, 26, -65543, 1179655, 27, -7, 1179655, 27, 65529, 1179655, 27, 131065, 1179655, 27, 196601, 1179655, 28, 458741, 1048583, 26, 524277, 1048583, 27, 589813, 1048583, 27, 458742, 1114119, 26, 458743, 1114119, 26, 458744, 1114119, 26, 458745, 1114119, 26, 458746, 1114119, 26, 786426, 1310727, 28, 458747, 1179655, 26, 524283, 1179655, 27, 589819, 1179655, 27, 655355, 1179655, 27, 720891, 1179655, 27, 786427, 1179655, 28, 458750, 1048583, 26, 524286, 1048583, 27, 589822, 1048583, 27, 655358, 1048583, 27, 720894, 1048583, 27, 786430, 1048583, 28, 458751, 1114119, 26, 786431, 1114119, 28, 393216, 1114119, 26, 720896, 1114119, 28, 393217, 1114119, 26, 720897, 1245191, 28, 393218, 1114119, 26, 393219, 1114119, 26, 720899, 1310727, 28, 393220, 1179655, 26, 458756, 1179655, 27, 524292, 1179655, 27, 589828, 1179655, 27, 655364, 1179655, 27, 720900, 1179655, 28, -131076, 1572871, 36, -131075, 1638407, 36, -5, 1572871, 36, -4, 1638407, 36, -2, 1572871, 36, -1, 1638407, 36, -65537, 1572871, 36, -131072, 1638407, 36, 65535, 1572871, 36, 0, 1638407, 36, 65537, 1572871, 36, 65538, 1638407, 36, -196602, 1572871, 36, -196601, 1638407, 36, 524298, 1638407, 36, 786442, 1638407, 36, 589835, 1638407, 36, 720907, 1638407, 36, 917515, 1638407, 36, 524297, 1572871, 36, 786441, 1572871, 36, 589834, 1572871, 36, 720906, 1572871, 36, 917514, 1572871, 36, 786445, 851973, 6, 720909, 851973, 5, 655350, 655363, 11, 720886, 655363, 12, 655351, 720899, 11, 720887, 720899, 12, 655352, 786435, 11, 720888, 786435, 12, 589814, 655363, 10, 589815, 720899, 10, 589816, 786435, 10, 589817, 851971, 10, 655353, 851971, 11, 720889, 851971, 12, 786421, 1048583, 28, 786422, 1114119, 28, 786423, 1114119, 28, 786424, 1245191, 28, 655349, 1048583, 27, 720885, 1048583, 27) layer_4/tile_data = PackedInt32Array(-262138, 1572871, 35, -262137, 1638407, 35, -131073, 1572871, 35, -196608, 1638407, 35, -196612, 1572871, 35, -196611, 1638407, 35, -65541, 1572871, 35, -65540, 1638407, 35, -65538, 1572871, 35, -65537, 1638407, 35, -1, 1572871, 35, -65536, 1638407, 35, 1, 1572871, 35, 2, 1638407, 35, 458762, 1638407, 35, 720906, 1638407, 35, 524299, 1638407, 35, 655371, 1638407, 35, 851979, 1638407, 35, 458761, 1572871, 35, 720905, 1572871, 35, 524298, 1572871, 35, 655370, 1572871, 35, 851978, 1572871, 35) layer_5/tile_data = PackedInt32Array(983047, 393220, 0, 983046, 393220, 0, 983045, 393220, 0, 983044, 393220, 0, 983043, 393220, 0, 983042, 393220, 0, 983041, 393220, 0, 983040, 393220, 0, 1048575, 393220, 0, 1048574, 393220, 0, 1048573, 393220, 0, 1048572, 393220, 0, 1048571, 393220, 0, 1048570, 393220, 0, 1048569, 393220, 0, 1048568, 393220, 0, 1048567, 393220, 0, 1048566, 393220, 0, 1048565, 393220, 0, 1048564, 393220, 0, 1048563, 393220, 0, 1048562, 393220, 0, 1048561, 393220, 0, 1048560, 4, 5, 983050, 393220, 0, 983051, 393220, 0, 983052, 393220, 0, 983053, 458756, 0, 983056, 327684, 0, 983057, 393220, 0, 983058, 393220, 0, 983059, 393220, 0, 983060, 393220, 0, 983061, 65540, 5, 917525, 327684, 1, 851989, 327684, 1, 786453, 327684, 1, 720917, 327684, 1, 655381, 327684, 1, 589845, 327684, 1, 524309, 327684, 1, 458773, 327684, 1, 393237, 327684, 1, 327701, 327684, 1, 262165, 327684, 1, 196629, 327684, 1, 131093, 327684, 1, 65557, 327684, 1, 21, 327684, 1, -65515, 327684, 1, -131051, 327684, 1, -196587, 327684, 1, 983024, 458756, 1, 917488, 458756, 1, 851952, 458756, 1, 786416, 458756, 1, 720880, 458756, 1, 655344, 458756, 1, 589808, 458756, 1, 524272, 458756, 1, 458736, 458756, 0, 196592, 458756, 2, 131056, 458756, 1, 65520, 458756, 1, -16, 458756, 1, -65552, 458756, 1, -131088, 458756, 1, 983048, 393220, 0, 983049, 393220, 0, -262160, 4, 4, -262159, 393220, 2, -262158, 393220, 2, -262157, 393220, 2, -262156, 393220, 2, -262155, 393220, 2, -262154, 393220, 2, -262153, 393220, 2, -262152, 393220, 2, -262151, 393220, 2, -262150, 393220, 2, -262149, 393220, 2, -262148, 393220, 2, -262147, 393220, 2, -262146, 393220, 2, -262145, 393220, 2, -327680, 393220, 2, -327679, 393220, 2, -327678, 393220, 2, -327677, 393220, 2, -327676, 393220, 2, -327675, 393220, 2, -327674, 393220, 2, -327673, 393220, 2, -327672, 393220, 2, -327671, 393220, 2, -327670, 393220, 2, -327669, 393220, 2, -327668, 393220, 2, -327667, 393220, 2, -327666, 393220, 2, -327665, 393220, 2, -327664, 393220, 2, -327663, 393220, 2, -327662, 393220, 2, -327661, 393220, 2, -327660, 393220, 2, -327659, 65540, 4, -196624, 458756, 1, -262123, 327684, 1) @@ -385,7 +385,9 @@ layer_1/tile_data = PackedInt32Array(-3866694, 2, 65536, -3735622, 2, 65536, -36 layer_2/tile_data = PackedInt32Array(-3080264, 2, 655360, -3735646, 2, 655360, -3407951, 1572871, 36, -3407950, 1638407, 36, -2883671, 2, 655360, -3604568, 2, 262144, -2818124, 2, 262144, -2752592, 1572871, 36, -2752591, 1638407, 36) layer_4/tile_data = PackedInt32Array(-3473487, 1572871, 35, -3473486, 1638407, 35, -2818128, 1572871, 35, -2818127, 1638407, 35) layer_5/tile_data = PackedInt32Array(-2687045, 327684, 1, -2752581, 327684, 1, -2818117, 327684, 1, -2883653, 327684, 1, -2949189, 327684, 1, -3014725, 327684, 1, -3080261, 327684, 1, -3145797, 327684, 1, -3211333, 327684, 0, -3473477, 327684, 2, -3539013, 327684, 1, -3604549, 327684, 1, -3670085, 327684, 1, -3735621, 327684, 1, -3801157, 327684, 1, -3866693, 327684, 1, -3932229, 65540, 4, -3932230, 393220, 2, -3932231, 393220, 2, -3932232, 393220, 2, -3932233, 393220, 2, -3932234, 393220, 2, -3932235, 393220, 2, -3932236, 393220, 2, -3932237, 393220, 2, -3932238, 393220, 2, -3932239, 393220, 2, -3932240, 393220, 2, -3932241, 393220, 2, -3932242, 393220, 2, -3932243, 393220, 2, -3932244, 393220, 2, -3932245, 393220, 2, -3932246, 393220, 2, -3932247, 393220, 2, -3932248, 393220, 2, -3932249, 393220, 2, -3932250, 393220, 2, -3932251, 393220, 2, -3932252, 393220, 2, -3932253, 393220, 2, -3932254, 393220, 2, -3932255, 393220, 2, -3932256, 393220, 2, -3932257, 4, 4, -2621509, 65540, 5, -2621510, 393220, 0, -2621511, 393220, 0, -2621512, 327684, 0, -2621513, 983044, 0, -3604555, 983044, 0, -3670092, 983044, 0, -3670093, 917508, 0, -3670094, 917508, 0, -3670095, 917508, 0, -3670096, 917508, 0, -3670097, 917508, 0, -3670098, 917508, 0, -3670099, 917508, 0, -3670100, 917508, 0, -3670101, 917508, 0, -3670102, 917508, 0, -3670103, 917508, 0, -3670104, 917508, 0, -3670105, 851972, 0, -3539019, 983044, 1, -3473483, 983044, 1, -3407947, 983044, 1, -3342411, 983044, 1, -3276875, 983044, 1, -3211339, 983044, 1, -3145803, 983044, 1, -3080267, 983044, 1, -3014731, 983044, 1, -2949195, 983044, 1, -2883659, 983044, 1, -2818123, 983044, 1, -2752587, 983044, 1, -3604556, 524292, 5, -3866721, 458756, 1, -3801185, 458756, 1, -3735649, 458756, 1, -3670113, 458756, 1, -3604577, 458756, 1, -3539041, 458756, 1, -3473505, 458756, 1, -3407969, 458756, 1, -3342433, 458756, 1, -3276897, 458756, 1, -3211361, 458756, 1, -3145825, 458756, 1, -3080289, 458756, 1, -3014753, 458756, 1, -2949217, 458756, 1, -2883681, 458756, 1, -2818145, 458756, 1, -2752609, 458756, 1, -2687073, 458756, 1, -2621537, 4, 5, -2621536, 393220, 0, -2621535, 393220, 0, -2621534, 393220, 0, -2621533, 393220, 0, -2621532, 393220, 0, -2621531, 393220, 0, -2621530, 393220, 0, -2621529, 393220, 0, -2621528, 393220, 0, -3604571, 851972, 0, -3539035, 851972, 1, -3473499, 851972, 1, -3276890, 851972, 1, -3211354, 851972, 1, -3145818, 851972, 1, -3080282, 851972, 2, -3080279, 917508, 3, -3604570, 917508, 0, -3604569, 589828, 5, -3080280, 917508, 2, -3080281, 917508, 2, -3080278, 917508, 2, -3080277, 983044, 3, -3080276, 917508, 2, -3080275, 917508, 2, -3014738, 851972, 1, -2949202, 851972, 1, -2883666, 851972, 1, -2818130, 851972, 1, -2752594, 589828, 5, -3080274, 589828, 4, -2621523, 851972, 1, -2621527, 393220, 0, -2621526, 393220, 0, -2621525, 393220, 0, -2621524, 458756, 0, -2752595, 851972, 0, -2687059, 851972, 1, -2752606, 917508, 2, -2752607, 851972, 2, -2818143, 851972, 1, -2883678, 524292, 0, -2949215, 851972, 0, -2883679, 851972, 1, -2949214, 917508, 0, -2949213, 983044, 0, -2752605, 917508, 2, -2818141, 589828, 1, -2818142, 589828, 0, -2752604, 917508, 2, -2752603, 917508, 3, -2883677, 524292, 5, -3407963, 851972, 2, -3407962, 589828, 4, -3342426, 851972, 1, -2818140, 524292, 1, -2883676, 917508, 0, -2883674, 983044, 0, -2883675, 917508, 0, -2818138, 983044, 1, -2752602, 983044, 2, -2818139, 524292, 0, -2687050, 983044, 0, -2621514, 524292, 5, -2687051, 524292, 5) -layer_6/tile_data = PackedInt32Array(-3473483, 983044, 0, -3473484, 917508, 0, -3604557, 983044, 0, -3604564, 917508, 0, -3473492, 917508, 2, -3539028, 524292, 1, -3473493, 917508, 3, -3604565, 917508, 0, -3604566, 851972, 0, -3473494, 851972, 2, -3539030, 851972, 1, -3539026, 524292, 0, -3604561, 917508, 0, -3473490, 589828, 4, -3604560, 917508, 0, -3604559, 917508, 0, -3604558, 917508, 0, -3539021, 983044, 1, -3473485, 524292, 5, -3145810, 851972, 2, -3145809, 917508, 2, -3145808, 917508, 2, -3407947, 983044, 1, -3342411, 983044, 1, -3276875, 983044, 1, -3211339, 983044, 1, -3145803, 983044, 1, -3407954, 851972, 1, -3342418, 851972, 1, -3276882, 851972, 1, -3211346, 851972, 1, -3539025, 589828, 0, -2949197, 917508, 3, -3080267, 983044, 1, -3014731, 983044, 1, -2949195, 983044, 2, -2949196, 917508, 2, -2949198, 917508, 2, -2949199, 851972, 2, -3014735, 851972, 1, -3080271, 851972, 1, -3145807, 589828, 4, -3604562, 917508, 0, -3604563, 917508, 0, -3539027, 589828, 0, -3473491, 917508, 2) +layer_6/tile_data = PackedInt32Array(-3473483, 983044, 0, -3473484, 917508, 0, -3604557, 983044, 0, -3604564, 917508, 0, -3473492, 917508, 2, -3539028, 524292, 1, -3604565, 917508, 0, -3604566, 851972, 0, -3473494, 851972, 2, -3539030, 851972, 1, -3539026, 524292, 0, -3604561, 917508, 0, -3473490, 589828, 4, -3604560, 917508, 0, -3604559, 917508, 0, -3604558, 917508, 0, -3539021, 983044, 1, -3473485, 524292, 5, -3145809, 917508, 2, -3145808, 917508, 2, -3407947, 983044, 1, -3342411, 983044, 1, -3276875, 983044, 1, -3211339, 983044, 1, -3145803, 983044, 1, -3407954, 851972, 1, -3342418, 851972, 1, -3276882, 851972, 1, -3211346, 851972, 1, -3539025, 589828, 0, -2949197, 917508, 3, -3080267, 983044, 1, -3014731, 983044, 1, -2949195, 983044, 2, -2949196, 917508, 2, -2949198, 917508, 2, -2949199, 851972, 2, -3014735, 851972, 1, -3080271, 851972, 1, -3145807, 589828, 4, -3604562, 917508, 0, -3604563, 917508, 0, -3539027, 589828, 0, -3473491, 917508, 2, -3145810, 851972, 2, -3473493, 917508, 3) +layer_7/tile_data = PackedInt32Array(-3604571, 851972, 0, -3604570, 917508, 0, -3670105, 851972, 0, -3670104, 917508, 0, -3670103, 917508, 0, -3670102, 917508, 0, -3670101, 917508, 0, -3670100, 917508, 0, -3670099, 917508, 0, -3670098, 917508, 0, -3670097, 917508, 0, -3670096, 917508, 0, -3670095, 917508, 0, -3670094, 917508, 0, -3670093, 917508, 0, -3670092, 983044, 0, -3604555, 983044, 0) +layer_8/tile_data = PackedInt32Array(-3604566, 851972, 0, -3604565, 917508, 0, -3604564, 917508, 0, -3604563, 917508, 0, -3604562, 917508, 0, -3604561, 917508, 0, -3604560, 917508, 0, -3604559, 917508, 0, -3604558, 917508, 0, -3604557, 983044, 0, -3473483, 983044, 0, -3539021, 983044, 1, -3473484, 917508, 0) [node name="CollisionShape2D" type="CollisionShape2D" parent="Areas/Beta01"] position = Vector2(-1320, -808) @@ -405,14 +407,37 @@ position = Vector2(-1448, -688) [node name="Wood2" parent="Areas/Beta01/Objects" instance=ExtResource("9_o11s5")] position = Vector2(-1352, -864) +[node name="Transitions" type="Node" parent="Areas/Beta01"] + +[node name="Height1" type="Area2D" parent="Areas/Beta01/Transitions"] +z_index = 1 +collision_layer = 0 +collision_mask = 18 + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Areas/Beta01/Transitions/Height1"] +polygon = PackedVector2Array(-1320, -652, -1176, -652, -1176, -664, -1192, -664, -1192, -720, -1216, -720, -1216, -720, -1232, -720, -1264, -720, -1264, -768, -1304, -768, -1304, -680, -1320, -680, -1320, -658.586) + +[node name="CollisionPolygon2D2" type="CollisionPolygon2D" parent="Areas/Beta01/Transitions/Height1"] +polygon = PackedVector2Array(-1192, -864, -1192, -888, -1208, -888, -1208, -904, -1416, -904, -1416, -888, -1448, -888, -1448, -848, -1432, -848, -1432, -768, -1320, -768, -1320, -848, -1384, -848, -1384, -896, -1216, -896, -1216, -864) + +[node name="Height2" type="Area2D" parent="Areas/Beta01/Transitions"] +z_index = 2 +collision_layer = 0 +collision_mask = 18 + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Areas/Beta01/Transitions/Height2"] +z_index = 2 +polygon = PackedVector2Array(-1256, -736, -1240, -736, -1232, -736, -1216, -736, -1216, -736, -1192, -736, -1192, -856, -1224, -856, -1224, -888, -1368, -888, -1368, -864, -1304, -864, -1304, -784, -1256, -784) + [node name="Beta02" parent="Areas" instance=ExtResource("1_6ag7d")] [node name="TileMap" parent="Areas/Beta02" index="0"] layer_0/tile_data = PackedInt32Array(-2556001, 131079, 3, -2490465, 7, 3, -2424929, 131079, 3, -2359393, 131079, 3, -2293857, 65543, 3, -2228321, 7, 3, -2162785, 7, 3, -2097249, 131079, 3, -2031713, 65543, 3, -1966177, 7, 3, -1900641, 65543, 3, -1835105, 7, 3, -1769569, 131079, 3, -1704033, 7, 3, -1638497, 7, 3, -1572961, 131079, 3, -1507425, 65543, 3, -1441889, 65543, 3, -2556000, 7, 3, -2490464, 131079, 3, -2424928, 131079, 3, -2359392, 7, 3, -2293856, 65543, 3, -2228320, 65543, 3, -2162784, 7, 3, -2097248, 7, 3, -2031712, 65543, 3, -1966176, 65543, 3, -1900640, 7, 3, -1835104, 65543, 3, -1769568, 131079, 3, -1704032, 131079, 3, -1638496, 65543, 3, -1572960, 65543, 3, -1507424, 65543, 3, -1441888, 7, 3, -2555999, 131079, 3, -2490463, 7, 3, -2424927, 7, 3, -2359391, 131079, 3, -2293855, 131079, 3, -2228319, 131079, 3, -2162783, 131079, 3, -2097247, 131079, 3, -2031711, 131079, 3, -1966175, 65543, 3, -1900639, 7, 3, -1835103, 131079, 3, -1769567, 65543, 3, -1704031, 7, 3, -1638495, 65543, 3, -1572959, 131079, 3, -1507423, 131079, 3, -1441887, 7, 3, -2555998, 131079, 3, -2490462, 65543, 3, -2424926, 65543, 3, -2359390, 7, 3, -2293854, 7, 3, -2228318, 65543, 3, -2162782, 65543, 3, -2097246, 65543, 3, -2031710, 131079, 3, -1966174, 131079, 3, -1900638, 65543, 3, -1835102, 7, 3, -1769566, 65543, 3, -1704030, 131079, 3, -1638494, 7, 3, -1572958, 65543, 3, -1507422, 65543, 3, -1441886, 65543, 3, -2555997, 7, 3, -2490461, 131079, 3, -2424925, 65543, 3, -2359389, 131079, 3, -2293853, 65543, 3, -2228317, 131079, 3, -2162781, 131079, 3, -2097245, 65543, 3, -2031709, 131079, 3, -1966173, 7, 3, -1900637, 65543, 3, -1835101, 7, 3, -1769565, 131079, 3, -1704029, 7, 3, -1638493, 7, 3, -1572957, 7, 3, -1507421, 65543, 3, -1441885, 65543, 3, -2555996, 131079, 3, -2490460, 131079, 3, -2424924, 131079, 3, -2359388, 65543, 3, -2293852, 65543, 3, -2228316, 131079, 3, -2162780, 131079, 3, -2097244, 131079, 3, -2031708, 65543, 3, -1966172, 131079, 3, -1900636, 65543, 3, -1835100, 131079, 3, -1769564, 7, 3, -1704028, 65543, 3, -1638492, 131079, 3, -1572956, 65543, 3, -1507420, 7, 3, -1441884, 131079, 3, -2555995, 131079, 3, -2490459, 7, 3, -2424923, 7, 3, -2359387, 131079, 3, -2293851, 65543, 3, -2228315, 7, 3, -2162779, 65543, 3, -2097243, 131079, 3, -2031707, 65543, 3, -1966171, 7, 3, -1900635, 7, 3, -1835099, 131079, 3, -1769563, 131079, 3, -1704027, 7, 3, -1638491, 131079, 3, -1572955, 131079, 3, -1507419, 65543, 3, -1441883, 65543, 3, -2555994, 65543, 3, -2490458, 65543, 3, -2424922, 7, 3, -2359386, 65543, 3, -2293850, 131079, 3, -2228314, 65543, 3, -2162778, 131079, 3, -2097242, 7, 3, -2031706, 7, 3, -1966170, 7, 3, -1900634, 65543, 3, -1835098, 65543, 3, -1769562, 131079, 3, -1704026, 65543, 3, -1638490, 7, 3, -1572954, 131079, 3, -1507418, 7, 3, -1441882, 65543, 3, -2555993, 7, 3, -2490457, 131079, 3, -2424921, 65543, 3, -2359385, 7, 3, -2293849, 131079, 3, -2228313, 7, 3, -2162777, 131079, 3, -2097241, 7, 3, -2031705, 131079, 3, -1966169, 131079, 3, -1900633, 65543, 3, -1835097, 131079, 3, -1769561, 65543, 3, -1704025, 131079, 3, -1638489, 65543, 3, -1572953, 7, 3, -1507417, 131079, 3, -1441881, 65543, 3, -2555992, 131079, 3, -2490456, 131079, 3, -2424920, 131079, 3, -2359384, 131079, 3, -2293848, 131079, 3, -2228312, 131079, 3, -2162776, 65543, 3, -2097240, 65543, 3, -2031704, 7, 3, -1966168, 65543, 3, -1900632, 7, 3, -1835096, 7, 3, -1769560, 65543, 3, -1704024, 65543, 3, -1638488, 7, 3, -1572952, 65543, 3, -1507416, 7, 3, -1441880, 65543, 3, -2555991, 7, 3, -2490455, 7, 3, -2424919, 7, 3, -2359383, 131079, 3, -2293847, 131079, 3, -2228311, 7, 3, -2162775, 131079, 3, -2097239, 7, 3, -2031703, 131079, 3, -1966167, 65543, 3, -1900631, 7, 3, -1835095, 131079, 3, -1769559, 7, 3, -1704023, 7, 3, -1638487, 65543, 3, -1572951, 65543, 3, -1507415, 7, 3, -1441879, 65543, 3, -2555990, 131079, 3, -2490454, 131079, 3, -2424918, 7, 3, -2359382, 7, 3, -2293846, 65543, 3, -2228310, 65543, 3, -2162774, 131079, 3, -2097238, 131079, 3, -2031702, 65543, 3, -1966166, 7, 3, -1900630, 65543, 3, -1835094, 7, 3, -1769558, 7, 3, -1704022, 65543, 3, -1638486, 131079, 3, -1572950, 65543, 3, -1507414, 7, 3, -1441878, 131079, 3, -2555989, 7, 3, -2490453, 65543, 3, -2424917, 7, 3, -2359381, 65543, 3, -2293845, 65543, 3, -2228309, 131079, 3, -2162773, 7, 3, -2097237, 131079, 3, -2031701, 131079, 3, -1966165, 7, 3, -1900629, 7, 3, -1835093, 7, 3, -1769557, 65543, 3, -1704021, 65543, 3, -1638485, 7, 3, -1572949, 7, 3, -1507413, 7, 3, -1441877, 65543, 3, -2555988, 7, 3, -2490452, 65543, 3, -2424916, 65543, 3, -2359380, 131079, 3, -2293844, 7, 3, -2228308, 7, 3, -2162772, 7, 3, -2097236, 131079, 3, -2031700, 131079, 3, -1966164, 65543, 3, -1900628, 65543, 3, -1835092, 65543, 3, -1769556, 131079, 3, -1704020, 65543, 3, -1638484, 131079, 3, -1572948, 65543, 3, -1507412, 65543, 3, -1441876, 131079, 3, -2555987, 65543, 3, -2490451, 7, 3, -2424915, 7, 3, -2359379, 131079, 3, -2293843, 131079, 3, -2228307, 7, 3, -2162771, 131079, 3, -2097235, 65543, 3, -2031699, 131079, 3, -1966163, 7, 3, -1900627, 131079, 3, -1835091, 65543, 3, -1769555, 131079, 3, -1704019, 7, 3, -1638483, 7, 3, -1572947, 131079, 3, -1507411, 7, 3, -1441875, 65543, 3, -2555986, 7, 3, -2490450, 65543, 3, -2424914, 65543, 3, -2359378, 7, 3, -2293842, 7, 3, -2228306, 7, 3, -2162770, 7, 3, -2097234, 65543, 3, -2031698, 131079, 3, -1966162, 7, 3, -1900626, 7, 3, -1835090, 131079, 3, -1769554, 131079, 3, -1704018, 131079, 3, -1638482, 131079, 3, -1572946, 7, 3, -1507410, 7, 3, -1441874, 7, 3, -2555985, 7, 3, -2490449, 65543, 3, -2424913, 7, 3, -2359377, 131079, 3, -2293841, 7, 3, -2228305, 65543, 3, -2162769, 7, 3, -2097233, 7, 3, -2031697, 65543, 3, -1966161, 131079, 3, -1900625, 65543, 3, -1835089, 131079, 3, -1769553, 65543, 3, -1704017, 65543, 3, -1638481, 65543, 3, -1572945, 7, 3, -1507409, 131079, 3, -1441873, 65543, 3, -2555984, 7, 3, -2490448, 131079, 3, -2424912, 7, 3, -2359376, 7, 3, -2293840, 131079, 3, -2228304, 7, 3, -2162768, 65543, 3, -2097232, 65543, 3, -2031696, 65543, 3, -1966160, 65543, 3, -1900624, 131079, 3, -1835088, 65543, 3, -1769552, 7, 3, -1704016, 131079, 3, -1638480, 65543, 3, -1572944, 7, 3, -1507408, 7, 3, -1441872, 7, 3, -2555983, 65543, 3, -2490447, 131079, 3, -2424911, 7, 3, -2359375, 65543, 3, -2293839, 7, 3, -2228303, 131079, 3, -2162767, 7, 3, -2097231, 65543, 3, -2031695, 7, 3, -1966159, 65543, 3, -1900623, 7, 3, -1835087, 131079, 3, -1769551, 65543, 3, -1704015, 65543, 3, -1638479, 131079, 3, -1572943, 65543, 3, -1507407, 131079, 3, -1441871, 7, 3, -2555982, 65543, 3, -2490446, 65543, 3, -2424910, 7, 3, -2359374, 7, 3, -2293838, 65543, 3, -2228302, 7, 3, -2162766, 131079, 3, -2097230, 65543, 3, -2031694, 131079, 3, -1966158, 65543, 3, -1900622, 131079, 3, -1835086, 131079, 3, -1769550, 131079, 3, -1704014, 131079, 3, -1638478, 131079, 3, -1572942, 7, 3, -1507406, 7, 3, -1441870, 131079, 3, -2555981, 65543, 3, -2490445, 7, 3, -2424909, 131079, 3, -2359373, 65543, 3, -2293837, 65543, 3, -2228301, 65543, 3, -2162765, 131079, 3, -2097229, 131079, 3, -2031693, 65543, 3, -1966157, 131079, 3, -1900621, 131079, 3, -1835085, 131079, 3, -1769549, 65543, 3, -1704013, 65543, 3, -1638477, 131079, 3, -1572941, 7, 3, -1507405, 131079, 3, -1441869, 65543, 3, -2555980, 65543, 3, -2490444, 65543, 3, -2424908, 7, 3, -2359372, 7, 3, -2293836, 131079, 3, -2228300, 131079, 3, -2162764, 7, 3, -2097228, 65543, 3, -2031692, 7, 3, -1966156, 65543, 3, -1900620, 7, 3, -1835084, 7, 3, -1769548, 7, 3, -1704012, 131079, 3, -1638476, 65543, 3, -1572940, 131079, 3, -1507404, 65543, 3, -1441868, 65543, 3, -2555979, 131079, 3, -2490443, 131079, 3, -2424907, 131079, 3, -2359371, 65543, 3, -2293835, 65543, 3, -2228299, 7, 3, -2162763, 131079, 3, -2097227, 131079, 3, -2031691, 7, 3, -1966155, 7, 3, -1900619, 65543, 3, -1835083, 65543, 3, -1769547, 131079, 3, -1704011, 131079, 3, -1638475, 65543, 3, -1572939, 131079, 3, -1507403, 7, 3, -1441867, 65543, 3, -2555978, 131079, 3, -2490442, 7, 3, -2424906, 131079, 3, -2359370, 7, 3, -2293834, 65543, 3, -2228298, 65543, 3, -2162762, 131079, 3, -2097226, 7, 3, -2031690, 65543, 3, -1966154, 65543, 3, -1900618, 131079, 3, -1835082, 131079, 3, -1769546, 7, 3, -1704010, 7, 3, -1638474, 131079, 3, -1572938, 131079, 3, -1507402, 131079, 3, -1441866, 131079, 3, -2555977, 131079, 3, -2490441, 65543, 3, -2424905, 65543, 3, -2359369, 131079, 3, -2293833, 7, 3, -2228297, 65543, 3, -2162761, 65543, 3, -2097225, 7, 3, -2031689, 7, 3, -1966153, 7, 3, -1900617, 65543, 3, -1835081, 7, 3, -1769545, 7, 3, -1704009, 65543, 3, -1638473, 7, 3, -1572937, 131079, 3, -1507401, 131079, 3, -1441865, 131079, 3, -2555976, 7, 3, -2490440, 7, 3, -2424904, 7, 3, -2359368, 7, 3, -2293832, 131079, 3, -2228296, 7, 3, -2162760, 7, 3, -2097224, 131079, 3, -2031688, 65543, 3, -1966152, 65543, 3, -1900616, 131079, 3, -1835080, 65543, 3, -1769544, 131079, 3, -1704008, 131079, 3, -1638472, 7, 3, -1572936, 131079, 3, -1507400, 65543, 3, -1441864, 7, 3, -2555975, 7, 3, -2490439, 65543, 3, -2424903, 7, 3, -2359367, 131079, 3, -2293831, 65543, 3, -2228295, 65543, 3, -2162759, 7, 3, -2097223, 65543, 3, -2031687, 131079, 3, -1966151, 131079, 3, -1900615, 131079, 3, -1835079, 65543, 3, -1769543, 7, 3, -1704007, 7, 3, -1638471, 7, 3, -1572935, 131079, 3, -1507399, 65543, 3, -1441863, 65543, 3, -2555974, 7, 3, -2490438, 7, 3, -2424902, 65543, 3, -2359366, 7, 3, -2293830, 131079, 3, -2228294, 131079, 3, -2162758, 7, 3, -2097222, 7, 3, -2031686, 65543, 3, -1966150, 7, 3, -1900614, 7, 3, -1835078, 131079, 3, -1769542, 7, 3, -1704006, 7, 3, -1638470, 131079, 3, -1572934, 131079, 3, -1507398, 7, 3, -1441862, 65543, 3, -2555973, 131079, 3, -2490437, 7, 3, -2424901, 131079, 3, -2359365, 7, 3, -2293829, 65543, 3, -2228293, 131079, 3, -2162757, 131079, 3, -2097221, 131079, 3, -2031685, 7, 3, -1966149, 65543, 3, -1900613, 65543, 3, -1835077, 7, 3, -1769541, 131079, 3, -1704005, 7, 3, -1638469, 65543, 3, -1572933, 131079, 3, -1507397, 7, 3, -1441861, 131079, 3) layer_1/tile_data = PackedInt32Array(-2293838, 2, 65536, -2293837, 2, 393216, -2293836, 2, 65536, -2228300, 2, 393216, -2293835, 2, 393216, -2293839, 2, 393216, -2228301, 2, 393216, -2162765, 2, 393216, -1966155, 2, 393216, -1900618, 2, 65536, -1835082, 2, 393216, -1769546, 2, 65536, -1835081, 2, 393216, -1835080, 2, 393216, -1900621, 2, 393216, -1900620, 2, 65536, -1900619, 2, 393216, -1704010, 2, 393216, -1769545, 2, 393216, -1638473, 2, 393216, -1769544, 2, 65536, -1638472, 2, 65536, -1769542, 2, 65536, -1507410, 2, 393216, -1507409, 2, 393216, -1507422, 2, 393216, -1572957, 2, 393216, -1572956, 2, 393216, -1704029, 2, 393216, -1572959, 2, 393216, -1572960, 2, 393216, -1507421, 2, 65536, -1638493, 2, 65536, -1638495, 2, 65536, -1966169, 2, 393216, -1900633, 2, 393216, -2228320, 2, 393216) -layer_2/tile_data = PackedInt32Array(-1704012, 1572871, 36, -1704011, 1638407, 36, -2097227, 2, 327680, -2031689, 1572871, 36, -2031688, 1638407, 36, -2162759, 2, 327680, -1900615, 2, 327680, -1704030, 2, 327680, -1638492, 1572871, 36, -1638491, 1638407, 36, -1769564, 1572871, 36, -1769563, 1638407, 36, -1835101, 1572871, 36, -1835100, 1638407, 36, -1769562, 1572871, 36, -1769561, 1638407, 36, -1704025, 1572871, 36, -1704024, 1638407, 36, -1769560, 1572871, 36, -1769559, 1638407, 36, -1835095, 1572871, 36, -1835094, 1638407, 36, -1704027, 1572871, 36, -1704026, 1638407, 36, -2490444, 2, 262144, -1704018, 2, 262144, -1900625, 2, 262144, -1769549, 1572871, 36, -1769548, 1638407, 36, -1835086, 1572871, 36, -1835085, 1638407, 36) -layer_4/tile_data = PackedInt32Array(-1769548, 1572871, 35, -1769547, 1638407, 35, -2097225, 1572871, 35, -2097224, 1638407, 35, -1900637, 1572871, 35, -1900636, 1638407, 35, -1835100, 1572871, 35, -1835099, 1638407, 35, -1704028, 1572871, 35, -1704027, 1638407, 35, -1835098, 1572871, 35, -1835097, 1638407, 35, -1769561, 1572871, 35, -1769560, 1638407, 35, -1835096, 1572871, 35, -1835095, 1638407, 35, -1900631, 1572871, 35, -1900630, 1638407, 35, -1769563, 1572871, 35, -1769562, 1638407, 35, -2424923, 1966083, 5, -2424922, 2031619, 5, -2424921, 2097155, 5, -2424920, 2162691, 5, -2424919, 2228227, 5, -1900622, 1572871, 35, -1900621, 1638407, 35, -1835085, 1572871, 35, -1835084, 1638407, 35) -layer_5/tile_data = PackedInt32Array(-2555991, 393220, 2, -2555987, 851972, 1, -2555989, 393220, 2, -2555990, 393220, 2, -2555988, 458756, 2, -2490437, 327684, 1, -2424901, 327684, 1, -2359365, 327684, 1, -2293829, 327684, 1, -2228293, 327684, 1, -2162757, 327684, 1, -2097221, 327684, 1, -2031685, 327684, 1, -1966149, 327684, 1, -1900613, 327684, 1, -1835077, 327684, 1, -1769541, 327684, 1, -1704005, 327684, 1, -1638469, 65540, 5, -1572933, 65540, 0, -1507397, 4, 1, -2555974, 393220, 2, -2555975, 393220, 2, -2555973, 65540, 4, -2555976, 327684, 2, -2555977, 983044, 1, -2490441, 983044, 1, -2424905, 983044, 1, -2359369, 983044, 2, -2555986, 589828, 1, -2555985, 589828, 0, -2490449, 524292, 1, -2424913, 589828, 0, -2555984, 524292, 1, -2490448, 589828, 1, -2424912, 524292, 1, -2555983, 524292, 0, -2490447, 589828, 0, -2424911, 524292, 0, -2359375, 917508, 2, -2555982, 589828, 0, -2490446, 589828, 1, -2424910, 524292, 1, -2359374, 917508, 2, -2555981, 524292, 1, -2490445, 524292, 1, -2424909, 524292, 0, -2359373, 917508, 2, -2555980, 589828, 0, -2490444, 589828, 1, -2424908, 524292, 0, -2359372, 917508, 2, -2555979, 524292, 1, -2490443, 524292, 1, -2424907, 589828, 1, -2359371, 917508, 2, -2555978, 524292, 1, -2490442, 589828, 0, -2424906, 524292, 0, -2359370, 917508, 2, -1441861, 4, 0, -1441862, 4, 0, -1441864, 65540, 5, -1441865, 393220, 0, -1441866, 393220, 0, -1441867, 393220, 0, -1441868, 393220, 0, -1441869, 393220, 0, -1441870, 393220, 0, -1441871, 393220, 0, -1441872, 393220, 0, -1441873, 393220, 0, -1441874, 393220, 0, -1441875, 4, 5, -1441876, 4, 0, -1441877, 65540, 1, -1441878, 65540, 1, -1441879, 4, 0, -1441880, 65540, 5, -1441881, 393220, 0, -1441882, 393220, 0, -1441883, 393220, 0, -1441884, 393220, 0, -1441885, 393220, 0, -1441886, 393220, 0, -1441887, 393220, 0, -1441888, 393220, 0, -1441889, 4, 5, -2293846, 851972, 1, -2228310, 851972, 1, -2293845, 589828, 1, -2228309, 589828, 0, -2293844, 983044, 1, -2228308, 983044, 1, -2490454, 851972, 0, -2424918, 851972, 1, -2359382, 851972, 1, -2490453, 917508, 0, -2424917, 589828, 0, -2359381, 524292, 0, -2490452, 917508, 0, -2424916, 589828, 1, -2359380, 524292, 4, -2490451, 589828, 5, -2424915, 524292, 1, -2490450, 524292, 0, -2424914, 589828, 1, -2359378, 917508, 3, -2359379, 917508, 2, -2359376, 917508, 2, -2359377, 917508, 2, -1572935, 327684, 0, -1638470, 327684, 0, -2097238, 851972, 1, -2031702, 851972, 1, -2097237, 524292, 0, -2031701, 524292, 1, -1966165, 589828, 4, -1900629, 851972, 1, -2097236, 524292, 5, -2031700, 589828, 1, -1966164, 524292, 1, -1900628, 589828, 0, -2097235, 983044, 0, -2031699, 983044, 1, -1966163, 524292, 5, -1900627, 589828, 0, -1966162, 917508, 0, -1900626, 917508, 1, -2031697, 851972, 0, -1966161, 589828, 5, -1900625, 917508, 1, -2031696, 917508, 0, -1966160, 917508, 1, -1900624, 917508, 1, -2031695, 983044, 0, -1966159, 983044, 1, -1900623, 983044, 1, -1966166, 851972, 2, -1835093, 851972, 2, -1835092, 917508, 2, -1835091, 917508, 2, -1835090, 917508, 2, -1835089, 917508, 2, -1835088, 917508, 2, -1835087, 983044, 2, -2162772, 983044, 1, -2162774, 851972, 1, -2162773, 524292, 0, -1507399, 65540, 5, -1572934, 65540, 5, -1507398, 4, 0, -1441863, 65540, 1, -1507400, 327684, 0, -1507411, 458756, 0, -1507412, 393220, 0, -1507413, 393220, 0, -1507414, 393220, 0, -1507415, 393220, 0, -1507416, 327684, 0, -2293857, 4, 4, -2228321, 458756, 1, -2162785, 458756, 1, -2097249, 458756, 1, -2031713, 458756, 1, -1966177, 458756, 1, -1900641, 458756, 1, -1835105, 458756, 1, -1769569, 458756, 1, -1704033, 458756, 1, -1638497, 458756, 1, -1572961, 458756, 1, -1507425, 458756, 1, -2359393, 393220, 0, -2359392, 458756, 0, -2293856, 458756, 2, -2293853, 327684, 2, -2359389, 327684, 1, -2424925, 327684, 1, -2490461, 327684, 1, -2556001, 393220, 2, -2556000, 393220, 2, -2555999, 393220, 2, -2555998, 393220, 2, -2555992, 393220, 2, -2555993, 393220, 2, -2555994, 393220, 2, -2555995, 393220, 2, -2490460, 458756, 1, -2424924, 458756, 1, -2359388, 458756, 1, -2293852, 458756, 2, -2555997, 65540, 4, -2555996, 4, 4, -2359387, 1966083, 6, -2293851, 1966083, 7, -2228315, 1966083, 8, -2359386, 2031619, 6, -2293850, 2031619, 7, -2228314, 2031619, 8, -2359385, 2097155, 6, -2293849, 2097155, 7, -2228313, 2097155, 8, -2359384, 2162691, 6, -2293848, 2162691, 7, -2228312, 2162691, 8, -2359383, 2228227, 6, -2293847, 2228227, 7, -2228311, 2228227, 8) +layer_2/tile_data = PackedInt32Array(-1704012, 1572871, 36, -1704011, 1638407, 36, -2097227, 2, 327680, -2031689, 1572871, 36, -2031688, 1638407, 36, -2162759, 2, 327680, -1900615, 2, 327680, -1704030, 2, 327680, -1638492, 1572871, 36, -1638491, 1638407, 36, -1769564, 1572871, 36, -1769563, 1638407, 36, -1835101, 1572871, 36, -1835100, 1638407, 36, -1769562, 1572871, 36, -1769561, 1638407, 36, -1704025, 1572871, 36, -1704024, 1638407, 36, -1769560, 1572871, 36, -1769559, 1638407, 36, -1835095, 1572871, 36, -1835094, 1638407, 36, -1704027, 1572871, 36, -1704026, 1638407, 36, -2490444, 2, 262144, -1704018, 2, 262144, -1769549, 1572871, 36, -1769548, 1638407, 36, -1835086, 1572871, 36, -1835085, 1638407, 36, -1900625, 2, 262144, -2424923, 1966083, 5, -2359387, 1966083, 6, -2293851, 1966083, 7, -2424922, 2031619, 5, -2359386, 2031619, 6, -2293850, 2031619, 7, -2424921, 2097155, 5, -2359385, 2097155, 6, -2293849, 2097155, 7, -2424920, 2162691, 5, -2359384, 2162691, 6, -2293848, 2162691, 7, -2424919, 2228227, 5, -2359383, 2228227, 6, -2293847, 2228227, 7, -2228315, 1966083, 8, -2228314, 2031619, 8, -2228313, 2097155, 8, -2228312, 2162691, 8, -2228311, 2228227, 8) +layer_4/tile_data = PackedInt32Array(-1769548, 1572871, 35, -1769547, 1638407, 35, -2097225, 1572871, 35, -2097224, 1638407, 35, -1900637, 1572871, 35, -1900636, 1638407, 35, -1835100, 1572871, 35, -1835099, 1638407, 35, -1704028, 1572871, 35, -1704027, 1638407, 35, -1835098, 1572871, 35, -1835097, 1638407, 35, -1769561, 1572871, 35, -1769560, 1638407, 35, -1835096, 1572871, 35, -1835095, 1638407, 35, -1900631, 1572871, 35, -1900630, 1638407, 35, -1769563, 1572871, 35, -1769562, 1638407, 35, -1900622, 1572871, 35, -1900621, 1638407, 35, -1835085, 1572871, 35, -1835084, 1638407, 35) +layer_5/tile_data = PackedInt32Array(-2555991, 393220, 2, -2555987, 851972, 1, -2555989, 393220, 2, -2555990, 393220, 2, -2555988, 458756, 2, -2490437, 327684, 1, -2424901, 327684, 1, -2359365, 327684, 1, -2293829, 327684, 1, -2228293, 327684, 1, -2162757, 327684, 1, -2097221, 327684, 1, -2031685, 327684, 1, -1966149, 327684, 1, -1900613, 327684, 1, -1835077, 327684, 1, -1769541, 327684, 1, -1704005, 327684, 1, -1638469, 65540, 5, -1572933, 65540, 0, -1507397, 4, 1, -2555974, 393220, 2, -2555975, 393220, 2, -2555973, 65540, 4, -2555976, 327684, 2, -2555977, 983044, 1, -2490441, 983044, 1, -2424905, 983044, 1, -2359369, 983044, 2, -2555986, 589828, 1, -2555985, 589828, 0, -2490449, 524292, 1, -2424913, 589828, 0, -2555984, 524292, 1, -2490448, 589828, 1, -2424912, 524292, 1, -2555983, 524292, 0, -2490447, 589828, 0, -2424911, 524292, 0, -2359375, 917508, 2, -2555982, 589828, 0, -2490446, 589828, 1, -2424910, 524292, 1, -2359374, 917508, 2, -2555981, 524292, 1, -2490445, 524292, 1, -2424909, 524292, 0, -2359373, 917508, 2, -2555980, 589828, 0, -2490444, 589828, 1, -2424908, 524292, 0, -2359372, 917508, 2, -2555979, 524292, 1, -2490443, 524292, 1, -2424907, 589828, 1, -2359371, 917508, 2, -2555978, 524292, 1, -2490442, 589828, 0, -2424906, 524292, 0, -2359370, 917508, 2, -1441861, 4, 0, -1441862, 4, 0, -1441864, 65540, 5, -1441865, 393220, 0, -1441866, 393220, 0, -1441867, 393220, 0, -1441868, 393220, 0, -1441869, 393220, 0, -1441870, 393220, 0, -1441871, 393220, 0, -1441872, 393220, 0, -1441873, 393220, 0, -1441874, 393220, 0, -1441875, 4, 5, -1441876, 4, 0, -1441877, 65540, 1, -1441878, 65540, 1, -1441879, 4, 0, -1441880, 65540, 5, -1441881, 393220, 0, -1441882, 393220, 0, -1441883, 393220, 0, -1441884, 393220, 0, -1441885, 393220, 0, -1441886, 393220, 0, -1441887, 393220, 0, -1441888, 393220, 0, -1441889, 4, 5, -2293846, 851972, 1, -2228310, 851972, 1, -2293845, 589828, 1, -2228309, 589828, 0, -2293844, 983044, 1, -2228308, 983044, 1, -2490454, 851972, 0, -2424918, 851972, 1, -2359382, 851972, 1, -2490453, 917508, 0, -2424917, 589828, 0, -2359381, 524292, 0, -2490452, 917508, 0, -2424916, 589828, 1, -2359380, 524292, 4, -2490451, 589828, 5, -2424915, 524292, 1, -2490450, 524292, 0, -2424914, 589828, 1, -2359378, 917508, 3, -2359379, 917508, 2, -2359376, 917508, 2, -2359377, 917508, 2, -1572935, 327684, 0, -1638470, 327684, 0, -2097238, 851972, 1, -2031702, 851972, 1, -2097237, 524292, 0, -2031701, 524292, 1, -1966165, 589828, 4, -1900629, 851972, 1, -2097236, 524292, 5, -2031700, 589828, 1, -1966164, 524292, 1, -1900628, 589828, 0, -2031699, 983044, 1, -1966163, 524292, 5, -1900627, 589828, 0, -1966162, 917508, 0, -1900626, 917508, 1, -2031697, 851972, 0, -1966161, 589828, 5, -1900625, 917508, 1, -2031696, 917508, 0, -1966160, 917508, 1, -1900624, 917508, 1, -2031695, 983044, 0, -1966159, 983044, 1, -1900623, 983044, 1, -1966166, 851972, 2, -1835093, 851972, 2, -1835092, 917508, 2, -1835091, 917508, 2, -1835090, 917508, 2, -1835089, 917508, 2, -1835088, 917508, 2, -1835087, 983044, 2, -2162772, 983044, 1, -2162774, 851972, 1, -2162773, 524292, 0, -1507399, 65540, 5, -1572934, 65540, 5, -1507398, 4, 0, -1441863, 65540, 1, -1507400, 327684, 0, -1507411, 458756, 0, -1507412, 393220, 0, -1507413, 393220, 0, -1507414, 393220, 0, -1507415, 393220, 0, -1507416, 327684, 0, -2293857, 4, 4, -2228321, 458756, 1, -2162785, 458756, 1, -2097249, 458756, 1, -2031713, 458756, 1, -1966177, 458756, 1, -1900641, 458756, 1, -1835105, 458756, 1, -1769569, 458756, 1, -1704033, 458756, 1, -1638497, 458756, 1, -1572961, 458756, 1, -1507425, 458756, 1, -2359393, 393220, 0, -2359392, 458756, 0, -2293856, 458756, 2, -2293853, 327684, 2, -2359389, 327684, 1, -2424925, 327684, 1, -2490461, 327684, 1, -2556001, 393220, 2, -2556000, 393220, 2, -2555999, 393220, 2, -2555998, 393220, 2, -2555992, 393220, 2, -2555993, 393220, 2, -2555994, 393220, 2, -2555995, 393220, 2, -2490460, 458756, 1, -2424924, 458756, 1, -2359388, 458756, 1, -2293852, 458756, 2, -2555997, 65540, 4, -2555996, 4, 4) +layer_7/tile_data = PackedInt32Array(-2097235, 983044, 0) [node name="CollisionShape2D" type="CollisionShape2D" parent="Areas/Beta02"] position = Vector2(-1320, -496) @@ -430,7 +455,7 @@ position = Vector2(-1272, -488) position = Vector2(-1304, -480) [node name="Wood2" parent="Areas/Beta02/Objects" instance=ExtResource("9_o11s5")] -position = Vector2(-1304, -576) +position = Vector2(-1304, -584) [node name="Transitions" type="Node" parent="Areas/Beta02"] @@ -443,6 +468,13 @@ playerFacing = "up" [node name="Base01" type="Node2D" parent="Areas/Beta02/Transitions"] position = Vector2(-1416, -536) +[node name="Height1" type="Area2D" parent="Areas/Beta02/Transitions"] +collision_layer = 0 +collision_mask = 18 + +[node name="CollisionPolygon2D" type="CollisionPolygon2D" parent="Areas/Beta02/Transitions/Height1"] +polygon = PackedVector2Array(-1296, -592, -1160, -592, -1160, -636, -1328, -637, -1328, -616, -1368, -616, -1368, -496, -1352, -496, -1352, -464, -1256, -464, -1256, -504, -1288, -504, -1288, -488, -1320, -488, -1320, -520, -1336, -520, -1336, -592) + [node name="InitialPlayerPosition" type="Node2D" parent="."] position = Vector2(-1416, -528) diff --git a/Scenes/UI/Menu.gd b/Scenes/UI/Menu.gd index ee320a2..ce45a26 100644 --- a/Scenes/UI/Menu.gd +++ b/Scenes/UI/Menu.gd @@ -50,7 +50,8 @@ func close_menu(): func get_player(): - return get_tree().get_current_scene().get_node("Player") + return Global.player + #return get_tree().get_current_scene().get_node("Player") ### Bombs ### diff --git a/Scenes/Utilities.gd b/Scenes/Utilities.gd index f2dabe6..f43a359 100644 --- a/Scenes/Utilities.gd +++ b/Scenes/Utilities.gd @@ -106,7 +106,7 @@ func get_collision_shape_bounds(collision_shape: CollisionShape2D): if shape is RectangleShape2D: bounds = Rect2( - collision_shape.position - shape.get_rect().size/2, + collision_shape.global_position - shape.get_rect().size/2, shape.get_rect().size ) -- cgit v1.2.3