diff --git a/scenes/map_01.tscn b/scenes/map_01.tscn index 8ba6f73..595b38c 100644 --- a/scenes/map_01.tscn +++ b/scenes/map_01.tscn @@ -1,9 +1,9 @@ -[gd_scene load_steps=9 format=4 uid="uid://e20v1l8vde20"] +[gd_scene load_steps=7 format=4 uid="uid://dghq8c8asg7h1"] [ext_resource type="Texture2D" uid="uid://ca1tdkrek7wyi" path="res://sprites/Spritesheets/spritesheet_tiles.png" id="1_smdvj"] -[ext_resource type="Texture2D" uid="uid://b2v5npg0c34q7" path="res://sprites/spritesheet_road/spritesheet_road.png" id="2_pnjff"] -[ext_resource type="TileSet" uid="uid://dqj1nt8840fpl" path="res://sprites/spritesheet_road/spritesheet_marker.tres" id="3_daoba"] -[ext_resource type="TileSet" uid="uid://8x633p7ilv1h" path="res://sprites/spritesheet_road/spritesheet_road.tres" id="4_wejeu"] +[ext_resource type="TileSet" uid="uid://beswbm12qkkxk" path="res://sprites/spritesheet_road/bg_road.tres" id="2_i1338"] +[ext_resource type="TileSet" uid="uid://buu8w8n61kbxf" path="res://sprites/spritesheet_road/markings.tres" id="3_ktygs"] +[ext_resource type="TileSet" uid="uid://b15864hbqomim" path="res://sprites/spritesheet_road/road.tres" id="4_r58io"] [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_tvddu"] texture = ExtResource("1_smdvj") @@ -325,28 +325,7 @@ texture_region_size = Vector2i(128, 128) tile_size = Vector2i(128, 128) sources/0 = SubResource("TileSetAtlasSource_tvddu") -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_5wrcn"] -texture = ExtResource("2_pnjff") -texture_region_size = Vector2i(128, 128) -0:0/0 = 0 -2:0/0 = 0 -4:0/0 = 0 -6:0/0 = 0 -1:1/0 = 0 -3:1/0 = 0 -4:1/0 = 0 -6:1/0 = 0 -0:2/0 = 0 -3:2/0 = 0 -5:2/0 = 0 -7:2/0 = 0 -1:3/0 = 0 - -[sub_resource type="TileSet" id="TileSet_golfy"] -tile_size = Vector2i(128, 128) -sources/2 = SubResource("TileSetAtlasSource_5wrcn") - -[node name="Map01" type="Node"] +[node name="Map" type="Node"] [node name="Background" type="TileMapLayer" parent="."] visible = false @@ -355,13 +334,22 @@ tile_set = SubResource("TileSet_5knbn") collision_enabled = false [node name="road_bg" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAD//wAAAgAAAAAAAFAAAAAAAgAAAAAAAFABAAAAAgAAAAAAAFACAAAAAgAAAAAAAFD/////AgAAAAAAAHAAAP//AgAAAAAAAHABAP//AgAAAAAAAHACAP//AgAAAAAAAHAEAP//AgACAAAAAAAFAP7/AgAEAAAAAAADAAAAAgAEAAAAAAADAP//AgAAAAAAAHAEAAAAAgAAAAAAACAEAAEAAgAAAAAAACADAAEAAgAAAAAAADAFAAEAAgAAAAAAADAFAAAAAgAAAAAAADAFAP//AgAAAAAAADAGAP//AgAAAAAAACAGAAAAAgAAAAAAACAGAAEAAgAAAAAAACAGAAIAAgAAAAAAACADAAIAAgAAAAAAADAEAP7/AgAAAAAAAFADAP7/AgAAAAAAAFACAP7/AgAAAAAAAFACAP3/AgAAAAAAAHADAP3/AgAAAAAAAHAEAP3/AgAAAAAAAHAGAP3/AgABAAEAAAAGAP7/AgAGAAAAAAAFAP3/AgAGAAAAAHAEAAIAAgAEAAAAADAFAAIAAgAEAAAAAFAGAAMAAgACAAAAACADAAMAAgACAAAAAEAEAAMAAgAAAAAAAFAFAAMAAgAAAAAAAFABAP3/AgAEAAAAADABAPz/AgAEAAAAAGAHAPz/AgAEAAAAAAAIAPz/AgAEAAAAADAAAP7/AgABAAEAADAAAPv/AgABAAEAAGAHAP7/AgABAAEAADAIAPv/AgACAAAAAAABAPv/AgAGAAAAAGABAP7/AgAGAAAAAEAAAP3/AgAGAAAAADAAAPz/AgAGAAAAABAHAP3/AgAGAAAAADAIAP7/AgAGAAAAAEAHAPv/AgAAAAAAAGAGAPv/AgAAAAAAAGAFAPv/AgAAAAAAAGAEAPv/AgAAAAAAAGADAPv/AgAAAAAAA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7/wEAAgAEAAEAAAD7/wIAAgAEAAEAAAD7/wMAAgAGAAEAADD8/wMAAgABAAMAAHD9/wIAAgABAAMAAED9/wMAAgAHAAIAAAD8/wIAAgAHAAIAAHA=") -tile_set = SubResource("TileSet_golfy") +tile_map_data = PackedByteArray("AAAAAP//AgAAAAAAAGD/////AgAAAAAAAGD+////AgAAAAAAAGD9////AgAAAAAAAGD8////AgAAAAAAAGD7////AgAAAAAAAGABAP//AgAAAAAAAGACAP//AgAAAAAAAGADAP//AgAAAAAAAGADAAAAAgAAAAAAAFACAAAAAgAAAAAAAFABAAAAAgAAAAAAAFAAAAAAAgAAAAAAAFD//wAAAgAAAAAAAFD+/wAAAgAAAAAAAFD9/wAAAgAAAAAAAFD8/wAAAgAAAAAAAFD7/wAAAgAAAAAAAFAFAAIAAgAAAAAAAGADAAQAAgAAAAAAAFD7/wYAAgAAAAAAAFD5/wQAAgAAAAAAADD+/wkAAgAAAAAAAFD9/wkAAgAAAAAAAFD+/wgAAgAAAAAAAGD9/wgAAgAAAAAAAGD6/wcAAgAAAAAAAGD5/wcAAgAAAAAAAGD6/wgAAgAAAAAAAFD5/wgAAgAAAAAAAFD3/wYAAgAAAAAAADD3/wUAAgAAAAAAADD4/wYAAgAAAAAAAAD4/wUAAgAAAAAAAAD4/wQAAgAAAAAAAAD4/wMAAgAAAAAAAAD4/wIAAgAAAAAAAAD3/wMAAgAAAAAAADD8/wEAAgABAAIAAED6/wMAAgABAAIAAAACAAQAAgABAAIAAHD5/wAAAgAFAAEAAAD4/wEAAgAFAAEAAAD6////AgACAAIAAED3/wIAAgACAAIAAAD5/wMAAgACAAIAAAD7/wEAAgACAAIAAEAEAAIAAgACAAIAAEADAAIAAgAHAAEAADACAAMAAgAHAAEAADD6/wEAAgAHAAEAADD5/wIAAgAHAAEAADD3/wEAAgAHAAEAADD4/wAAAgAHAAEAADD5////AgAHAAEAADD7/wMAAgAHAAEAAAD8/wIAAgAHAAEAAAD7/wIAAgAFAAEAADD6/wIA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AAAAAAAHD8/wUAAAABAAEAAHAAAAYAAgACAAAAAGABAAYAAAADAAMAAGABAAcAAAACAAMAAGACAAIAAgACAAAAAFACAAEAAgACAAAAAAABAAEAAgAEAAAAAAABAAIAAgAEAAAAAFA=") +tile_set = ExtResource("2_i1338") -[node name="road_overlay" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAAAAAAAAAAEAAMAAFAAAP//AAAEAAMAAHA=") -tile_set = ExtResource("3_daoba") +[node name="road_bg2" type="TileMapLayer" parent="."] +tile_map_data = PackedByteArray("AAD4/wEAAgABAAIAAAD5/wAAAgABAAIAAEAAAAgAAAAAAAIAAFD//wkAAAABAAMAAFAHAAIAAAAAAAIAAFAGAAMAAAABAAMAAFAHAAEAAAABAAMAAAAGAAAAAAAAAAIAAAD4/wgAAAAAAAIAADD3/wcAAAABAAMAADD6/wYAAAAAAAIAADD5/wUAAAABAAMAADAFAAEAAAABAAEAAEAEAAAAAAAAAAAAAEAEAAEAAAABAAAAAED+/wMAAAACAAMAADD+/wQAAAACAAIAADD9/wMAAAADAAMAADAAAAQAAgABAAEAAGD//wQAAgABAAEAAFABAAQAAgABAAEAAFACAAQAAgABAAEAAFAEAAIAAgAHAAIAAGD3/wQAAgAHAAIAADD3/wIAAgAHAAIAADD6////AgAHAAIAAGD5/wMAAgAHAAIAADD7/wEAAgAHAAIAAGD8/wEAAgABAAEAAGD8/wYAAgAHAAIAAFD6/wMAAgAHAAIAAAD7/wQAAAACAAMAADD7/wUAAAACAAIAADD6/wQAAAADAAMAADD9/wYAAgABAAEAAFD+/wYAAgABAAEAAFD//wUAAgABAAEAAGABAAYAAgABAAEAAGAAAAcAAAACAAIAAFD//wgAAgAGAAAAAAAEAAMAAgAGAAAAAAABAAIAAgABAAEAAFABAAEAAgABAAEAAGA=") +tile_set = ExtResource("2_i1338") -[node name="road" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAAAAAAAAgABAAAAAFD//wAAAgABAAAAAFABAAAAAgABAAAAAF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3/AgAHAAAAAAAOAP7/AgABAAIAAAAOAP//AgAFAAEAAAANAP7/AgABAAAAAEAOAAAAAgAFAAEAAAAOAAEAAgAHAAEAAFANAAEAAgAFAAEAAFAMAAEAAgAFAAEAAFALAAEAAgAHAAEAADALAAAAAgAHAAEAAAAKAAAAAgAHAAEAAGAKAAEAAgABAAIAACAJAAEAAgADAAAAAGAKAAIAAgAHAAAAACAJAAIAAgAFAAAAACAIAAIAAgADAAAAAGAIAAMAAgACAAIAAFAHAAMAAgAHAAEAAGAKAAMAAgACAAEAACAJAAMAAgAAAAEAAFAHAAQAAgAFAAEAAAAHAAUAAgAHAAEAAFAGAAUAAgAFAAEAAFAFAAUAAgAFAAEAAFAEAAUAAgAFAAEAAFADAAUAAgAEAAIAAFACAAUAAgAFAAEAAFAAAAQAAgAGAAIAAFABAAUAAgADAAMAAGABAAQAAgAAAAMAACAAAAUAAgAAAAMAAFD//wMAAgAGAAIAAGAAAAMAAgAAAAMAAGD//wIAAgAAAAMAAGD+/wMAAgAAAAMAABD//wQAAgAAAAMAABD+/wIAAgADAAMAAFD9/wIAAgACAAMAAED9/wMAAgAAAAMAAAD8/wIAAgAAAAMAADD8/wMAAgACAAMAAHD7/wMAAgAHAAEAADD7/wIAAgAFAAEAADD7/wEAAgAFAAEAADD7////AgADAAAAAGD7/wAAAgACAAIAABD8////AgABAAAAAGD9////AgABAAAAAGD+////AgABAAAAAGD8/wAAAgABAAAAAFD9/wAAAgABAAAAAFD+/wAAAgABAAAAAFA=") -tile_set = ExtResource("4_wejeu") +[node name="markings" type="TileMapLayer" parent="."] +z_index = 1 +tile_map_data = PackedByteArray("AAAAAAAAAQAAAAAAAFAAAP//AQAAAAAAAHA=") +tile_set = ExtResource("3_ktygs") + +[node name="road_r" type="TileMapLayer" parent="."] +tile_map_data = PackedByteArray("AAD9/wAAAgABAAAAAFD+/wAAAgABAAAAAFD//wAAAgABAAAAAFAAAAAAAgABAAAAAFABAAAAAgABAAAAAFACAAAAAgABAAAAA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AED4/wYAAgABAAAAAAD4/wUAAgABAAAAAAD4/wQAAgABAAAAAAD4/wMAAgABAAAAAAD4/wIAAgABAAAAAAA=") +tile_set = ExtResource("4_r58io") + +[node name="road_l" type="TileMapLayer" parent="."] +tile_map_data = PackedByteArray("AAAFAP//AAADAAAAAHAFAAAAAAACAAAAAHAEAP//AAADAAEAAHAHAAAAAAAHAAIAAHAHAAEAAAAGAAIAAHAGAAAAAAAHAAMAAHAHAAIAAAAHAAMAACAHAAMAAAAHAAIAACAGAAMAAAAGAAIAACAFAAMAAAAHAAEAAGAFAAQAAAAGAAEAAGAEAAQAAAAGAAAAAGADAAQAAgABAAAAAEACAAQAAgABAAAAAEABAAQAAgABAAAAAEAAAAQAAgADAAEAAED+/wQAAAAHAAMAAED9/wMAAAAGAAIAAED9/wQAAAAHAAIAAED//wQAAgABAAAAAED9/wIAAgADAAAAABD+/wIAAgABAAAAAHD//wIAAgABAAAAAHAAAAIAAgABAAAAAHABAAIAAgAFAAAAAFABAAEAAgAFAAAAAHAAAAEAAgABAAAAAFD//wEAAgABAAAAAFD+/wEAAgABAAAAAFD9/wEAAgABAAAAAFD8/wEAAgAGAAIAAED8/wIAAgAAAAIAAAD7/wIAAgAGAAEAAAD7/wMAAgAAAAIAAAD6/wMAAgAEAAIAAAADAP//AgABAAAAAHACAP//AgABAAAAAHABAP//AgABAAAAAHAAAP//AgABAAAAAHD/////AgABAAAAAHD+////AgABAAAAAHD9////AgABAAAAAHD8////AgABAAAAAHD7////AgABAAAAAHD6////AgAFAAIAAED5////AgAAAAIAAHD4/wAAAgAAAAIAAHD3/wEAAgAAAAIAAHD5/wAAAgAGAAEAAHD4/wEAAgAGAAEAAHD3/wIAAgADAAIAAAD7/wQAAAAAAAUAAED7/wUAAAABAAUAAED6/wQAAAAAAAQAAED9/wUAAAADAAAAAHD9/wYAAAACAAAAAHD8/wUAAAADAAEAAHD+/wYAAgAFAAAAAFD+/wUAAgADAAAAABD//wUAAgABAAAAAHAAAAUAAgABAAAAAHABAAUAAgABAAAAAHACAAUAAgADAAAAAAACAAYAAgADAAAAAFAAAAgAAAAGAAIAAFAAAAkAAAAHAAIAAFD//wkAAAAHAAMAAFABAAYAAAAAAAQAABABAAcAAAAAAAUAABAAAAcAAAABAAUAABD+/wkAAgABAAAAAFD9/wkAAgABAAAAAFD8/wkAAAAGAAAAAHD7/wgAAAAHAAEAAHD7/wkAAAAGAAEAAHD6/wgAAgABAAAAAFD5/wgAAgABAAAAAFD4/wgAAAAGAAIAADD3/wcAAAAHAAMAADD3/wgAAAAHAAIAADD3/wQAAgADAAEAADD3/wYAAgABAAAAADD3/wUAAgABAAAAADD3/wMAAgABAAAAADA=") +tile_set = ExtResource("4_r58io") diff --git a/scenes/map_02.tscn b/scenes/map_02.tscn index ef94f1f..70fcc4c 100644 --- a/scenes/map_02.tscn +++ b/scenes/map_02.tscn @@ -1,9 +1,9 @@ [gd_scene load_steps=7 format=4 uid="uid://qmjooinavojx"] [ext_resource type="Texture2D" uid="uid://ca1tdkrek7wyi" path="res://sprites/Spritesheets/spritesheet_tiles.png" id="1_cuxtw"] -[ext_resource type="TileSet" uid="uid://fy1cu3bt11db" path="res://sprites/spritesheet_road/spritesheet_bg_road1x1.tres" id="2_lp62b"] -[ext_resource type="TileSet" uid="uid://dqj1nt8840fpl" path="res://sprites/spritesheet_road/spritesheet_marker.tres" id="3_hf2rq"] -[ext_resource type="TileSet" uid="uid://dfo0ra568q52r" path="res://sprites/spritesheet_road/spritesheet_road1x1.tres" id="4_p03y8"] +[ext_resource type="TileSet" uid="uid://beswbm12qkkxk" path="res://sprites/spritesheet_road/bg_road.tres" id="2_aegf7"] +[ext_resource type="TileSet" uid="uid://buu8w8n61kbxf" path="res://sprites/spritesheet_road/markings.tres" id="3_t05jh"] +[ext_resource type="TileSet" uid="uid://b15864hbqomim" path="res://sprites/spritesheet_road/road.tres" id="4_7vh6j"] [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_tvddu"] texture = ExtResource("1_cuxtw") @@ -325,7 +325,7 @@ texture_region_size = Vector2i(128, 128) tile_size = Vector2i(128, 128) sources/0 = SubResource("TileSetAtlasSource_tvddu") -[node name="Map01" type="Node"] +[node name="Map" type="Node"] [node name="Background" type="TileMapLayer" parent="."] visible = false @@ -334,12 +334,22 @@ tile_set = SubResource("TileSet_5knbn") collision_enabled = false [node name="road_bg" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAAAAAEAAgAAAAAAAFAAAAAAAgADAAEAAAAAAP//AgADAAEAAAAAAP7/AgAAAAAAAGABAP7/AgAAAAAAAGABAP//AgADAAEAAAABAAAAAgADAAEAAAABAAEAAgAAAAAAAFACAAEAAgAAAAAAAFACAAAAAgADAAEAAAACAP//AgADAAEAAAACAP7/AgAAAAAAAGADAP7/AgAAAAAAAGADAP//AgADAAEAAAADAAAAAgADAAEAAAADAAEAAgAAAAAAAFAEAAEAAgAAAAAAAFAEAAAAAgADAAEAAAAEAP//AgADAAEAAAAEAP7/AgAAAAAAAGAFAP7/AgAAAAAAAGAFAP//AgADAAEAAAAFAAAAAgADAAEAAAAFAAEAAgAAAAAAAFAGAAEAAgAAAAAAAFAGAAAAAgADAAEAAAAGAP//AgADAAEAAAAGAP7/AgAAAAAAAGD/////AgADAAEAAAD+////AgADAAEAAAD9////AgADAAEAAAD9/wAAAgADAAEAAAD+/wAAAgADAAEAAAD//wAAAgADAAEAAAD8////AgADAAEAAAD8/wAAAgADAAEAAAD7////AgADAAEAAAD7/wAAAgADAAEAAAD6////AgADAAEAAAD6/wAAAgADAAEAAAD///7/AgAAAAAAAGD+//7/AgAAAAAAAGD9//7/AgAAAAAAAGD8//7/AgAAAAAAAGD7//7/AgAAAAAAAGD6//7/AgAAAAAAAGD//wEAAgAAAAAAAFD+/wEAAgAAAAAAAFD9/wEAAgAAAAAAAFD8/wEAAgAAAAAAAFD7/wEAAgAAAAAAAFD6/wEAAgAAAAAAAFA=") -tile_set = ExtResource("2_lp62b") +tile_map_data = PackedByteArray("AAAAAA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wEAAgAAAAAAAFD4/wEAAgAAAAAAAFD5/wEAAgAAAAAAAFD5//7/AgAAAAAAAGD4//7/AgAAAAAAAGD3//7/AgAAAAAAAGD2//7/AgAAAAAAAGDx////AAAFAAMAAGDw////AAAFAAIAAGDw/wAAAAAEAAIAAGDx/wgAAAAEAAIAADDw/wcAAAAFAAMAADDw/wgAAAAFAAIAADDz/wUAAAACAAMAADDz/wYAAAACAAIAADDy/wUAAAADAAMAADDz/wEAAAADAAMAAGDz/wIAAAACAAMAAGDy/wIAAAACAAIAAGD4/wgAAgABAAIAAFD7/wwAAgAAAAAAADD7/wsAAgABAAIAABA=") +tile_set = ExtResource("2_aegf7") + +[node name="road_bg2" type="TileMapLayer" parent="."] +tile_map_data = PackedByteArray("AAAAAAEAAgAAAAAAAFAAAAAAAgAGAAAAAAAAAP//AgAGAAAAAAAAAP7/AgAAAAAAAGABAP7/AgAAAAAAAGABAP//AgAGAAAAAAABAAAAAgAGAAAAAAABAAEAAgAAAAAAAFACAAEAAgAAAAAAAFACAAAAAgAGAAAAAAACAP//AgAGAAAAAAACAP7/AgAAAAAAAGADAP7/AgAAAAAAAGADAP//AgAGAAAAAAADAAAAAgAGAAAAAAADAAEAAgAAAAAAAFAEAAEAAgAAAAAAAFAEAAAAAgAGAAAAAAAEAP//AgAGAAAAAAAEAP7/AgAAAAAAAGAFAP7/AgAAAAAAAGAFAP//AgAGAAAAAAAFAAAAAgAGAAAAAAAFAAEAAgAAAAAAAFAGAAEAAgAAAAAAAFAGAAAAAgAGAAAAAAAGAP//AgAGAAAAAAAGAP7/AgAAAAAAAGD/////AgAGAAAAAAD+////AgAGAAAAAAD9////AgAGAAAAAAD9/wAAAgAGAAAAAAD+/wAAAgAGAAAAAAD//wAAAgAGAAAAAAD8////AgAGAAAAAAD8/wAAAgAGAAAAAAD7////AgAGAAAAAAD7/wAAAgAGAAAAAAD6////AgAGAAAAAAD6/wAAAgAGAAAAAAD///7/AgAAAAAAAGD+//7/AgAAAAAAAGD9//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AgAHAAIAAAAEABcAAgAHAAIAAFADABcAAgABAAEAAFACABcAAgABAAEAAFACAA4AAgABAAEAAFABABYAAAADAAMAAAAAABUAAAACAAIAAAAAABYAAAACAAMAAAD8/xUAAgAAAAAAAFD7/xUAAAAAAAIAADD6/xQAAAABAAMAADD7/xQAAgAGAAAAAAD//xMAAAAAAAIAADD+/xIAAAABAAMAADD+/xMAAAABAAIAADD//w8AAAABAAMAAGD+/w8AAAABAAIAAGD+/xAAAAAAAAIAAGALABAAAgAGAAAAAAAMAA8AAgAGAAAAAAAMAA4AAgAGAAAAAAAPAA8AAgACAAEAAAAOAAwAAAAAAAIAAAAPAAwAAAABAAIAAAAPAA0AAAABAAMAAAAPABEAAAAAAAIAAFAPABIAAAABAAIAAFAOABIAAAABAAMAAFD4/wgAAgAHAAIAAFDz/wYAAgAGAAAAAADy/wUAAgAGAAAAAADx/wgAAAAAAAIAADDw/wcAAAABAAMAADDx////AAABAAMAAGDw/wAAAAAAAAIAAGDy/wIAAgAGAAAAAADz/wEAAgAGAAAAAAD2////AgAGAAAAAAD3////AgAGAAAAAAD4////AgAGAAAAAAD5////AgAGAAAAAAD7/wsAAgAHAAIAADA=") +tile_set = ExtResource("2_aegf7") [node name="markings" type="TileMapLayer" parent="."] +z_index = 1 tile_map_data = PackedByteArray("AAAAAAEAAQAAAAAAAFAAAP7/AQAAAAAAAHAAAAAAAQABAAAAAFAAAP//AQABAAAAAFA=") -tile_set = ExtResource("3_hf2rq") +tile_set = ExtResource("3_t05jh") -[node name="road" type="TileMapLayer" parent="."] -tile_set = ExtResource("4_p03y8") +[node name="road_r" type="TileMapLayer" parent="."] +tile_map_data = PackedByteArray("AAAHAAEAAAAGAAAAAGAIAAEAAAAGAAEAAGAIAAAAAAAHAAEAAGAGAAEAAgABAAAAAEAFAAEAAgABAAAAAEAEAAEAAgABAAAAAEADAAEAAgABAAAAAEACAAEAAgABAAAAAEABAAEAAgABAAAAAEAAAAEAAgABAAAAAED//wEAAgABAAAAAED+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AAED0/wEAAgABAAAAAEDy/wMAAgABAAAAAADy/wQAAgABAAAAAAD0/wYAAgABAAAAAGD1/wYAAgABAAAAAGD2/wYAAgABAAAAAGD3/wYAAgABAAAAAGA=") +tile_set = ExtResource("4_7vh6j") + +[node name="road_l" type="TileMapLayer" parent="."] +tile_map_data = PackedByteArray("AAD6//7/AgABAAAAAGD7//7/AgABAAAAAGD8//7/AgABAAAAAGD9//7/AgABAAAAAGD+//7/AgABAAAAAGD///7/AgABAAAAAGAAAP7/AgABAAAAAGABAP7/AgABAAAAAGACAP7/AgABAAAAAGADAP7/AgABAAAAAGAEAP7/AgABAAAAAGAFAP7/AgABAAAAAGAGAP7/AgABAAAAAGAHAP7/AAAGAAAAAEAIAP7/AAAGAAEAAEAIAP//AAAHAAEAAEAJAP//AgABAAAAAGAKAP//AgABAAAAAGALAP//AgABAAAAAGAMAP//AAAGAAIAAAANAP//AAAHAAIAAAANAAAAAAAHAAMAAAANAAEAAgABAAAAAAANAAIAAgABAAAAAAANAAMAAgABAAAAAAANAAQAAgAFAAIAADANAAUAAgAAAAIAAAAMAAUAAgAGAAIAAAAMAAYAAgABAAAAACAMAAcAAgABAAAAACAMAAgAAgABAAAAACAMAAoAAAAGAAIAAFAMAAsAAAAHAAIAAFALAAsAAAAHAAMAAFAIAAsAAAAGAAIAADAHAAoAAAAHAAMAADAHAAsAAAAHAAIAADAKAAsAAgABAAAAAFAJAAsAAgABAAAAAFAMAAkAAgABAAAAAAAHAAkAAgABAAAAADAHAAgAAgABAAAAADAHAAcAAgAGAAIAABAGAAcAAgAAAAIAAFAGAAYAAgAEAAIAAFAFAAYAAgABAAAAAFAEAAYAAgABAAAAAFADAAYAAgABAAAAAFACAAYAAgABAAAAAFABAAYAAgAGAAIAAEABAAcAAgAAAAIAAAAAAAcAAgAGAAEAAAD//wgAAgAGAAEAAAD+/wkAAgAGAAEAAAAAAAgAAgAAAAIAAAD//wkAAgAAAAIAAAD9/woAAgAEAAIAAAD+/woAAgAAAAIAAAD9/wsAAgABAAAAAAD9/wwAAgABAAAAAAD9/w0AAAAAAAQAAED+/w0AAAAAAAUAAED+/w4AAAABAAUAAED//w4AAgABAAAAAGAAAA4AAgABAAAAAGABAA4AAgABAAAAAGACAA4AAgAGAAIAAHACAA0AAgAAAAIAADADAA0AAgADAAIAAEAJAAwAAgABAAAAAGAKAAwAAgABAAAAAGAIAAwAAgABAAAAAGAHAAwAAgABAAAAAGAEAA0AAgAGAAIAAHAFAAwAAgADAAIAAEAEAAwAAgAAAAIAADAGAAwAAgABAAAAAGAOAAwAAAAGAAIAAAAPAAwAAAAHAAIAAAAPAA0AAAAHAAMAAAALAAwAAgABAAAAAGAMAAwAAgABAAAAAGANAAwAAgABAAAAAGAPABEAAAAGAAIAAFAPABIAAAAHAAIAAFAOABIAAAAHAAMAAFAPAA8AAgADAAEAAAAPAA4AAgABAAAAAAAPABAAAgABAAAAAAANABIAAgABAAAAAFAMABIAAgABAAAAAFALABIAAgABAAAAAFAKABIAAgABAAAAAFAJABIAAgABAAAAAFAIABIAAgABAAAAAFAHABIAAAAGAAAAAHAGABEAAAAHAAEAAHAGABIAAAAGAAEAAHAFABEAAgABAAAAAFAEABEAAgABAAAAAFADABEAAgABAAAAAFACABEAAgABAAAAAFABABEAAgAFAAAAABABABIAAgAFAAAAADACABIAAgADAAIAAFADABIAAgAAAAIAACAEABMAAgAAAAIAACAFABQAAgAAAAIAACADABMAAgAGAAEAACAEABQAAgAGAAEAACAFABUAAgAFAAIAABAFABYAAgADAAIAADAEABcAAgAFAAIAAHAFABcAAgAAAAIAAEADABcAAgABAAAAAEACABcAAgABAAAAAEABABcAAgADAAAAADABABYAAAAAAAQAAHAAABUAAAABAAUAAHAAABYAAAAAAAUAAHD//xUAAgABAAAAAED+/xUAAgADAAEAAED9/xUAAgABAAAAAED8/xUAAgABAAAAAED7/xUAAAAHAAMAAED6/xQAAAAGAAIAAED6/xUAAAAHAAIAAED6/xMAAgABAAAAABD6/xIAAgABAAAAABD6/xEAAgABAAAAABD6/xAAAgABAAAAABD6/w8AAgABAAAAABD6/w4AAAADAAEAABD7/w0AAAACAAAAABD7/wwAAgABAAAAABD7/wsAAgAEAAIAABD6/w0AAAADAAAAABD6/wsAAgAAAAIAABD5/woAAgAAAAIAABD4/wkAAgAAAAIAABD6/woAAgAGAAEAABD5/wkAAgAGAAEAABD4/wgAAgAGAAIAAFD3/wgAAgABAAAAAED2/wgAAgABAAAAAED1/wgAAgABAAAAAED0/wgAAgABAAAAAEDz/wgAAgABAAAAAEDy/wgAAgABAAAAAEDx/wgAAAAHAAMAAEDw/wcAAAAGAAIAAEDw/wgAAAAHAAIAAEDx////AAAGAAIAABDw////AAAHAAIAABDw/wAAAAAHAAMAABDw/wYAAgABAAAAABDw/wUAAgABAAAAABDw/wQAAgABAAAAABDw/wMAAgABAAAAABDw/wIAAgABAAAAABDw/wEAAgABAAAAABD5//7/AgABAAAAAGD4//7/AgABAAAAAGD3//7/AgABAAAAAGD2//7/AgABAAAAAGD1//7/AAAGAAAAAFD0//7/AAAGAAEAAFD0////AAAHAAEAAFDy////AgABAAAAAHDz////AgABAAAAAHA=") +tile_set = ExtResource("4_7vh6j") diff --git a/scripts/car.gd b/scripts/car.gd index eda8b84..0b6d792 100644 --- a/scripts/car.gd +++ b/scripts/car.gd @@ -5,6 +5,9 @@ extends CharacterBody2D const COLLISIONMASK_FINISH=3 #set in road_overlay const COLLISIONMASK_CHECKPOINT=4 #set in road_overlay +const ROAD_R_NAME="road_r" +const ROAD_L_NAME="road_l" + const STANDSTILLSPEED=0.5 var wheel_base = 60*0.5 @@ -99,6 +102,9 @@ func get_input(): var origin=ray_cast_fl.global_transform.origin var collision_point = ray_cast_fl.get_collision_point() distance_fl = origin.distance_to(collision_point) + var collision_object=ray_cast_fl.get_collider() + #if collision_object.name==ROAD_R_NAME: + #print("DistanceFL "+str(distance_fl)) if ray_cast_fr.is_colliding(): var origin=ray_cast_fr.global_transform.origin diff --git a/scripts/game.gd b/scripts/game.gd index e133312..8f964b6 100644 --- a/scripts/game.gd +++ b/scripts/game.gd @@ -77,9 +77,6 @@ func _process(delta: float) -> void: var mapped_zoomspeed_x=constrain(remap(calculatedViewCarMargin.x , viewCarMargin_zoomstart.x*viewsize.x,viewCarMargin.x*viewsize.x,0,zoomspeed),0,zoomspeed) var mapped_zoomspeed_y=constrain(remap(calculatedViewCarMargin.y , viewCarMargin_zoomstart.y*viewsize.y,viewCarMargin.y*viewsize.y,0,zoomspeed),0,zoomspeed) var mapped_zoomspeed=max(mapped_zoomspeed_x,mapped_zoomspeed_y) - print("calculatedViewCarMargin="+str(calculatedViewCarMargin)) - print("viewCarMargin_zoomstart*viewsize="+str(viewCarMargin_zoomstart*viewsize)) - print("viewCarMargin_zoombackup*viewsize="+str(viewCarMargin_zoombackup*viewsize)) if calculatedViewCarMargin.x<(viewCarMargin_zoomstart.x*viewsize.x) or calculatedViewCarMargin.y<(viewCarMargin_zoomstart.y*viewsize.y): #cars not in view camera.zoom-=Vector2(mapped_zoomspeed*delta,mapped_zoomspeed*delta) elif calculatedViewCarMargin.x>(viewCarMargin_zoombackup.x*viewsize.x) and calculatedViewCarMargin.y>(viewCarMargin_zoombackup.y*viewsize.y): #cars in view again diff --git a/sprites/spritesheet_road/bg_road.tres b/sprites/spritesheet_road/bg_road.tres new file mode 100644 index 0000000..c494f62 --- /dev/null +++ b/sprites/spritesheet_road/bg_road.tres @@ -0,0 +1,52 @@ +[gd_resource type="TileSet" load_steps=5 format=3 uid="uid://beswbm12qkkxk"] + +[ext_resource type="Texture2D" uid="uid://dphq0r5wk8a8p" path="res://sprites/spritesheet_road/spritesheet_road2x2.png" id="1_5ff8j"] +[ext_resource type="Texture2D" uid="uid://cj7noshq5wkuu" path="res://sprites/spritesheet_road/spritesheet_road1x1.png" id="1_skok4"] + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_33l1j"] +texture = ExtResource("1_5ff8j") +texture_region_size = Vector2i(128, 128) +0:0/0 = 0 +1:0/0 = 0 +4:0/0 = 0 +5:0/0 = 0 +0:1/0 = 0 +1:1/0 = 0 +4:1/0 = 0 +5:1/0 = 0 +0:2/0 = 0 +1:2/0 = 0 +2:2/0 = 0 +3:2/0 = 0 +4:2/0 = 0 +5:2/0 = 0 +0:3/0 = 0 +1:3/0 = 0 +2:3/0 = 0 +3:3/0 = 0 +5:3/0 = 0 + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_5wrcn"] +texture = ExtResource("1_skok4") +texture_region_size = Vector2i(128, 128) +0:0/0 = 0 +2:0/0 = 0 +4:0/0 = 0 +6:0/0 = 0 +1:1/0 = 0 +4:1/0 = 0 +0:2/0 = 0 +1:3/0 = 0 +1:2/0 = 0 +2:2/0 = 0 +2:1/0 = 0 +5:1/0 = 0 +7:1/0 = 0 +7:0/0 = 0 +0:1/0 = 0 +7:2/0 = 0 + +[resource] +tile_size = Vector2i(128, 128) +sources/2 = SubResource("TileSetAtlasSource_5wrcn") +sources/0 = SubResource("TileSetAtlasSource_33l1j") diff --git a/sprites/spritesheet_road/spritesheet_marker.tres b/sprites/spritesheet_road/markings.tres similarity index 77% rename from sprites/spritesheet_road/spritesheet_marker.tres rename to sprites/spritesheet_road/markings.tres index 0419967..5a6f3d2 100644 --- a/sprites/spritesheet_road/spritesheet_marker.tres +++ b/sprites/spritesheet_road/markings.tres @@ -1,9 +1,9 @@ -[gd_resource type="TileSet" load_steps=3 format=3 uid="uid://dqj1nt8840fpl"] +[gd_resource type="TileSet" load_steps=3 format=3 uid="uid://buu8w8n61kbxf"] -[ext_resource type="Texture2D" uid="uid://cd0r2a2yf42my" path="res://sprites/spritesheet_road/spritesheet_markings1x1.png" id="2_j34ny"] +[ext_resource type="Texture2D" uid="uid://cd0r2a2yf42my" path="res://sprites/spritesheet_road/spritesheet_markings1x1.png" id="1_hbu2l"] [sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_3gx66"] -texture = ExtResource("2_j34ny") +texture = ExtResource("1_hbu2l") texture_region_size = Vector2i(128, 128) 0:0/0 = 0 0:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-64, -35, 56, -35, 56, -13, -64, -13) diff --git a/sprites/spritesheet_road/road.tres b/sprites/spritesheet_road/road.tres new file mode 100644 index 0000000..3cb0a0f --- /dev/null +++ b/sprites/spritesheet_road/road.tres @@ -0,0 +1,62 @@ +[gd_resource type="TileSet" load_steps=5 format=3 uid="uid://b15864hbqomim"] + +[ext_resource type="Texture2D" uid="uid://dphq0r5wk8a8p" path="res://sprites/spritesheet_road/spritesheet_road2x2.png" id="1_e5l6t"] +[ext_resource type="Texture2D" uid="uid://cj7noshq5wkuu" path="res://sprites/spritesheet_road/spritesheet_road1x1.png" id="2_d11sc"] + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_bl4c0"] +texture = ExtResource("1_e5l6t") +texture_region_size = Vector2i(128, 128) +2:0/0 = 0 +2:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(52, -64, 54, -46, 58, -30, 64, -12, 64, -28, 62, -32, 60, -48, 58, -64) +3:0/0 = 0 +3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-64, -28, -60, -16, -52, 4, -42, 22, -28, 40, -12, 58, -4, 64, -12, 64, -28, 48, -46, 24, -60, 0, -64, -12) +3:1/0 = 0 +3:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-10, -62, 6, -46, 20, -28, 34, -6, 44, 18, 50, 38, 52, 54, 52, 62, 58, 62, 56, 44, 52, 24, 44, 2, 32, -22, 18, -40, 2, -58, -2, -62) +6:0/0 = 0 +6:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-52, -64, -50, -48, -46, -28, -34, 4, -22, 24, -8, 42, 4, 56, 14, 64, 6, 64, -10, 48, -24, 32, -38, 8, -48, -16, -54, -38, -58, -56, -58, -64) +6:1/0 = 0 +6:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(6, -64, 24, -48, 38, -30, 50, -10, 58, 8, 64, 24, 64, 8, 52, -16, 42, -34, 30, -48, 14, -64) +7:1/0 = 0 +7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(-52, 64, -52, 54, -54, 38, -60, 20, -64, 10, -64, 24, -60, 42, -58, 64) +6:2/0 = 0 +6:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-64, -52, -44, -50, -16, -46, 18, -36, 52, -20, 64, -14, 64, -22, 36, -36, 2, -48, -28, -54, -54, -58, -64, -58) +7:2/0 = 0 +7:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-64, -14, -44, 0, -20, 22, -6, 38, 14, 64, 22, 64, 6, 42, -10, 22, -28, 4, -50, -12, -64, -22) +7:3/0 = 0 +7:3/0/physics_layer_0/polygon_0/points = PackedVector2Array(52, 64, 50, 38, 46, 10, 38, -14, 28, -38, 14, -64, 22, -64, 30, -50, 42, -24, 48, -2, 56, 26, 58, 56, 58, 64) +0:4/0 = 0 +0:4/0/physics_layer_0/polygon_0/points = PackedVector2Array(-64, 52, -50, 52, -26, 56, -6, 64, -26, 64, -46, 60, -64, 58) +0:5/0 = 0 +0:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-24, -64, 2, -54, 20, -40, 42, -18, 54, 2, 64, 24, 64, 8, 52, -16, 34, -36, 12, -54, -8, -64) +1:5/0 = 0 +1:5/0/physics_layer_0/polygon_0/points = PackedVector2Array(-52, 64, -52, 50, -56, 24, -64, 8, -64, 24, -60, 40, -58, 64) + +[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_m1hpr"] +texture = ExtResource("2_d11sc") +texture_region_size = Vector2i(128, 128) +1:0/0 = 0 +1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(52, -64, 52, 64, 58, 64, 58, -64) +3:0/0 = 0 +3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(52, 64, 50.3181, 48.2707, 46.3808, 33.1517, 40.8687, 17.8751, 32.0492, 1.81114, 16.7727, -16.3002, 0.866196, -30.0019, -16.1427, -39.4513, -33.3092, -46.2234, -47.7983, -50.0031, -64, -51.893, -64, -57.7201, -47.9557, -56.6177, -31.2618, -52.6804, -13.7804, -45.7509, 5.74839, -35.0416, 21.4974, -20.8674, 37.7189, -1.65364, 46.6958, 15.5128, 52.8379, 31.7343, 56.3027, 47.3258, 57.5627, 64) +5:0/0 = 0 +5:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-57, 64, -59.295, 59.61, -64, 57.2477, -64, 52.3655, -55.0428, 55.8303, -52.3655, 64) +3:1/0 = 0 +3:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(52, -64, 52, -48, 48, -32, 40, -16, 37, 0, 40, 16, 48, 32, 52, 48, 52, 64, 58, 64, 58, 48, 54, 32, 43, 0, 54, -32, 58, -48, 58, -64) +6:1/0 = 0 +6:1/0/physics_layer_0/polygon_1/points = PackedVector2Array(64, 10, 10, 64, 18, 64, 64, 18) +0:2/0 = 0 +0:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(18, -64, -64, 18, -64, 10, 10, -64) +3:2/0 = 0 +3:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-52.3636, 64, -52.3636, -16.1616, -49.7778, -22.6263, -45.899, -29.0909, -9.69697, -64, -18.7475, -64, -51.0707, -31.6768, -56.2424, -23.9192, -57.5354, -16.1616, -57.5354, 64) +4:2/0 = 0 +4:2/0/physics_layer_0/polygon_1/points = PackedVector2Array(57.5354, 64, 57.5354, 31.6768, 64, 17.4545, 64, 9.69697, 56.2424, 17.4545, 52.3636, 27.798, 52.3636, 32.9697, 52.3636, 64) +5:2/0 = 0 +5:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-52.3636, 64, -52.3636, -16.1616, -49.7778, -22.6263, -45.899, -29.0909, -9.69697, -64, -18.7475, -64, -51.0707, -31.6768, -56.2424, -23.9192, -57.5354, -16.1616, -57.5354, 64) +6:2/0 = 0 +6:2/0/physics_layer_0/polygon_1/points = PackedVector2Array(57.5354, 64, 57.5354, 31.6768, 64, 17.4545, 64, 9.69697, 56.2424, 17.4545, 52.3636, 27.798, 52.3636, 32.9697, 52.3636, 64) + +[resource] +tile_size = Vector2i(128, 128) +physics_layer_0/collision_layer = 3 +sources/2 = SubResource("TileSetAtlasSource_m1hpr") +sources/0 = SubResource("TileSetAtlasSource_bl4c0") diff --git a/sprites/spritesheet_road/road_1x1.xcf b/sprites/spritesheet_road/road_1x1.xcf index 6df19a3..db38b04 100644 Binary files a/sprites/spritesheet_road/road_1x1.xcf and b/sprites/spritesheet_road/road_1x1.xcf differ diff --git a/sprites/spritesheet_road/road_2x2.xcf b/sprites/spritesheet_road/road_2x2.xcf index 7b209f4..5e3d261 100644 Binary files a/sprites/spritesheet_road/road_2x2.xcf and b/sprites/spritesheet_road/road_2x2.xcf differ diff --git a/sprites/spritesheet_road/spritesheet_bg_road1x1.tres b/sprites/spritesheet_road/spritesheet_bg_road1x1.tres deleted file mode 100644 index d93204b..0000000 --- a/sprites/spritesheet_road/spritesheet_bg_road1x1.tres +++ /dev/null @@ -1,24 +0,0 @@ -[gd_resource type="TileSet" load_steps=3 format=3 uid="uid://fy1cu3bt11db"] - -[ext_resource type="Texture2D" uid="uid://cj7noshq5wkuu" path="res://sprites/spritesheet_road/spritesheet_road1x1.png" id="1_5axip"] - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_5wrcn"] -texture = ExtResource("1_5axip") -texture_region_size = Vector2i(128, 128) -0:0/0 = 0 -2:0/0 = 0 -4:0/0 = 0 -6:0/0 = 0 -1:1/0 = 0 -3:1/0 = 0 -4:1/0 = 0 -6:1/0 = 0 -0:2/0 = 0 -3:2/0 = 0 -5:2/0 = 0 -7:2/0 = 0 -1:3/0 = 0 - -[resource] -tile_size = Vector2i(128, 128) -sources/2 = SubResource("TileSetAtlasSource_5wrcn") diff --git a/sprites/spritesheet_road/spritesheet_markings1x1.png b/sprites/spritesheet_road/spritesheet_markings1x1.png index 81f845d..8e4c6a2 100644 Binary files a/sprites/spritesheet_road/spritesheet_markings1x1.png and b/sprites/spritesheet_road/spritesheet_markings1x1.png differ diff --git a/sprites/spritesheet_road/spritesheet_road1x1.png b/sprites/spritesheet_road/spritesheet_road1x1.png index 6ca17f1..4b9aa29 100644 Binary files a/sprites/spritesheet_road/spritesheet_road1x1.png and b/sprites/spritesheet_road/spritesheet_road1x1.png differ diff --git a/sprites/spritesheet_road/spritesheet_road1x1.tres b/sprites/spritesheet_road/spritesheet_road1x1.tres deleted file mode 100644 index b1ae1ba..0000000 --- a/sprites/spritesheet_road/spritesheet_road1x1.tres +++ /dev/null @@ -1,54 +0,0 @@ -[gd_resource type="TileSet" load_steps=5 format=3 uid="uid://dfo0ra568q52r"] - -[ext_resource type="Texture2D" uid="uid://dphq0r5wk8a8p" path="res://sprites/spritesheet_road - Kopie/spritesheet_road2x2.png" id="1_fh6vp"] -[ext_resource type="Texture2D" uid="uid://cj7noshq5wkuu" path="res://sprites/spritesheet_road - Kopie/spritesheet_road1x1.png" id="2_p3txp"] - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_bl4c0"] -texture = ExtResource("1_fh6vp") -texture_region_size = Vector2i(128, 128) -2:0/size_in_atlas = Vector2i(2, 2) -2:0/0 = 0 -6:0/size_in_atlas = Vector2i(2, 2) -6:0/0 = 0 - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_m1hpr"] -texture = ExtResource("2_p3txp") -texture_region_size = Vector2i(128, 128) -1:0/0 = 0 -1:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(52, -64, 52, 64, 58, 64, 58, -64) -3:0/0 = 0 -3:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(52, 64, 50.3181, 48.2707, 46.3808, 33.1517, 40.8687, 17.8751, 32.0492, 1.81114, 16.7727, -16.3002, 0.866196, -30.0019, -16.1427, -39.4513, -33.3092, -46.2234, -47.7983, -50.0031, -64, -51.893, -64, -57.7201, -47.9557, -56.6177, -31.2618, -52.6804, -13.7804, -45.7509, 5.74839, -35.0416, 21.4974, -20.8674, 37.7189, -1.65364, 46.6958, 15.5128, 52.8379, 31.7343, 56.3027, 47.3258, 57.5627, 64) -5:0/0 = 0 -5:0/0/physics_layer_0/polygon_0/points = PackedVector2Array(-57, 64, -59.295, 59.61, -64, 57.2477, -64, 52.3655, -55.0428, 55.8303, -52.3655, 64) -0:1/0 = 0 -0:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(52, -64, 52, 64, 58, 64, 58, -64) -0:1/0/physics_layer_0/polygon_1/points = PackedVector2Array(-52, -64, -52, 64, -58, 64, -58, -64) -2:1/0 = 0 -2:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(52, 64, 50.3181, 48.2707, 46.3808, 33.1517, 40.8687, 17.8751, 32.0492, 1.81114, 16.7727, -16.3002, 0.866196, -30.0019, -16.1427, -39.4513, -33.3092, -46.2234, -47.7983, -50.0031, -64, -51.893, -64, -57.7201, -47.9557, -56.6177, -31.2618, -52.6804, -13.7804, -45.7509, 5.74839, -35.0416, 21.4974, -20.8674, 37.7189, -1.65364, 46.6958, 15.5128, 52.8379, 31.7343, 56.3027, 47.3258, 57.5627, 64) -2:1/0/physics_layer_0/polygon_1/points = PackedVector2Array(-57.7201, 64, -59.295, 59.61, -64, 57.2477, -64, 52.3655, -55.0428, 55.8303, -52.3655, 64) -4:1/0 = 0 -4:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(52, -64, 52, 64, 58, 64, 58, -64) -4:1/0/physics_layer_0/polygon_1/points = PackedVector2Array(-57, 64, -59.295, 59.61, -64, 57.2477, -64, 52.3655, -55.0428, 55.8303, -52.3655, 64) -5:1/0 = 0 -5:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(52, -64, 52, 64, 58, 64, 58, -64) -5:1/0/physics_layer_0/polygon_1/points = PackedVector2Array(-57, 64, -59.295, 59.61, -64, 57.2477, -64, 52.3655, -55.0428, 55.8303, -52.3655, 64) -7:1/0 = 0 -7:1/0/physics_layer_0/polygon_0/points = PackedVector2Array(52, -64, 52, -48, 48, -32, 40, -16, 37, 0, 40, 16, 48, 32, 52, 48, 52, 64, 58, 64, 58, 48, 54, 32, 43, 0, 54, -32, 58, -48, 58, -64) -7:1/0/physics_layer_0/polygon_1/points = PackedVector2Array(-52, -64, -52, -48, -48, -32, -40, -16, -37, 0, -40, 16, -48, 32, -52, 48, -52, 64, -58, 64, -58, 48, -54, 32, -43, 0, -54, -32, -58, -48, -58, -64) -1:2/0 = 0 -1:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-64, -9.69697, -9.69697, -64, -17.4545, -64, -64, -17.4545) -1:2/0/physics_layer_0/polygon_1/points = PackedVector2Array(64, 9.69697, 9.69697, 64, 18.7475, 64, 64, 18.7475) -3:2/0 = 0 -3:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(17.4545, -64, -64, 17.4545, -64, 9.69697, 9.69697, -64) -5:2/0 = 0 -5:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-52.3636, 64, -52.3636, -16.1616, -49.7778, -22.6263, -45.899, -29.0909, -9.69697, -64, -18.7475, -64, -51.0707, -31.6768, -56.2424, -23.9192, -57.5354, -16.1616, -57.5354, 64) -5:2/0/physics_layer_0/polygon_1/points = PackedVector2Array(57.5354, 64, 57.5354, 31.6768, 64, 17.4545, 64, 9.69697, 56.2424, 17.4545, 52.3636, 27.798, 52.3636, 32.9697, 52.3636, 64) -6:2/0 = 0 -6:2/0/physics_layer_0/polygon_0/points = PackedVector2Array(-52.3636, 64, -52.3636, -16.1616, -49.7778, -22.6263, -45.899, -29.0909, -9.69697, -64, -18.7475, -64, -51.0707, -31.6768, -56.2424, -23.9192, -57.5354, -16.1616, -57.5354, 64) -6:2/0/physics_layer_0/polygon_1/points = PackedVector2Array(57.5354, 64, 57.5354, 31.6768, 64, 17.4545, 64, 9.69697, 56.2424, 17.4545, 52.3636, 27.798, 52.3636, 32.9697, 52.3636, 64) - -[resource] -tile_size = Vector2i(128, 128) -physics_layer_0/collision_layer = 3 -sources/2 = SubResource("TileSetAtlasSource_m1hpr") -sources/0 = SubResource("TileSetAtlasSource_bl4c0") diff --git a/sprites/spritesheet_road/spritesheet_road2x2.png b/sprites/spritesheet_road/spritesheet_road2x2.png index bdcff84..39c6494 100644 Binary files a/sprites/spritesheet_road/spritesheet_road2x2.png and b/sprites/spritesheet_road/spritesheet_road2x2.png differ