[gd_scene load_steps=12 format=2] [ext_resource path="res://Player.tscn" type="PackedScene" id=1] [ext_resource path="res://World.gd" type="Script" id=2] [ext_resource path="res://Grass.png" type="Texture" id=3] [ext_resource path="res://Plants and Trees.png" type="Texture" id=4] [ext_resource path="res://Cliffs.png" type="Texture" id=5] [ext_resource path="res://Dead_Tree.png" type="Texture" id=6] [ext_resource path="res://forestHouse.tscn" type="PackedScene" id=7] [ext_resource path="res://deadTree.tscn" type="PackedScene" id=8] [sub_resource type="ConvexPolygonShape2D" id=1] points = PoolVector2Array( 33.0868, 45.5302, 15.4222, 45.5302, 15.4222, 39.0812, 33.0868, 39.0812 ) [sub_resource type="TileSet" id=2] 1/name = "Plants and Trees.png 1" 1/texture = ExtResource( 4 ) 1/tex_offset = Vector2( 0, 0 ) 1/modulate = Color( 1, 1, 1, 1 ) 1/region = Rect2( 0, 0, 48, 48 ) 1/tile_mode = 0 1/occluder_offset = Vector2( 0, 0 ) 1/navigation_offset = Vector2( 0, 0 ) 1/shape_offset = Vector2( 0, 0 ) 1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) 1/shape = SubResource( 1 ) 1/shape_one_way = false 1/shape_one_way_margin = 1.0 1/shapes = [ { "autotile_coord": Vector2( 0, 0 ), "one_way": false, "one_way_margin": 1.0, "shape": SubResource( 1 ), "shape_transform": Transform2D( 1, 0, 0, 1, 0, 0 ) } ] 1/z_index = 1 3/name = "Plants and Trees.png 3" 3/texture = ExtResource( 4 ) 3/tex_offset = Vector2( 0, 0 ) 3/modulate = Color( 1, 1, 1, 1 ) 3/region = Rect2( 0, 48, 48, 48 ) 3/tile_mode = 2 3/autotile/icon_coordinate = Vector2( 0, 0 ) 3/autotile/tile_size = Vector2( 16, 16 ) 3/autotile/spacing = 0 3/autotile/occluder_map = [ ] 3/autotile/navpoly_map = [ ] 3/autotile/priority_map = [ ] 3/autotile/z_index_map = [ ] 3/occluder_offset = Vector2( 0, 0 ) 3/navigation_offset = Vector2( 0, 0 ) 3/shape_offset = Vector2( 0, 0 ) 3/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) 3/shape_one_way = false 3/shape_one_way_margin = 0.0 3/shapes = [ ] 3/z_index = 1 [sub_resource type="TileSet" id=3] 0/name = "Grass.png 0" 0/texture = ExtResource( 3 ) 0/tex_offset = Vector2( 0, 0 ) 0/modulate = Color( 1, 1, 1, 1 ) 0/region = Rect2( 0, 0, 80, 48 ) 0/tile_mode = 1 0/autotile/bitmask_mode = 1 0/autotile/bitmask_flags = [ Vector2( 0, 0 ), 255, Vector2( 0, 1 ), 219, Vector2( 0, 2 ), 507, Vector2( 1, 0 ), 63, Vector2( 1, 2 ), 504, Vector2( 2, 0 ), 447, Vector2( 2, 1 ), 438, Vector2( 2, 2 ), 510, Vector2( 3, 0 ), 432, Vector2( 3, 1 ), 54, Vector2( 4, 0 ), 216, Vector2( 4, 1 ), 27, Vector2( 4, 2 ), 511 ] 0/autotile/icon_coordinate = Vector2( 0, 0 ) 0/autotile/tile_size = Vector2( 16, 16 ) 0/autotile/spacing = 0 0/autotile/occluder_map = [ ] 0/autotile/navpoly_map = [ ] 0/autotile/priority_map = [ ] 0/autotile/z_index_map = [ ] 0/occluder_offset = Vector2( 0, 0 ) 0/navigation_offset = Vector2( 0, 0 ) 0/shape_offset = Vector2( 0, 0 ) 0/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) 0/shape_one_way = false 0/shape_one_way_margin = 0.0 0/shapes = [ ] 0/z_index = 0 1/name = "Cliffs.png 1" 1/texture = ExtResource( 5 ) 1/tex_offset = Vector2( 0, 0 ) 1/modulate = Color( 1, 1, 1, 1 ) 1/region = Rect2( 0, 0, 80, 64 ) 1/tile_mode = 1 1/autotile/bitmask_mode = 1 1/autotile/bitmask_flags = [ Vector2( 0, 0 ), 432, Vector2( 0, 1 ), 182, Vector2( 0, 2 ), 146, Vector2( 0, 3 ), 50, Vector2( 1, 0 ), 504, Vector2( 1, 1 ), 63, Vector2( 1, 3 ), 56, Vector2( 2, 0 ), 216, Vector2( 2, 1 ), 155, Vector2( 2, 2 ), 146, Vector2( 2, 3 ), 26, Vector2( 3, 0 ), 432, Vector2( 3, 1 ), 438, Vector2( 3, 2 ), 54, Vector2( 4, 0 ), 216, Vector2( 4, 1 ), 219, Vector2( 4, 2 ), 27 ] 1/autotile/icon_coordinate = Vector2( 1, 0 ) 1/autotile/tile_size = Vector2( 16, 16 ) 1/autotile/spacing = 0 1/autotile/occluder_map = [ ] 1/autotile/navpoly_map = [ ] 1/autotile/priority_map = [ ] 1/autotile/z_index_map = [ ] 1/occluder_offset = Vector2( 0, 0 ) 1/navigation_offset = Vector2( 0, 0 ) 1/shape_offset = Vector2( 0, 0 ) 1/shape_transform = Transform2D( 1, 0, 0, 1, 0, 0 ) 1/shape_one_way = false 1/shape_one_way_margin = 0.0 1/shapes = [ ] 1/z_index = 0 [node name="World" type="Node2D"] script = ExtResource( 2 ) [node name="YSort" type="YSort" parent="."] [node name="Player" parent="YSort" instance=ExtResource( 1 )] z_index = 3 collision_mask = 2 [node name="Objects" type="TileMap" parent="YSort"] z_index = 2 tile_set = SubResource( 2 ) cell_size = Vector2( 16, 16 ) cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 ) cell_y_sort = true format = 1 tile_data = PoolIntArray( -327670, 1, 0, -262138, 1, 0, -65528, 1, 0, -65523, 3, 65537, 4, 1, 0, 11, 3, 65538, 65537, 3, 131074, 65544, 3, 65537, 65548, 3, 65536, 65552, 3, 2, 131082, 1, 0, 131085, 1, 0, 262147, 3, 0, 262152, 3, 2, 262153, 0, 4, 327682, 0, 3, 327687, 0, 3, 327688, 0, 131074, 327689, 0, 65536, 327692, 3, 131073, 327694, 3, 65538, 393217, 0, 3, 393218, 0, 131074, 393219, 0, 131072, 393222, 0, 131073, 393223, 0, 131074, 393224, 0, 0, 393225, 0, 65540, 393233, 3, 131074, 458753, 0, 65539, 458754, 0, 1, 458755, 3, 2, 458758, 0, 1, 458759, 0, 1, 458760, 0, 65540, 458761, 3, 2, 524291, 0, 65539, 524292, 0, 65540, 524295, 3, 131072, 524300, 3, 65536, 524303, 3, 2, 589828, 3, 131074 ) [node name="Ground" type="TileMap" parent="YSort"] tile_set = SubResource( 3 ) cell_size = Vector2( 16, 16 ) cell_custom_transform = Transform2D( 16, 0, 0, 16, 0, 0 ) cell_tile_origin = 1 cell_y_sort = true format = 1 tile_data = PoolIntArray( -196594, 0, 3, -196593, 0, 131073, -196592, 0, 4, -131060, 0, 3, -131059, 0, 131073, -131058, 0, 131074, -131057, 0, 131076, -131056, 0, 131072, -131055, 0, 4, -65536, 0, 3, -65535, 0, 131073, -65534, 0, 131073, -65533, 0, 4, -65531, 0, 3, -65530, 0, 131073, -65529, 0, 131073, -65528, 0, 131073, -65527, 0, 131073, -65526, 0, 131073, -65525, 0, 131073, -65524, 0, 131074, -65523, 0, 131076, -65522, 0, 131076, -65521, 0, 131076, -65520, 0, 131076, -65519, 0, 131072, -65518, 0, 4, 0, 0, 65538, 1, 0, 131076, 2, 0, 131076, 3, 0, 131072, 4, 0, 131073, 5, 0, 131074, 6, 0, 131076, 7, 0, 131076, 8, 0, 131076, 9, 0, 131076, 10, 0, 131076, 11, 0, 131076, 12, 0, 131076, 13, 0, 131076, 14, 0, 131076, 15, 0, 131076, 16, 0, 131076, 17, 0, 131076, 18, 0, 131072, 19, 0, 131073, 20, 0, 4, 65536, 0, 65538, 65537, 0, 131076, 65538, 0, 131076, 65539, 0, 131076, 65540, 0, 131076, 65541, 0, 131076, 65542, 0, 131076, 65543, 0, 131076, 65544, 0, 131076, 65545, 0, 131076, 65546, 0, 131076, 65547, 0, 131076, 65548, 0, 131076, 65549, 0, 131076, 65550, 0, 131076, 65551, 0, 131076, 65552, 0, 131076, 65553, 0, 131076, 65554, 0, 131076, 65555, 0, 0, 65556, 0, 65540, 196607, 0, 3, 131072, 0, 131074, 131073, 0, 131076, 131074, 0, 131076, 131075, 0, 131076, 131076, 0, 131076, 131077, 0, 131076, 131078, 0, 131076, 131079, 0, 131076, 131080, 0, 131076, 131081, 0, 131076, 131082, 0, 131076, 131083, 0, 131076, 131084, 0, 131076, 131085, 0, 131076, 131086, 0, 131076, 131087, 0, 131076, 131088, 0, 131076, 131089, 0, 131076, 131090, 0, 131076, 131091, 0, 65536, 262143, 0, 65539, 196608, 0, 2, 196609, 0, 131076, 196610, 0, 131076, 196611, 0, 131076, 196612, 0, 131076, 196613, 0, 131076, 196614, 0, 131076, 196615, 0, 131076, 196616, 0, 131076, 196617, 0, 131076, 196618, 0, 131076, 196619, 0, 131076, 196620, 0, 131076, 196621, 0, 131076, 196622, 0, 131076, 196623, 0, 131076, 196624, 0, 131076, 196625, 0, 131076, 196626, 0, 131076, 196627, 0, 65536, 262144, 0, 65538, 262145, 0, 131076, 262146, 0, 131076, 262147, 0, 131076, 262148, 0, 131076, 262149, 0, 131076, 262150, 0, 131076, 262151, 0, 131076, 262152, 0, 131076, 262153, 0, 131076, 262154, 0, 131076, 262155, 0, 131076, 262156, 0, 131076, 262157, 0, 131076, 262158, 0, 131076, 262159, 0, 131076, 262160, 0, 131076, 262161, 0, 131076, 262162, 0, 131076, 262163, 0, 131072, 262164, 0, 4, 327680, 0, 65538, 327681, 0, 131076, 327682, 0, 131076, 327683, 0, 131076, 327684, 0, 131076, 327685, 0, 131076, 327686, 0, 131076, 327687, 0, 131076, 327688, 0, 131076, 327689, 0, 131076, 327690, 0, 131076, 327691, 0, 131076, 327692, 0, 131076, 327693, 0, 131076, 327694, 0, 131076, 327695, 0, 131076, 327696, 0, 131076, 327697, 0, 131076, 327698, 0, 131076, 327699, 0, 131076, 327700, 0, 65536, 393216, 0, 65538, 393217, 0, 131076, 393218, 0, 131076, 393219, 0, 131076, 393220, 0, 131076, 393221, 0, 131076, 393222, 0, 131076, 393223, 0, 131076, 393224, 0, 131076, 393225, 0, 131076, 393226, 0, 131076, 393227, 0, 131076, 393228, 0, 131076, 393229, 0, 131076, 393230, 0, 131076, 393231, 0, 131076, 393232, 0, 131076, 393233, 0, 131076, 393234, 0, 131076, 393235, 0, 0, 393236, 0, 65540, 458752, 0, 65538, 458753, 0, 131076, 458754, 0, 131076, 458755, 0, 131076, 458756, 0, 131076, 458757, 0, 131076, 458758, 0, 131076, 458759, 0, 131076, 458760, 0, 131076, 458761, 0, 131076, 458762, 0, 131076, 458763, 0, 131076, 458764, 0, 131076, 458765, 0, 131076, 458766, 0, 131076, 458767, 0, 131076, 458768, 0, 131076, 458769, 0, 131076, 458770, 0, 131076, 458771, 0, 65536, 524288, 0, 65538, 524289, 0, 131076, 524290, 0, 131076, 524291, 0, 131076, 524292, 0, 131076, 524293, 0, 131076, 524294, 0, 131076, 524295, 0, 131076, 524296, 0, 131076, 524297, 0, 131076, 524298, 0, 131076, 524299, 0, 131076, 524300, 0, 131076, 524301, 0, 131076, 524302, 0, 131076, 524303, 0, 131076, 524304, 0, 131076, 524305, 0, 131076, 524306, 0, 131076, 524307, 0, 65536, 589824, 0, 65538, 589825, 0, 131076, 589826, 0, 131076, 589827, 0, 131076, 589828, 0, 131076, 589829, 0, 131076, 589830, 0, 131076, 589831, 0, 131076, 589832, 0, 131076, 589833, 0, 131076, 589834, 0, 131076, 589835, 0, 131076, 589836, 0, 131076, 589837, 0, 131076, 589838, 0, 131076, 589839, 0, 131076, 589840, 0, 131076, 589841, 0, 131076, 589842, 0, 131076, 589843, 0, 65536, 655360, 0, 65538, 655361, 0, 131076, 655362, 0, 131076, 655363, 0, 131076, 655364, 0, 131076, 655365, 0, 131076, 655366, 0, 131076, 655367, 0, 131076, 655368, 0, 131076, 655369, 0, 131076, 655370, 0, 131076, 655371, 0, 131076, 655372, 0, 0, 655373, 0, 1, 655374, 0, 1, 655375, 0, 1, 655376, 0, 1, 655377, 0, 1, 655378, 0, 1, 655379, 0, 65540, 720896, 0, 65539, 720897, 0, 2, 720898, 0, 131076, 720899, 0, 131076, 720900, 0, 131076, 720901, 0, 131076, 720902, 0, 131076, 720903, 0, 131076, 720904, 0, 131076, 720905, 0, 0, 720906, 0, 1, 720907, 0, 1, 720908, 0, 65540, 786433, 0, 65539, 786434, 0, 1, 786435, 0, 1, 786436, 0, 1, 786437, 0, 1, 786438, 0, 1, 786439, 0, 1, 786440, 0, 1, 786441, 0, 65540 ) [node name="Dead Tree" parent="YSort/Ground" instance=ExtResource( 8 )] position = Vector2( 109.773, 42.6074 ) [node name="Dead_Tree" type="Sprite" parent="YSort/Ground"] position = Vector2( 78.5124, -16.138 ) texture = ExtResource( 6 ) [node name="forestHouse" parent="YSort/Ground" instance=ExtResource( 7 )] position = Vector2( 58.7907, -31.6635 )