diff --git a/scenes/map_00.tscn b/scenes/map_00.tscn index 2982e1c..7ea4be8 100644 --- a/scenes/map_00.tscn +++ b/scenes/map_00.tscn @@ -1,267 +1,444 @@ -[gd_scene load_steps=14 format=4 uid="uid://d3v3wljq0kgml"] +[gd_scene load_steps=34 format=3 uid="uid://bu1m43nyf4ys8"] -[ext_resource type="Texture2D" uid="uid://bu05e161cb61k" path="res://sprites/background/spritesheet_bg.png" id="1_7rl6r"] -[ext_resource type="TileSet" uid="uid://beswbm12qkkxk" path="res://sprites/spritesheet_road/bg_road.tres" id="2_1kitx"] -[ext_resource type="TileSet" uid="uid://buu8w8n61kbxf" path="res://sprites/spritesheet_road/markings.tres" id="3_km43a"] -[ext_resource type="TileSet" uid="uid://b15864hbqomim" path="res://sprites/spritesheet_road/road.tres" id="4_4dro0"] -[ext_resource type="Texture2D" uid="uid://dpuhee0x5ekud" path="res://sprites/background/spritesheet_scenery.png" id="5_yaxhs"] - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_qbu02"] -texture = ExtResource("1_7rl6r") -texture_region_size = Vector2i(256, 256) -0:0/0 = 0 -1:0/0 = 0 -2:0/0 = 0 -3:0/0 = 0 -4:0/0 = 0 -5:0/0 = 0 -6:0/0 = 0 -7:0/0 = 0 -0:1/0 = 0 -1:1/0 = 0 -2:1/0 = 0 -3:1/0 = 0 -4:1/0 = 0 -5:1/0 = 0 -6:1/0 = 0 -7: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 -6:2/0 = 0 -7:2/0 = 0 -0:3/0 = 0 -1:3/0 = 0 -2:3/0 = 0 -3:3/0 = 0 -4:3/0 = 0 -5:3/0 = 0 -6:3/0 = 0 -7:3/0 = 0 - -[sub_resource type="TileSet" id="TileSet_5knbn"] -tile_size = Vector2i(256, 256) -sources/1 = SubResource("TileSetAtlasSource_qbu02") - -[sub_resource type="RectangleShape2D" id="RectangleShape2D_daqun"] -size = Vector2(23, 222) +[ext_resource type="Texture2D" uid="uid://csknopg1cbqbq" path="res://sprites/background/green_gradient.png" id="1_01a82"] +[ext_resource type="Texture2D" uid="uid://5l1t6nyjn022" path="res://sprites/road/road_border.png" id="2_fr1tj"] +[ext_resource type="Script" path="res://scripts/roadborder.gd" id="3_pbq8s"] +[ext_resource type="Texture2D" uid="uid://gydxil7qf7jc" path="res://sprites/road/road_trim.png" id="4_s7foq"] +[ext_resource type="Script" path="res://scripts/generate_road_polyon.gd" id="5_g15mv"] +[ext_resource type="Texture2D" uid="uid://bu1vuswjdjub3" path="res://sprites/road/road_startmarker.png" id="6_2dfn4"] +[ext_resource type="Texture2D" uid="uid://bdpm76vsgrpc0" path="res://sprites/smooth_fields/fields_animal_002.png" id="6_61lnv"] +[ext_resource type="Texture2D" uid="uid://bn31voko78y3i" path="res://sprites/smooth_fields/fields_bush_001.png" id="6_u22tk"] +[ext_resource type="Texture2D" uid="uid://crb12ld3cl3lu" path="res://sprites/road/finishline.png" id="7_03lti"] +[ext_resource type="Texture2D" uid="uid://c5yoi84wlopx6" path="res://sprites/smooth_fields/fields_bush_007.png" id="7_hbjo8"] +[ext_resource type="Texture2D" uid="uid://ba7g1ewwchn6c" path="res://sprites/smooth_fields/fields_animal_001.png" id="7_kqm3c"] +[ext_resource type="Texture2D" uid="uid://ds30ldcqv2qbl" path="res://sprites/smooth_fields/fields_flower_017.png" id="7_ma3qq"] +[ext_resource type="Texture2D" uid="uid://bqroujxkfem6w" path="res://sprites/smooth_fields/fields_bush_008.png" id="8_o5upf"] +[ext_resource type="Texture2D" uid="uid://c0ss6dp7hba8j" path="res://sprites/smooth_fields/fields_flower_011.png" id="8_ql4s5"] +[ext_resource type="Texture2D" uid="uid://bnknq4uqmfjke" path="res://sprites/smooth_fields/fields_bush_003.png" id="9_b66fe"] +[ext_resource type="Texture2D" uid="uid://8nlgbc34cnp7" path="res://sprites/smooth_fields/fields_bush_004.png" id="10_t0xlr"] +[ext_resource type="Texture2D" uid="uid://dvd68hd5nhe1f" path="res://sprites/smooth_fields/fields_bush_005.png" id="11_4e8cv"] +[ext_resource type="Texture2D" uid="uid://c544312njkn87" path="res://sprites/smooth_fields/fields_bush_006.png" id="12_5saie"] +[ext_resource type="Texture2D" uid="uid://bwow1hv3be0gh" path="res://sprites/smooth_fields/fields_bush_002.png" id="13_vlhny"] +[ext_resource type="Texture2D" uid="uid://chf3nke2k2ton" path="res://sprites/smooth_fields/fields_flower_001.png" id="16_7byii"] +[ext_resource type="Texture2D" uid="uid://7nxi48ue47ka" path="res://sprites/smooth_fields/fields_flower_002.png" id="17_0ija5"] +[ext_resource type="Texture2D" uid="uid://boj2l5gdvhjb5" path="res://sprites/smooth_fields/fields_flower_003.png" id="18_0l1dw"] +[ext_resource type="Texture2D" uid="uid://bfucgjwvhhica" path="res://sprites/smooth_fields/fields_flower_004.png" id="19_2dijc"] +[ext_resource type="Texture2D" uid="uid://d2clk1ffpqnf0" path="res://sprites/smooth_fields/fields_flower_005.png" id="20_kecsd"] +[ext_resource type="Texture2D" uid="uid://db5h7kfa3huom" path="res://sprites/smooth_fields/fields_flower_007.png" id="21_4x6bi"] +[ext_resource type="Texture2D" uid="uid://cv7ouolws5os" path="res://sprites/smooth_fields/fields_flower_008.png" id="22_sdde4"] +[ext_resource type="Texture2D" uid="uid://c6yd5j7dsnrhc" path="res://sprites/smooth_fields/fields_flower_009.png" id="23_qsqn3"] +[ext_resource type="Texture2D" uid="uid://c02dmvpb7541n" path="res://sprites/smooth_fields/fields_flower_013.png" id="24_joq8i"] +[ext_resource type="Texture2D" uid="uid://cx2uy8puk15v5" path="res://sprites/smooth_fields/fields_flower_015.png" id="25_ituuu"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_dltky"] -size = Vector2(224, 43) +size = Vector2(64, 128) [sub_resource type="RectangleShape2D" id="RectangleShape2D_uys5r"] -size = Vector2(20, 100) +size = Vector2(64, 192) [sub_resource type="RectangleShape2D" id="RectangleShape2D_82iti"] -size = Vector2(106, 26.5) +size = Vector2(128, 64) -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_hclam"] -texture = ExtResource("5_yaxhs") -texture_region_size = Vector2i(128, 128) -2:0/0 = 0 -3:0/0 = 0 -6:0/0 = 0 -7:0/0 = 0 -8:0/0 = 0 -9:0/0 = 0 -10:0/0 = 0 -11:0/0 = 0 -12:0/0 = 0 -13:0/0 = 0 -14:0/0 = 0 -15:0/0 = 0 -2:1/0 = 0 -3:1/0 = 0 -6:1/0 = 0 -7:1/0 = 0 -8:1/0 = 0 -9:1/0 = 0 -10:1/0 = 0 -11:1/0 = 0 -12:1/0 = 0 -13:1/0 = 0 -14:1/0 = 0 -15: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 -6:2/0 = 0 -7:2/0 = 0 -8:2/0 = 0 -9:2/0 = 0 -10:2/0 = 0 -11:2/0 = 0 -12:2/0 = 0 -13:2/0 = 0 -14:2/0 = 0 -15:2/0 = 0 -0:3/0 = 0 -1:3/0 = 0 -2:3/0 = 0 -3:3/0 = 0 -4:3/0 = 0 -5:3/0 = 0 -6:3/0 = 0 -7:3/0 = 0 -8:3/0 = 0 -9:3/0 = 0 -10:3/0 = 0 -11:3/0 = 0 -12:3/0 = 0 -13:3/0 = 0 -14:3/0 = 0 -15:3/0 = 0 -0:4/0 = 0 -1:4/0 = 0 -2:4/0 = 0 -3:4/0 = 0 -4:4/0 = 0 -5:4/0 = 0 -6:4/0 = 0 -7:4/0 = 0 -8:4/0 = 0 -9:4/0 = 0 -10:4/0 = 0 -11:4/0 = 0 -12:4/0 = 0 -13:4/0 = 0 -14:4/0 = 0 -15:4/0 = 0 -0:5/0 = 0 -1:5/0 = 0 -2:5/0 = 0 -3:5/0 = 0 -4:5/0 = 0 -5:5/0 = 0 -6:5/0 = 0 -7:5/0 = 0 -8:5/0 = 0 -9:5/0 = 0 -10:5/0 = 0 -11:5/0 = 0 -12:5/0 = 0 -13:5/0 = 0 -14:5/0 = 0 -15:5/0 = 0 -0:6/0 = 0 -1:6/0 = 0 -2:6/0 = 0 -3:6/0 = 0 -4:6/0 = 0 -5:6/0 = 0 -6:6/0 = 0 -7:6/0 = 0 -8:6/0 = 0 -9:6/0 = 0 -10:6/0 = 0 -11:6/0 = 0 -12:6/0 = 0 -13:6/0 = 0 -14:6/0 = 0 -15:6/0 = 0 -0:7/0 = 0 -1:7/0 = 0 -2:7/0 = 0 -3:7/0 = 0 -4:7/0 = 0 -5:7/0 = 0 -6:7/0 = 0 -7:7/0 = 0 -8:7/0 = 0 -9:7/0 = 0 -10:7/0 = 0 -11:7/0 = 0 -12:7/0 = 0 -13:7/0 = 0 -14:7/0 = 0 -15:7/0 = 0 -0:0/size_in_atlas = Vector2i(2, 2) -0:0/0 = 0 -4:0/size_in_atlas = Vector2i(2, 2) -4:0/0 = 0 - -[sub_resource type="TileSet" id="TileSet_s6rw7"] -tile_size = Vector2i(128, 128) -sources/0 = SubResource("TileSetAtlasSource_hclam") +[sub_resource type="RectangleShape2D" id="RectangleShape2D_daqun"] +size = Vector2(32, 128) [node name="Map" type="Node"] -[node name="Background" type="TileMapLayer" parent="."] -visible = false -tile_map_data = PackedByteArray("AAD6//z/AQAAAAAAAAD6//3/AQAAAAAAAAD6//7/AQAAAAAAAAD6////AQAAAAAAAAD6/wAAAQAAAAAAAAD6/wEAAQAAAAAAAAD6/wIAAQAAAAAAAAD6/wMAAQAAAAAAAAD6/wQAAQAAAAAAAAD6/wUAAQAAAAAAAAD6/wYAAQAAAAAAAAD6/wcAAQAAAAAAAAD7//z/AQAAAAAAAAD7//3/AQAAAAAAAAD7//7/AQAAAAAAAAD7////AQAAAAAAAAD7/wAAAQAAAAAAAAD7/wEAAQAAAAAAAAD7/wIAAQAAAAAAAAD7/wMAAQAAAAAAAAD7/wQAAQAAAAAAAAD7/wUAAQAAAAAAAAD7/wYAAQAAAAAAAAD7/wcAAQAAAAAAAAD8//z/AQAAA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AAAAAAAAD4/wAAAQAAAAAAAAD4/wEAAQAAAAAAAAD4/wIAAQAAAAAAAAD4/wMAAQAAAAAAAAD4/wQAAQAAAAAAAAD4/wUAAQAAAAAAAAD4/wYAAQAAAAAAAAD4/wcAAQAAAAAAAAD5//r/AQAAAAAAAAD5//v/AQAAAAAAAAD5//z/AQAAAAAAAAD5//3/AQAAAAAAAAD5//7/AQAAAAAAAAD5////AQAAAAAAAAD5/wAAAQAAAAAAAAD5/wEAAQAAAAAAAAD5/wIAAQAAAAAAAAD5/wMAAQAAAAAAAAD5/wQAAQAAAAAAAAD5/wUAAQAAAAAAAAD5/wYAAQAAAAAAAAD5/wcAAQAAAAAAAAD6//r/AQAAAAAAAAD6//v/AQAAAAAAAAD7//r/AQAAAAAAAAD7//v/AQAAAAAAAAD8//r/AQAAAAAAAAD8//v/AQAAAAAAAAD9//r/AQAAAAAAAAD9//v/AQAAAAAAAAD+//r/AQAAAAAAAAD+//v/AQAAAAAAAAD///r/AQAAAAAAAAD///v/AQAAAAAAAAAAAPr/AQAAAAAAAAAAAPv/AQAAAAAAAAABAPr/AQAAAAAAAAABAPv/AQAAAAAAAAACAPr/AQAAAAAAAAACAPv/AQAAAAAAAAADAPr/AQAAAAAAAAADAPv/AQAAAAAAAAAEAPr/AQAAAAAAAAAEAPv/AQAAAAAAAAAFAPr/AQAAAAAAAAAFAPv/AQAAAAAAAAAGAPr/AQAAAAAAAAAGAPv/AQAAAAAAAAAHAPr/AQAAAAAAAAAHAPv/AQAAAAAAAAAIAPr/AQAAAAAAAAAIAPv/AQAAAAAAAAAJAPr/AQAAAAAAAAAJAPv/AQAAAAAAAAAKAPr/AQAAAAAAAAAKAPv/AQAAAAAAAAA=") -tile_set = SubResource("TileSet_5knbn") -collision_enabled = false +[node name="CanvasLayer" type="CanvasLayer" parent="."] +layer = -1 -[node name="road_bg" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAD/////AgAAAAAAAGD//wAAAgAAAAAAAFAAAP//AgAAAAAAAGAAAAAAAgAAAAAAAFABAP//AgAAAAAAAGABAAAAAgAAAAAAAFACAP//AgAAAAAAAGADAP//AgAAAAAAAGAEAP//AgAAAAAAAGAFAP//AgAAAAAAAGAGAP//AgAAAAAAAGACAAAAAgAAAAAAAFADAAAAAgAAAAAAAFAEAAAAAgAAAAAAAFAFAAAAAgAAAAAAAFAHAAIAAgAAAAAAADAHAAMAAgAAAAAAADAIAAEAAgAAAAAAAAAIAAIAAgAAAAAAAAAIAAMAAgAAAAAAAAAGAAUAAgAAAAAAAFAGAAQAAgAAAAAAAGAFAAQAAgAAAAAAAGACAAMAAgAAAAAAAGABAAMAAgAAAAAAAGADAAQAAgAAAAAAAFAAAAQAAgAAAAAAAFABAAQAAgAAAAAAAFD7/wAAAgAAAAAAADD+/wAAAgAAAAAAAFD9/wAAAgAAAAAAAFD8////AgAAAAAAAGD9////AgAAAAAAAGD+////AgAAAAAAAGAGAAAAAAACAAIAAAAGAAEAAAACAAMAAAAHAAAAAAADAAIAAAAHAAEAAAADAAMAAAAHAP//AAAEAAIAAAAIAP//AAAFAAIAAAAIAAAAAAAFAAMAAAAIAAQAAAAEAAIAAFAIAAUAAAAFAAIAAFAHAAUAAAAFAAMAAFD7////AgACAAAAAGD7/wQAAgAAAAEAADD8/wQAAgAHAAAAAFD9/wQAAgAHAAAAAFD+/wQAAgAHAAAAAFD7/wIAAgAHAAAAADD7/wMAAgAHAAAAADD7/wEAAgABAAIAAAD8/wAAAgABAAIAAED8/wEAAgAHAAEAAAAFAAUAAAABAAEAAEAEAAQAAAAAAAAAAEAEAAUAAAABAAAAAED//wQAAgABAAEAAFACAAQAAgACAAEAAFAHAAQAAgAEAAAAAFA=") -tile_set = ExtResource("2_1kitx") +[node name="Sprite2D" type="Sprite2D" parent="CanvasLayer"] +z_as_relative = false +position = Vector2(656, 336) +scale = Vector2(0.496296, 0.496296) +texture = ExtResource("1_01a82") -[node name="road_bg2" type="TileMapLayer" parent="."] -visible = false -tile_map_data = PackedByteArray("AAD7/wEAAgABAAEAADD//wQAAAAAAAAAAGAHAAQAAgAHAAIAADAHAP//AAAAAAIAAAAIAAAAAAABAAMAAAAHAAUAAAABAAMAAFAIAAQAAAAAAAIAAFAEAAMAAAABAAAAAHAEAAQAAAAAAAAAAHADAAMAAAABAAEAAHAAAAMAAAABAAEAAGD//wMAAAABAAAAAGACAAQAAgAHAAIAAFAHAAAAAgAGAAAAAAAHAAEAAgAHAAIAADAGAAAAAgAHAAIAAFD8/wAAAgAHAAIAAFA=") -tile_set = ExtResource("2_1kitx") - -[node name="road_bg_fixes" type="TileMapLayer" parent="."] -visible = false -tile_map_data = PackedByteArray("AAD//wQAAgABAAEAAFAEAAQAAAAAAAAAAEAFAAUAAAABAAEAAEAEAAUAAAABAAAAAEAHAAQAAgAHAAIAAGA=") -tile_set = ExtResource("2_1kitx") - -[node name="markings" type="TileMapLayer" parent="."] +[node name="Line2D2_right" type="Line2D" parent="."] z_index = 1 -tile_map_data = PackedByteArray("AAAAAAAAAQAAAAAAAFAAAP//AQAAAAAAAHA=") -tile_set = ExtResource("3_km43a") +points = PackedVector2Array(-256, 64, 512, 64, 512, 192, 384, 320, 128, 320, 0, 256, -256, 256, -384, 320, -512, 320, -512, 64, -264, 64) +closed = true +width = 6.0 +texture = ExtResource("2_fr1tj") +texture_mode = 1 +script = ExtResource("3_pbq8s") -[node name="road_r" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAD//wAAAgABAAAAAFAAAAAAAgABAAAAAFABAAAAAgABAAAAAFAGAAAAAAAAAAQAAAAGAAEAAAAAAAUAAAAHAAEAAAABAAUAAAACAAAAAgABAAAAAFADAAAAAgABAAAAAFAEAAAAAgABAAAAAFAFAAAAAgABAAAAAFAHAAIAAgABAAAAADAHAAMAAgABAAAAADAHAAQAAgAFAAAAACAGAAQAAgABAAAAAGAFAAQAAgABAAAAAGAEAAMAAAAGAAEAAEAEAAQAAAAHAAEAAEADAAMAAAAGAAAAAEACAAMAAgABAAAAAGABAAMAAgABAAAAAGAAAAMAAAADAAEAAGD//wMAAAADAAAAAGD//wQAAAACAAAAAGD+/wQAAgABAAAAAGD9/wQAAgABAAAAAGD8/wQAAgABAAAAAGD7/wQAAgAFAAAAAED7/wMAAgABAAAAAAD7/wIAAgABAAAAAAD7/wEAAgAEAAIAAAD8/wAAAgAGAAIAAED8/wEAAgAAAAIAAAD9/wAAAgABAAAAAFD+/wAAAgABAAAAAFA=") -tile_set = ExtResource("4_4dro0") +[node name="road_r" type="StaticBody2D" parent="Line2D2_right"] +collision_layer = 3 -[node name="road_l" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAABAP//AgABAAAAAHAAAP//AgABAAAAAHD/////AgABAAAAAHAIAP//AAAHAAIAAHAIAAAAAAAGAAIAAHAHAP//AAAHAAMAAHACAP//AgABAAAAAHADAP//AgABAAAAAHAEAP//AgABAAAAAHAFAP//AgABAAAAAHAGAP//AgABAAAAAHAIAAEAAgABAAAAACAIAAIAAgABAAAAACAIAAMAAgABAAAAACAIAAQAAAAHAAMAACAIAAUAAAAHAAIAACAHAAUAAAAGAAIAACAFAAUAAAADAAEAAEAEAAQAAAACAAAAAEAEAAUAAAADAAAAAEAGAAUAAgABAAAAAEADAAQAAgABAAAAAEACAAQAAgADAAEAAFABAAQAAgABAAAAAFAAAAQAAgABAAAAAFD//wQAAgABAAAAAFD+/wQAAgABAAAAAFD9/wQAAgABAAAAAFD8/wQAAgABAAAAAFD7/wQAAgADAAAAADD7/wMAAgABAAAAADD7/wIAAgABAAAAADD7/wEAAgABAAAAADD7/wAAAgABAAAAADD7////AgADAAAAAGD8////AgABAAAAAGD9////AgABAAAAAGD+////AgABAAAAAGA=") -tile_set = ExtResource("4_4dro0") +[node name="trim" type="Line2D" parent="Line2D2_right"] +width = 28.0 +texture = ExtResource("4_s7foq") +texture_mode = 1 -[node name="area_finish" type="Area2D" parent="."] -collision_layer = 4 -collision_mask = 4 +[node name="Line2D2_left" type="Line2D" parent="."] +z_index = 1 +points = PackedVector2Array(-256, -64, 640, -64, 640, 256, 384, 512, 192, 512, 0, 384, -256, 384, -384, 448, -640, 448, -640, -64, -264, -64) +closed = true +width = 6.0 +texture = ExtResource("2_fr1tj") +texture_mode = 1 +script = ExtResource("3_pbq8s") -[node name="CollisionShape2D_Fin" type="CollisionShape2D" parent="area_finish"] -visible = false -position = Vector2(89.5, -1) -shape = SubResource("RectangleShape2D_daqun") +[node name="road_l" type="StaticBody2D" parent="Line2D2_left"] +collision_layer = 3 + +[node name="trim" type="Line2D" parent="Line2D2_left"] +width = 28.0 +texture = ExtResource("4_s7foq") +texture_mode = 1 + +[node name="Road" type="Polygon2D" parent="." node_paths=PackedStringArray("line_road_left", "line_road_right")] +color = Color(0.314316, 0.314316, 0.314316, 1) +script = ExtResource("5_g15mv") +line_road_left = NodePath("../Line2D2_left") +line_road_right = NodePath("../Line2D2_right") [node name="area_cp0" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp0"] -visible = false -position = Vector2(1023, 396) +position = Vector2(480, 0) shape = SubResource("RectangleShape2D_dltky") +debug_color = Color(0.958025, 0, 0.529392, 0.42) [node name="area_cp1" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp1"] -visible = false -position = Vector2(-177, 575) +position = Vector2(288, 416) shape = SubResource("RectangleShape2D_uys5r") +debug_color = Color(0.371138, 0.615246, 1.54018e-06, 0.42) [node name="area_cp2" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp2"] -visible = false -position = Vector2(-575, 330.25) +position = Vector2(-576, 128) shape = SubResource("RectangleShape2D_82iti") +debug_color = Color(0, 0.568664, 0.85224, 0.42) -[node name="scenery" type="TileMapLayer" parent="."] +[node name="area_finish" type="Area2D" parent="."] +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape2D_Fin" type="CollisionShape2D" parent="area_finish"] +position = Vector2(144, 0) +shape = SubResource("RectangleShape2D_daqun") +debug_color = Color(1, 1, 1, 0.42) + +[node name="Scenery2D" type="Node2D" parent="."] z_index = 20 -tile_map_data = PackedByteArray("AAAFAAIAAAAAAAAAAAD+/wEAAAAEAAAAAAAJAAMAAAACAAEAAAAJAAQAAAADAAEAAAAKAAMAAAADAAAAAAD9//3/AAAGAAAAAAAGAP3/AAAGAAAAAAAHAP3/AAAHAAAAAAD///7/AAAHAAAAAAAAAP3/AAAGAAEAAAAIAP3/AAAHAAEAAAALAAAAAAAHAAEAAAD5/wUAAAAHAAEAAAD5/wMAAAACAAEAAAD6/wIAAAADAAEAAAD5/wEAAAADAAEAAAD6/wEAAAADAAAAAAA=") -tile_set = SubResource("TileSet_s6rw7") +texture_filter = 1 +position = Vector2(0, 1) + +[node name="FieldsAnimal002" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-3, 111) +scale = Vector2(0.1375, 0.1375) +texture = ExtResource("6_61lnv") + +[node name="FieldsAnimal001" type="Sprite2D" parent="Scenery2D"] +position = Vector2(574, -97) +scale = Vector2(0.148693, 0.148693) +texture = ExtResource("7_kqm3c") + +[node name="FieldsBush001" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-384, 287) +texture = ExtResource("6_u22tk") + +[node name="FieldsBush026" type="Sprite2D" parent="Scenery2D"] +position = Vector2(1, 236) +texture = ExtResource("6_u22tk") + +[node name="FieldsBush027" type="Sprite2D" parent="Scenery2D"] +position = Vector2(6, 134) +texture = ExtResource("6_u22tk") + +[node name="FieldsFlower027" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-416, 287) +scale = Vector2(0.5, 0.5) +texture = ExtResource("7_ma3qq") + +[node name="FieldsFlower013" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-464, 303) +scale = Vector2(0.5, 0.5) +texture = ExtResource("8_ql4s5") + +[node name="FieldsFlower014" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-496, 159) +scale = Vector2(0.5, 0.5) +texture = ExtResource("8_ql4s5") + +[node name="FieldsBush017" type="Sprite2D" parent="Scenery2D"] +position = Vector2(896, -49) +texture = ExtResource("7_hbjo8") + +[node name="FieldsBush008" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-432, 143) +texture = ExtResource("8_o5upf") + +[node name="FieldsBush003" type="Sprite2D" parent="Scenery2D"] +position = Vector2(224, -161) +texture = ExtResource("9_b66fe") + +[node name="FieldsBush004" type="Sprite2D" parent="Scenery2D"] +position = Vector2(400, -129) +texture = ExtResource("10_t0xlr") + +[node name="FieldsBush021" type="Sprite2D" parent="Scenery2D"] +position = Vector2(864, 95) +texture = ExtResource("10_t0xlr") + +[node name="FieldsBush022" type="Sprite2D" parent="Scenery2D"] +position = Vector2(784, 95) +texture = ExtResource("10_t0xlr") + +[node name="FieldsBush005" type="Sprite2D" parent="Scenery2D"] +position = Vector2(368, 289) +texture = ExtResource("11_4e8cv") + +[node name="FieldsBush013" type="Sprite2D" parent="Scenery2D"] +position = Vector2(896, 63) +texture = ExtResource("11_4e8cv") + +[node name="FieldsBush009" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-368, 287) +texture = ExtResource("11_4e8cv") + +[node name="FieldsBush006" type="Sprite2D" parent="Scenery2D"] +position = Vector2(512, 191) +texture = ExtResource("12_5saie") + +[node name="FieldsBush011" type="Sprite2D" parent="Scenery2D"] +position = Vector2(768, 127) +texture = ExtResource("12_5saie") + +[node name="FieldsBush016" type="Sprite2D" parent="Scenery2D"] +position = Vector2(992, 63) +texture = ExtResource("12_5saie") + +[node name="FieldsBush007" type="Sprite2D" parent="Scenery2D"] +position = Vector2(704, -81) +texture = ExtResource("7_hbjo8") + +[node name="FieldsBush012" type="Sprite2D" parent="Scenery2D"] +position = Vector2(944, 207) +texture = ExtResource("7_hbjo8") + +[node name="FieldsBush019" type="Sprite2D" parent="Scenery2D"] +position = Vector2(790, 213) +texture = ExtResource("7_hbjo8") + +[node name="FieldsBush014" type="Sprite2D" parent="Scenery2D"] +position = Vector2(1088, 79) +texture = ExtResource("7_hbjo8") + +[node name="FieldsBush010" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-192, 527) +texture = ExtResource("7_hbjo8") + +[node name="FieldsBush002" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-240, 95) +texture = ExtResource("13_vlhny") + +[node name="FieldsBush024" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-96, 220) +texture = ExtResource("13_vlhny") + +[node name="FieldsBush025" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-71, 228) +texture = ExtResource("13_vlhny") + +[node name="FieldsBush018" type="Sprite2D" parent="Scenery2D"] +position = Vector2(1088, 255) +texture = ExtResource("12_5saie") + +[node name="FieldsBush023" type="Sprite2D" parent="Scenery2D"] +position = Vector2(800, 447) +texture = ExtResource("12_5saie") + +[node name="FieldsBush015" type="Sprite2D" parent="Scenery2D"] +position = Vector2(880, 319) +texture = ExtResource("7_hbjo8") + +[node name="FieldsBush020" type="Sprite2D" parent="Scenery2D"] +position = Vector2(1040, 399) +texture = ExtResource("7_hbjo8") + +[node name="FieldsFlower001" type="Sprite2D" parent="Scenery2D"] +position = Vector2(144, 287) +scale = Vector2(0.292208, 0.292208) +texture = ExtResource("16_7byii") + +[node name="FieldsFlower005" type="Sprite2D" parent="Scenery2D"] +position = Vector2(19, 156) +scale = Vector2(0.292208, 0.292208) +texture = ExtResource("16_7byii") + +[node name="FieldsFlower022" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-32, 207) +scale = Vector2(0.353896, 0.353896) +texture = ExtResource("16_7byii") + +[node name="FieldsFlower017" type="Sprite2D" parent="Scenery2D"] +position = Vector2(368, 223) +scale = Vector2(0.292208, 0.292208) +texture = ExtResource("16_7byii") + +[node name="FieldsFlower002" type="Sprite2D" parent="Scenery2D"] +position = Vector2(352, 287) +scale = Vector2(0.18, 0.18) +texture = ExtResource("17_0ija5") + +[node name="FieldsFlower018" type="Sprite2D" parent="Scenery2D"] +position = Vector2(352, 287) +scale = Vector2(0.18, 0.18) +texture = ExtResource("17_0ija5") + +[node name="FieldsFlower019" type="Sprite2D" parent="Scenery2D"] +position = Vector2(272, -161) +scale = Vector2(0.18, 0.18) +texture = ExtResource("17_0ija5") + +[node name="FieldsFlower003" type="Sprite2D" parent="Scenery2D"] +position = Vector2(0, 191) +scale = Vector2(0.324176, 0.324176) +texture = ExtResource("18_0l1dw") + +[node name="FieldsFlower016" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-80, -97) +scale = Vector2(0.324176, 0.324176) +texture = ExtResource("18_0l1dw") + +[node name="FieldsFlower006" type="Sprite2D" parent="Scenery2D"] +position = Vector2(80, 175) +scale = Vector2(0.324176, 0.324176) +texture = ExtResource("18_0l1dw") + +[node name="FieldsFlower004" type="Sprite2D" parent="Scenery2D"] +position = Vector2(32, 175) +scale = Vector2(0.5, 0.5) +texture = ExtResource("19_2dijc") + +[node name="FieldsFlower007" type="Sprite2D" parent="Scenery2D"] +position = Vector2(320, 95) +scale = Vector2(0.5, 0.5) +texture = ExtResource("19_2dijc") + +[node name="FieldsFlower008" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-156, 170) +scale = Vector2(0.5, 0.5) +texture = ExtResource("20_kecsd") + +[node name="FieldsFlower009" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-19, 157) +scale = Vector2(0.206422, 0.206422) +texture = ExtResource("21_4x6bi") + +[node name="FieldsFlower010" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-36, 179) +scale = Vector2(0.286667, 0.286667) +texture = ExtResource("22_sdde4") + +[node name="FieldsFlower011" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-304, 255) +scale = Vector2(0.5, 0.5) +texture = ExtResource("23_qsqn3") + +[node name="FieldsFlower015" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-112, 431) +scale = Vector2(0.5, 0.5) +texture = ExtResource("23_qsqn3") + +[node name="FieldsFlower012" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-400, 79) +scale = Vector2(0.5, 0.5) +texture = ExtResource("8_ql4s5") + +[node name="FieldsFlower020" type="Sprite2D" parent="Scenery2D"] +position = Vector2(528, -97) +scale = Vector2(0.159574, 0.159574) +texture = ExtResource("24_joq8i") + +[node name="FieldsFlower025" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-368, 95) +scale = Vector2(0.159574, 0.159574) +texture = ExtResource("24_joq8i") + +[node name="FieldsFlower021" type="Sprite2D" parent="Scenery2D"] +position = Vector2(0, 159) +scale = Vector2(0.159574, 0.159574) +texture = ExtResource("24_joq8i") + +[node name="FieldsFlower023" type="Sprite2D" parent="Scenery2D"] +position = Vector2(32, 191) +scale = Vector2(0.170103, 0.170103) +texture = ExtResource("25_ituuu") + +[node name="FieldsFlower024" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-48, 159) +scale = Vector2(0.170103, 0.170103) +texture = ExtResource("25_ituuu") + +[node name="FieldsFlower028" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-96, 191) +scale = Vector2(0.292208, 0.292208) +texture = ExtResource("16_7byii") + +[node name="FieldsFlower029" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-90, 159) +scale = Vector2(0.353896, 0.353896) +texture = ExtResource("16_7byii") + +[node name="FieldsFlower030" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-78, 180) +scale = Vector2(0.324176, 0.324176) +texture = ExtResource("18_0l1dw") + +[node name="FieldsFlower031" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-63, 163) +scale = Vector2(0.324176, 0.324176) +texture = ExtResource("18_0l1dw") + +[node name="FieldsFlower032" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-40, 142) +scale = Vector2(0.5, 0.5) +texture = ExtResource("19_2dijc") + +[node name="FieldsFlower033" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-52, 194) +scale = Vector2(0.206422, 0.206422) +texture = ExtResource("21_4x6bi") + +[node name="FieldsFlower034" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-73, 206) +scale = Vector2(0.286667, 0.286667) +texture = ExtResource("22_sdde4") + +[node name="FieldsFlower035" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-112, 175) +scale = Vector2(0.170103, 0.170103) +texture = ExtResource("25_ituuu") + +[node name="FieldsFlower036" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-117, 194) +scale = Vector2(0.170103, 0.170103) +texture = ExtResource("25_ituuu") + +[node name="FieldsFlower026" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-384, 111) +scale = Vector2(0.5, 0.5) +texture = ExtResource("7_ma3qq") + +[node name="startmarker" type="Sprite2D" parent="."] +texture = ExtResource("6_2dfn4") + +[node name="Node2D_Roadmarkings" type="Node2D" parent="."] + +[node name="line2d_start" type="Line2D" parent="Node2D_Roadmarkings"] +points = PackedVector2Array(128, -48, 128, 48) +width = 16.0 +texture = ExtResource("7_03lti") +texture_mode = 1 diff --git a/scenes/map_01.tscn b/scenes/map_01.tscn index 7709fdb..bed71f0 100644 --- a/scenes/map_01.tscn +++ b/scenes/map_01.tscn @@ -1,264 +1,378 @@ -[gd_scene load_steps=14 format=4 uid="uid://dghq8c8asg7h1"] +[gd_scene load_steps=34 format=3 uid="uid://cxj0xsy7clbrt"] -[ext_resource type="Texture2D" uid="uid://bu05e161cb61k" path="res://sprites/background/spritesheet_bg.png" id="1_q6ynt"] -[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"] -[ext_resource type="Texture2D" uid="uid://dpuhee0x5ekud" path="res://sprites/background/spritesheet_scenery.png" id="5_g78jk"] - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_qbu02"] -texture = ExtResource("1_q6ynt") -texture_region_size = Vector2i(256, 256) -0:0/0 = 0 -1:0/0 = 0 -2:0/0 = 0 -3:0/0 = 0 -4:0/0 = 0 -5:0/0 = 0 -6:0/0 = 0 -7:0/0 = 0 -0:1/0 = 0 -1:1/0 = 0 -2:1/0 = 0 -3:1/0 = 0 -4:1/0 = 0 -5:1/0 = 0 -6:1/0 = 0 -7: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 -6:2/0 = 0 -7:2/0 = 0 -0:3/0 = 0 -1:3/0 = 0 -2:3/0 = 0 -3:3/0 = 0 -4:3/0 = 0 -5:3/0 = 0 -6:3/0 = 0 -7:3/0 = 0 - -[sub_resource type="TileSet" id="TileSet_5knbn"] -tile_size = Vector2i(256, 256) -sources/1 = SubResource("TileSetAtlasSource_qbu02") - -[sub_resource type="RectangleShape2D" id="RectangleShape2D_daqun"] -size = Vector2(23, 222) +[ext_resource type="Texture2D" uid="uid://dh437eqwliuu1" path="res://sprites/background/desert_gradient.png" id="1_hn21d"] +[ext_resource type="Texture2D" uid="uid://ba7g1ewwchn6c" path="res://sprites/smooth_fields/fields_animal_001.png" id="2_08by0"] +[ext_resource type="Texture2D" uid="uid://5l1t6nyjn022" path="res://sprites/road/road_border.png" id="2_r66hk"] +[ext_resource type="Script" path="res://scripts/roadborder.gd" id="3_s3rd6"] +[ext_resource type="Texture2D" uid="uid://gydxil7qf7jc" path="res://sprites/road/road_trim.png" id="4_8dt2b"] +[ext_resource type="Script" path="res://scripts/generate_road_polyon.gd" id="5_pu6fv"] +[ext_resource type="Texture2D" uid="uid://2iy70pq6wvrt" path="res://sprites/desert/desert_cactus_001.png" id="6_m3am2"] +[ext_resource type="Texture2D" uid="uid://bu1vuswjdjub3" path="res://sprites/road/road_startmarker.png" id="6_yxqi8"] +[ext_resource type="Texture2D" uid="uid://cowu84p6mdr71" path="res://sprites/desert/desert_cactus_002.png" id="7_6y4v3"] +[ext_resource type="Texture2D" uid="uid://crb12ld3cl3lu" path="res://sprites/road/finishline.png" id="7_xwq0s"] +[ext_resource type="Texture2D" uid="uid://coxfuddor7uhd" path="res://sprites/desert/desert_cactus_003.png" id="8_x08xo"] +[ext_resource type="Texture2D" uid="uid://blax1s6jma7wf" path="res://sprites/desert/desert_dryplant_001.png" id="9_4hwmi"] +[ext_resource type="Texture2D" uid="uid://ucae50j7a551" path="res://sprites/desert/desert_dryplant_002.png" id="10_xfr8c"] +[ext_resource type="Texture2D" uid="uid://df1efa4xmaddd" path="res://sprites/desert/desert_dryplant_003.png" id="11_70udn"] +[ext_resource type="Texture2D" uid="uid://ckrtp0xm53as0" path="res://sprites/desert/desert_dryplant_004.png" id="12_22nnt"] +[ext_resource type="Texture2D" uid="uid://pbx23q3d8c4p" path="res://sprites/desert/desert_plant_001.png" id="13_yibqf"] +[ext_resource type="Texture2D" uid="uid://46qh2n6jvh2" path="res://sprites/desert/desert_plant_002.png" id="14_um06n"] +[ext_resource type="Texture2D" uid="uid://ckbinqmb6xdnh" path="res://sprites/desert/desert_plant_003.png" id="15_o8kb6"] +[ext_resource type="Texture2D" uid="uid://cxokgcx5y4hem" path="res://sprites/desert/desert_plant_004.png" id="16_r0mwt"] +[ext_resource type="Texture2D" uid="uid://daw82w5kaw716" path="res://sprites/desert/desert_rock_001.png" id="17_50v5s"] +[ext_resource type="Texture2D" uid="uid://bo7etsjo0m8mj" path="res://sprites/desert/desert_rock_002.png" id="18_ivwvo"] +[ext_resource type="Texture2D" uid="uid://b08t6jckc3r2t" path="res://sprites/desert/desert_rock_003.png" id="19_6t5d4"] +[ext_resource type="Texture2D" uid="uid://d1pfn8hrwpcfy" path="res://sprites/desert/desert_rock_004.png" id="20_qg701"] +[ext_resource type="Texture2D" uid="uid://dhu2awhw10ndq" path="res://sprites/desert/desert_rock_005.png" id="21_b7rp4"] +[ext_resource type="Texture2D" uid="uid://dn30ayqid68vh" path="res://sprites/desert/desert_rock_006.png" id="22_se2nm"] +[ext_resource type="Texture2D" uid="uid://qoynvbtskejb" path="res://sprites/desert/desert_rock_007.png" id="23_l154v"] +[ext_resource type="Texture2D" uid="uid://bp5huf2q8c1sp" path="res://sprites/desert/desert_rock_008.png" id="24_ults3"] +[ext_resource type="Texture2D" uid="uid://b3u02j4831vyf" path="res://sprites/desert/desert_rock_009.png" id="25_4nlx1"] +[ext_resource type="Texture2D" uid="uid://oljuqr51sjf1" path="res://sprites/desert/desert_rock_010.png" id="26_sl1c7"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_dltky"] -size = Vector2(19, 108) +size = Vector2(32, 128) [sub_resource type="RectangleShape2D" id="RectangleShape2D_uys5r"] -size = Vector2(20, 126) +size = Vector2(32, 128) [sub_resource type="RectangleShape2D" id="RectangleShape2D_82iti"] -size = Vector2(20, 231) +size = Vector2(32, 128) -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_hclam"] -texture = ExtResource("5_g78jk") -texture_region_size = Vector2i(128, 128) -2:0/0 = 0 -3:0/0 = 0 -6:0/0 = 0 -7:0/0 = 0 -8:0/0 = 0 -9:0/0 = 0 -10:0/0 = 0 -11:0/0 = 0 -12:0/0 = 0 -13:0/0 = 0 -14:0/0 = 0 -15:0/0 = 0 -2:1/0 = 0 -3:1/0 = 0 -6:1/0 = 0 -7:1/0 = 0 -8:1/0 = 0 -9:1/0 = 0 -10:1/0 = 0 -11:1/0 = 0 -12:1/0 = 0 -13:1/0 = 0 -14:1/0 = 0 -15: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 -6:2/0 = 0 -7:2/0 = 0 -8:2/0 = 0 -9:2/0 = 0 -10:2/0 = 0 -11:2/0 = 0 -12:2/0 = 0 -13:2/0 = 0 -14:2/0 = 0 -15:2/0 = 0 -0:3/0 = 0 -1:3/0 = 0 -2:3/0 = 0 -3:3/0 = 0 -4:3/0 = 0 -5:3/0 = 0 -6:3/0 = 0 -7:3/0 = 0 -8:3/0 = 0 -9:3/0 = 0 -10:3/0 = 0 -11:3/0 = 0 -12:3/0 = 0 -13:3/0 = 0 -14:3/0 = 0 -15:3/0 = 0 -0:4/0 = 0 -1:4/0 = 0 -2:4/0 = 0 -3:4/0 = 0 -4:4/0 = 0 -5:4/0 = 0 -6:4/0 = 0 -7:4/0 = 0 -8:4/0 = 0 -9:4/0 = 0 -10:4/0 = 0 -11:4/0 = 0 -12:4/0 = 0 -13:4/0 = 0 -14:4/0 = 0 -15:4/0 = 0 -0:5/0 = 0 -1:5/0 = 0 -2:5/0 = 0 -3:5/0 = 0 -4:5/0 = 0 -5:5/0 = 0 -6:5/0 = 0 -7:5/0 = 0 -8:5/0 = 0 -9:5/0 = 0 -10:5/0 = 0 -11:5/0 = 0 -12:5/0 = 0 -13:5/0 = 0 -14:5/0 = 0 -15:5/0 = 0 -0:6/0 = 0 -1:6/0 = 0 -2:6/0 = 0 -3:6/0 = 0 -4:6/0 = 0 -5:6/0 = 0 -6:6/0 = 0 -7:6/0 = 0 -8:6/0 = 0 -9:6/0 = 0 -10:6/0 = 0 -11:6/0 = 0 -12:6/0 = 0 -13:6/0 = 0 -14:6/0 = 0 -15:6/0 = 0 -0:7/0 = 0 -1:7/0 = 0 -2:7/0 = 0 -3:7/0 = 0 -4:7/0 = 0 -5:7/0 = 0 -6:7/0 = 0 -7:7/0 = 0 -8:7/0 = 0 -9:7/0 = 0 -10:7/0 = 0 -11:7/0 = 0 -12:7/0 = 0 -13:7/0 = 0 -14:7/0 = 0 -15:7/0 = 0 -0:0/size_in_atlas = Vector2i(2, 2) -0:0/0 = 0 -4:0/size_in_atlas = Vector2i(2, 2) -4:0/0 = 0 - -[sub_resource type="TileSet" id="TileSet_s6rw7"] -tile_size = Vector2i(128, 128) -sources/0 = SubResource("TileSetAtlasSource_hclam") +[sub_resource type="RectangleShape2D" id="RectangleShape2D_daqun"] +size = Vector2(32, 128) [node name="Map" type="Node"] -[node name="Background" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAD7////AQAAAAAAAAD8////A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AAAAAD8//z/AQAAAAAAAAD9//z/AQAAAAAAAAD+//z/AQAAAAAAAAD///z/AQAAAAAAAAAAAPz/AQAAAAAAAAABAPz/AQAAAAAAAAACAPz/AQAAAAAAAAADAPz/AQAAAAAAAAAEAPz/AQAAAAAAAAAFAPz/AQAAAAAAAAAGAPz/AQAAAAAAAAAHAPz/AQAAAAAAAAAIAPz/AQAAAAAAAAA=") -tile_set = SubResource("TileSet_5knbn") -collision_enabled = false +[node name="CanvasLayer" type="CanvasLayer" parent="."] +layer = -1 -[node name="road_bg" type="TileMapLayer" parent="."] -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/wEAAgACAAIAAE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AHAAAAAFAAAAQAAgACAAEAAFD//wQAAgACAAEAAGABAAQAAgACAAEAAGD8/wYAAgACAAEAAFD9/wIAAgAAAAEAAGD+/wQAAAACAAIAADD9/wMAAAADAAMAADD9/wQAAAADAAIAADD6/wUAAgAGAAAAAAD9/wUAAAABAAAAAHD9/wYAAAAAAAAAAHD8/wUAAAABAAEAAHAAAAYAAgACAAAAAGABAAYAAAADAAMAAGABAAcAAAACAAMAAGACAAIAAgAAAAEAAFACAAEAAgAAAAEAAAABAAEAAgAHAAAAAFABAAIAAgAHAAAAAFD+/wMAAAACAAMAADA=") -tile_set = ExtResource("2_i1338") +[node name="Sprite2D" type="Sprite2D" parent="CanvasLayer"] +z_as_relative = false +position = Vector2(659, 312) +scale = Vector2(0.496296, 0.496296) +texture = ExtResource("1_hn21d") -[node name="road_bg2" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAD4/wEAAgABAAIAAAD5/wAAAgABAAIAAEAAAAgAAAADAAIAAFD//wkAAAABAAMAAFAHAAIAAAAAAAIAAFAGAAMAAAABAAMAAFAHAAEAAAABAAMAAAAGAAAAAAAAAAIAAAD4/wgAAAAAAAIAADD3/wcAAAABAAMAADD6/wYAAAAAAAIAADD5/wUAAAABAAMAADAFAAEAAAABAAEAAEAEAAAAAAAAAAAAAEAEAAEAAAABAAAAAED+/wMAAAACAAMAADD+/wQAAAAEAAIAADD9/wMAAAAFAAMAADAAAAQAAgABAAEAAGD//wQAAgABAAEAAFABAAQAAgABAAEAAFACAAQAAgABAAEAAFAEAAIAAgACAAIAAED3/wQAAgAHAAIAADD3/wIAAgAHAAIAADD6////AgAHAAIAAGD5/wMAAgAHAAIAADD7/wEAAgAHAAIAAGD8/wEAAgABAAEAAGD8/wYAAgAHAAIAAFD6/wMAAgAHAAIAAAD7/wQAAAACAAMAADD7/wUAAAACAAIAADD6/wQAAAADAAMAADD9/wYAAgABAAEAAFD+/wYAAgAEAAAAAFD//wUAAgAEAAAAAGAAAAcAAAACAAIAAFD//wgAAAADAAMAAFAEAAMAAgAGAAAAAAABAAYAAgABAAEAAGAHAAMAAAABAAIAAFD9/wQAAAAFAAIAADD//wcAAAACAAMAAFD8/wgAAgAHAAIAAGD7/wgAAgAHAAIAAFAFAAMAAgAHAAIAAFAFAAAAAgAHAAIAAGD4/wcAAgAHAAIAAAAGAAEAAgAHAAIAAFAGAAIAAgAHAAIAAGA=") -tile_set = ExtResource("2_i1338") +[node name="FieldsAnimal001" type="Sprite2D" parent="CanvasLayer"] +position = Vector2(1094, -428) +scale = Vector2(0.408497, 0.408497) +texture = ExtResource("2_08by0") -[node name="road_bg_fixes" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAD//wgAAgAHAAIAAGAAAAgAAgAHAAIAAAAAAAkAAAABAAIAAFD3/wgAAAABAAIAADD5/wYAAAABAAIAADAHAAAAAAABAAIAAAD4/wcAAgAHAAIAAGAGAAEAAgAHAAIAADAGAAIAAgAHAAIAADD+/wYAAgABAAEAAFD//wUAAgABAAEAAGA=") -tile_set = ExtResource("2_i1338") - -[node name="markings" type="TileMapLayer" parent="."] +[node name="Line2D2_right" type="Line2D" parent="."] z_index = 1 -tile_map_data = PackedByteArray("AAAAAAAAAQAAAAAAAFAAAP//AQAAAAAAAHACAAQAAQACAAAAAGABAAYAAQACAAAAAGA=") -tile_set = ExtResource("3_ktygs") +points = PackedVector2Array(512, 96, 640, 96, 768, 32, 832, 0, 896, -64, 928, -128, 960, -256, 960, -384, 992, -448, 1024, -480, 1088, -512, 1152, -512, 1216, -480, 1248, -448, 1280, -384, 1280, -320, 1248, -256, 1216, -224, 1024, -128, 992, -96, 960, -32, 896, 96, 896, 160, 864, 224, 768, 320, 704, 352, 480, 352, 480, 96, 504, 96) +closed = true +width = 6.0 +texture = ExtResource("2_r66hk") +texture_mode = 1 +script = ExtResource("3_s3rd6") +smoothingradius = 64 -[node name="road_r" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAD9/wAAAgABAAAAAFD+/wAAAgABAA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5/wAAAgAGAAIAAED5/wEAAgAAAAIAAAD4/wEAAgAGAAIAAAD4/wcAAgAFAAAAAED4/wYAAgABAAAAAAD4/wUAAgABAAAAAAD4/wQAAgABAAAAAAD4/wMAAgABAAAAAAD4/wIAAgABAAAAAAA=") -tile_set = ExtResource("4_r58io") +[node name="road_r" type="StaticBody2D" parent="Line2D2_right"] +collision_layer = 3 -[node name="road_l" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAAFAP//AAADAAAAAHAFAAAAAAACAAAAAHAEAP//AAADAAEAAHAHAAAAAAAHAAIAAHAHAAEAAAAGAAIAAHAGAAAAAAAHAAMAAHAHAAIAAAAHAAMAACAHAAMAAAAHAAIAACAGAAMAAAAGAAIAACAFAAMAAAAHAAEAAGAFAAQAAAAGAAEAAGAEAAQAAAAGAAAAAGADAAQAAgABAAAAAEACAAQAAgABAAAAAEABAAQAAgABAAAAAEAAAAQAAgADAAEAAED+/wQAAAAHAAMAAED9/wMAAAAGAAIAAED9/wQAAAAHAAIAAED//wQAAgABAAAAAED9/wIAAgADAAAAABD+/wIAAgABAAAAAHD//wIAAgABAAAAAHAAAAIAAgABAAAAAHABAAIAAgABAAAAAHABAAEAAgABAAAAAFAAAAEAAgABAAAAAFD//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/wMAAgABAAAAADACAAIAAgAFAAAAAFACAAEAAgAFAAAAAHA=") -tile_set = ExtResource("4_r58io") +[node name="trim" type="Line2D" parent="Line2D2_right"] +width = 28.0 +texture = ExtResource("4_8dt2b") +texture_mode = 1 -[node name="area_finish" type="Area2D" parent="."] -collision_layer = 4 -collision_mask = 4 +[node name="Line2D2_left" type="Line2D" parent="."] +z_index = 1 +points = PackedVector2Array(508, -96, 640, -96, 736, -96, 800, -160, 832, -256, 832, -384, 896, -512, 960, -576, 1072, -640, 1168, -640, 1280, -576, 1344, -512, 1408, -400, 1408, -304, 1344, -192, 1280, -128, 1088, -32, 1024, 96, 1024, 256, 992, 320, 864, 448, 768, 512, 448, 512, 384, 448, 384, 64) +width = 6.0 +texture = ExtResource("2_r66hk") +texture_mode = 1 +script = ExtResource("3_s3rd6") +smoothingradius = 64 -[node name="CollisionShape2D_Fin" type="CollisionShape2D" parent="area_finish"] -visible = false -position = Vector2(89.5, -1) -shape = SubResource("RectangleShape2D_daqun") +[node name="road_l" type="StaticBody2D" parent="Line2D2_left"] +collision_layer = 3 + +[node name="trim" type="Line2D" parent="Line2D2_left"] +width = 28.0 +texture = ExtResource("4_8dt2b") +texture_mode = 1 + +[node name="Line2D2_left2" type="Line2D" parent="."] +z_index = 1 +points = PackedVector2Array(352, -64, 352, -224, 608, -320, 704, -384, 704, -416, 544, -416, 160, -320, -416, -320, -480, -288, -544, -224, -576, -160, -576, 0, -512, 160, -512, 288, -576, 448, -576, 512, -256, 512, -256, 384, 192, 384, 192, 320, -352, 320, -416, 288, -448, 256, -480, 192, -480, 64, -448, 0, -416, -32, -352, -64, 356, -64) +width = 6.0 +texture = ExtResource("2_r66hk") +texture_mode = 1 +script = ExtResource("3_s3rd6") +smoothingradius = 64 + +[node name="road_l" type="StaticBody2D" parent="Line2D2_left2"] +collision_layer = 3 + +[node name="trim" type="Line2D" parent="Line2D2_left2"] +width = 28.0 +texture = ExtResource("4_8dt2b") +texture_mode = 1 + +[node name="Line2D2_right2" type="Line2D" parent="."] +z_index = 1 +points = PackedVector2Array(512, -96, 512, -160, 672, -224, 800, -352, 800, -512, 544, -512, 160, -608, -256, -608, -448, -576, -544, -512, -608, -448, -672, -352, -704, -160, -704, 0, -640, 160, -640, 288, -704, 448, -704, 544, -640, 608, -128, 608, -128, 480, 288, 480, 288, 224, 224, 160, 96, 160, -32, 192, -256, 192, -320, 160, -320, 96, -256, 64, 388, 64) +width = 6.0 +texture = ExtResource("2_r66hk") +texture_mode = 1 +script = ExtResource("3_s3rd6") +smoothingradius = 64 + +[node name="road_r" type="StaticBody2D" parent="Line2D2_right2"] +collision_layer = 3 + +[node name="trim" type="Line2D" parent="Line2D2_right2"] +width = 28.0 +texture = ExtResource("4_8dt2b") +texture_mode = 1 + +[node name="Road" type="Polygon2D" parent="." node_paths=PackedStringArray("line_road_left", "line_road_right")] +color = Color(0.314316, 0.314316, 0.314316, 1) +script = ExtResource("5_pu6fv") +line_road_left = NodePath("../Line2D2_left") +line_road_right = NodePath("../Line2D2_right") +left_road_show_closed = true +right_road_show_closed = true + +[node name="Road2" type="Polygon2D" parent="." node_paths=PackedStringArray("line_road_left", "line_road_right")] +color = Color(0.314316, 0.314316, 0.314316, 1) +script = ExtResource("5_pu6fv") +line_road_left = NodePath("../Line2D2_left2") +line_road_right = NodePath("../Line2D2_right2") +left_road_show_closed = true +right_road_show_closed = true [node name="area_cp0" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp0"] -visible = false -position = Vector2(278, 575) +position = Vector2(544, 0) shape = SubResource("RectangleShape2D_dltky") +debug_color = Color(0.958025, 0, 0.529392, 0.42) [node name="area_cp1" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp1"] -visible = false -position = Vector2(194, 840) +position = Vector2(592, 0) shape = SubResource("RectangleShape2D_uys5r") +debug_color = Color(0.371138, 0.615246, 1.54018e-06, 0.42) [node name="area_cp2" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp2"] -visible = false -position = Vector2(-384, 0) +position = Vector2(640, 0) shape = SubResource("RectangleShape2D_82iti") +debug_color = Color(0, 0.568664, 0.85224, 0.42) -[node name="scenery" type="TileMapLayer" parent="."] +[node name="area_finish" type="Area2D" parent="."] +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape2D_Fin" type="CollisionShape2D" parent="area_finish"] +position = Vector2(144, 0) +shape = SubResource("RectangleShape2D_daqun") +debug_color = Color(1, 1, 1, 0.42) + +[node name="Scenery2D" type="Node2D" parent="."] z_index = 20 -tile_map_data = PackedByteArray("AAAIAAAAAAAAAAAAAAADAAEAAAAAAAAAAAAAAAMAAAACAAAAAAAFAP7/AAACAAAAAAACAP3/AAADAAAAAAD+//7/AAADAAAAAAD8/wQAAAADAAAAAAACAAkAAAADAAAAAAADAAcAAAADAAAAAAAFAAUAAAADAAAAAAD7/wMAAAADAAEAAAD5/wEAAAADAAEAAAD5/wIAAAACAAEAAAACAAMAAAACAAEAAAAHAP//AAACAAEAAAD2/wMAAAADAAEAAAD5/wYAAAADAAEAAAD//wcAAAACAAEAAAD0/wEAAAAAAAAAAAACAAsAAAAEAAAAAAAAAAsAAAAEAAAAAAABAAsAAAAAAAAAAAD//wwAAAAAAAAAAAD+/wsAAAAEAAAAAAD8/wwAAAAAAAAAAAD6/wsAAAAEAAAAAAD5/woAAAAAAAAAAAD2/wsAAAAEAAAAAAD1/wsAAAAAAAAAAAD3/wwAAAAAAAAAAAD5/w0AAAAAAAAAAAD6/wwAAAAAAAAAAAD9/w4AAAAAAAAAAAD8/w4AAAAAAAAAAAD//w0AAAAAAAAAAAD+/w0AAAAAAAAAAAABAA0AAAAAAAAAAAAAAA4AAAAAAAAAAAADAA0AAAAAAAAAAAAEAA0AAAAAAAAAAAADAAoAAAAAAAAAAAADAAsAAAAAAAAAAAAEAAoAAAAEAAAAAAAEAAsAAAAAAAAAAAAFAAkAAAAAAAAAAAAFAAoAAAAAAAAAAAAHAAoAAAAAAAAAAAAIAAgAAAAEAAAAAAAHAAgAAAAAAAAAAAAJAAkAAAAAAAAAAAAJAAoAAAAEAAAAAAALAAoAAAAAAAAAAAALAAgAAAAEAAAAAAANAAgAAAAAAAAAAAAHAAQAAAAEAAAAAAD8/wMAAAAEAAAAAAD1/wIAAAAEAAAAAAD2/wcAAAAEAAAAAAD2/wUAAAAAAAAAAAD0/wYAAAAAAAAAAAD+/wcAAAAGAAAAAAD+/wMAAAAGAAEAAAACAP7/AAAHAAAAAAAGAP//AAAHAAAAAAD3/wAAAAAHAAEAAAAEAP3/AAAHAAEAAAAMAAkAAAAHAAEAAAD//woAAAAHAAEAAAD7/wkAAAAHAAAAAAD3/wgAAAAHAAAAAAA=") -tile_set = SubResource("TileSet_s6rw7") +texture_filter = 1 +position = Vector2(0, 1) + +[node name="DesertCactus001" type="Sprite2D" parent="Scenery2D"] +position = Vector2(99, -101) +scale = Vector2(0.5, 0.5) +texture = ExtResource("6_m3am2") + +[node name="DesertCactus010" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-864, -513) +scale = Vector2(0.5, 0.5) +texture = ExtResource("6_m3am2") + +[node name="DesertCactus005" type="Sprite2D" parent="Scenery2D"] +position = Vector2(704, -129) +scale = Vector2(0.5, 0.5) +texture = ExtResource("6_m3am2") + +[node name="DesertCactus008" type="Sprite2D" parent="Scenery2D"] +position = Vector2(1376, -33) +scale = Vector2(0.5, 0.5) +texture = ExtResource("6_m3am2") + +[node name="DesertCactus002" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-110, 143) +scale = Vector2(0.5, 0.5) +texture = ExtResource("7_6y4v3") + +[node name="DesertCactus009" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-832, 319) +scale = Vector2(0.5, 0.5) +texture = ExtResource("7_6y4v3") + +[node name="DesertCactus004" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-384, -257) +scale = Vector2(0.5, 0.5) +texture = ExtResource("7_6y4v3") + +[node name="DesertCactus003" type="Sprite2D" parent="Scenery2D"] +position = Vector2(608, -129) +scale = Vector2(0.5, 0.5) +texture = ExtResource("8_x08xo") + +[node name="DesertCactus006" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-32, 543) +scale = Vector2(0.5, 0.5) +texture = ExtResource("8_x08xo") + +[node name="DesertCactus007" type="Sprite2D" parent="Scenery2D"] +position = Vector2(1344, 319) +scale = Vector2(0.5, 0.5) +texture = ExtResource("8_x08xo") + +[node name="DesertDryplant001" type="Sprite2D" parent="Scenery2D"] +position = Vector2(166, 346) +texture = ExtResource("9_4hwmi") + +[node name="DesertDryplant002" type="Sprite2D" parent="Scenery2D"] +position = Vector2(31, 122) +texture = ExtResource("10_xfr8c") + +[node name="DesertDryplant003" type="Sprite2D" parent="Scenery2D"] +position = Vector2(578, 202) +texture = ExtResource("11_70udn") + +[node name="DesertDryplant004" type="Sprite2D" parent="Scenery2D"] +position = Vector2(627, 257) +texture = ExtResource("12_22nnt") + +[node name="DesertDryplant005" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-53, -186) +texture = ExtResource("10_xfr8c") + +[node name="DesertDryplant006" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-493, 459) +texture = ExtResource("9_4hwmi") + +[node name="DesertDryplant007" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-488, -101) +texture = ExtResource("10_xfr8c") + +[node name="DesertDryplant008" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-106, 697) +texture = ExtResource("12_22nnt") + +[node name="DesertDryplant009" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-761, 132) +texture = ExtResource("10_xfr8c") + +[node name="DesertDryplant010" type="Sprite2D" parent="Scenery2D"] +position = Vector2(537, -359) +texture = ExtResource("9_4hwmi") + +[node name="DesertDryplant011" type="Sprite2D" parent="Scenery2D"] +position = Vector2(974, 479) +texture = ExtResource("12_22nnt") + +[node name="DesertDryplant012" type="Sprite2D" parent="Scenery2D"] +position = Vector2(1327, 119) +texture = ExtResource("11_70udn") + +[node name="DesertDryplant013" type="Sprite2D" parent="Scenery2D"] +position = Vector2(806, -726) +texture = ExtResource("12_22nnt") + +[node name="DesertPlant001" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-746, -169) +texture = ExtResource("13_yibqf") + +[node name="DesertPlant002" type="Sprite2D" parent="Scenery2D"] +position = Vector2(616, -368) +texture = ExtResource("14_um06n") + +[node name="DesertPlant003" type="Sprite2D" parent="Scenery2D"] +position = Vector2(961, -100) +texture = ExtResource("15_o8kb6") + +[node name="DesertPlant004" type="Sprite2D" parent="Scenery2D"] +position = Vector2(672, 622) +texture = ExtResource("16_r0mwt") + +[node name="DesertPlant005" type="Sprite2D" parent="Scenery2D"] +position = Vector2(551, 304) +texture = ExtResource("15_o8kb6") + +[node name="DesertRock001" type="Sprite2D" parent="Scenery2D"] +position = Vector2(1076, -790) +texture = ExtResource("17_50v5s") + +[node name="DesertRock014" type="Sprite2D" parent="Scenery2D"] +position = Vector2(84, -765) +texture = ExtResource("17_50v5s") + +[node name="DesertRock002" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-491, -230) +texture = ExtResource("18_ivwvo") + +[node name="DesertRock003" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-325, 463) +texture = ExtResource("19_6t5d4") + +[node name="DesertRock004" type="Sprite2D" parent="Scenery2D"] +position = Vector2(349, 114) +texture = ExtResource("20_qg701") + +[node name="DesertRock005" type="Sprite2D" parent="Scenery2D"] +position = Vector2(306, -101) +texture = ExtResource("21_b7rp4") + +[node name="DesertRock006" type="Sprite2D" parent="Scenery2D"] +position = Vector2(1159, -294) +texture = ExtResource("22_se2nm") + +[node name="DesertRock007" type="Sprite2D" parent="Scenery2D"] +position = Vector2(1609, -11) +texture = ExtResource("23_l154v") + +[node name="DesertRock011" type="Sprite2D" parent="Scenery2D"] +position = Vector2(218, -211) +texture = ExtResource("23_l154v") + +[node name="DesertRock008" type="Sprite2D" parent="Scenery2D"] +position = Vector2(1646, -103) +texture = ExtResource("24_ults3") + +[node name="DesertRock012" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-425, 388) +texture = ExtResource("24_ults3") + +[node name="DesertRock009" type="Sprite2D" parent="Scenery2D"] +position = Vector2(1229, 533) +texture = ExtResource("25_4nlx1") + +[node name="DesertRock013" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-576, -535) +texture = ExtResource("25_4nlx1") + +[node name="DesertRock010" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-204, -235) +texture = ExtResource("26_sl1c7") + +[node name="DesertPlant006" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-782, 637) +texture = ExtResource("16_r0mwt") + +[node name="startmarker" type="Sprite2D" parent="."] +texture = ExtResource("6_yxqi8") + +[node name="Node2D_Roadmarkings" type="Node2D" parent="."] + +[node name="line2d_start" type="Line2D" parent="Node2D_Roadmarkings"] +points = PackedVector2Array(128, -48, 128, 48) +width = 16.0 +texture = ExtResource("7_xwq0s") +texture_mode = 1 diff --git a/scenes/map_02.tscn b/scenes/map_02.tscn index 59ac406..1e36eb7 100644 --- a/scenes/map_02.tscn +++ b/scenes/map_02.tscn @@ -1,264 +1,241 @@ -[gd_scene load_steps=14 format=4 uid="uid://b1qlnjibjbrhb"] +[gd_scene load_steps=21 format=3 uid="uid://bwtvxy6hryc4u"] -[ext_resource type="Texture2D" uid="uid://bu05e161cb61k" path="res://sprites/background/spritesheet_bg.png" id="1_yrv7o"] -[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"] -[ext_resource type="Texture2D" uid="uid://dpuhee0x5ekud" path="res://sprites/background/spritesheet_scenery.png" id="5_im7cx"] - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_qbu02"] -texture = ExtResource("1_yrv7o") -texture_region_size = Vector2i(256, 256) -0:0/0 = 0 -1:0/0 = 0 -2:0/0 = 0 -3:0/0 = 0 -4:0/0 = 0 -5:0/0 = 0 -6:0/0 = 0 -7:0/0 = 0 -0:1/0 = 0 -1:1/0 = 0 -2:1/0 = 0 -3:1/0 = 0 -4:1/0 = 0 -5:1/0 = 0 -6:1/0 = 0 -7: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 -6:2/0 = 0 -7:2/0 = 0 -0:3/0 = 0 -1:3/0 = 0 -2:3/0 = 0 -3:3/0 = 0 -4:3/0 = 0 -5:3/0 = 0 -6:3/0 = 0 -7:3/0 = 0 - -[sub_resource type="TileSet" id="TileSet_5knbn"] -tile_size = Vector2i(256, 256) -sources/1 = SubResource("TileSetAtlasSource_qbu02") - -[sub_resource type="RectangleShape2D" id="RectangleShape2D_daqun"] -size = Vector2(23, 222) +[ext_resource type="Texture2D" uid="uid://csknopg1cbqbq" path="res://sprites/background/green_gradient.png" id="1_y1cwa"] +[ext_resource type="Texture2D" uid="uid://5l1t6nyjn022" path="res://sprites/road/road_border.png" id="2_8k47d"] +[ext_resource type="Texture2D" uid="uid://c0ss6dp7hba8j" path="res://sprites/smooth_fields/fields_flower_011.png" id="2_jpevj"] +[ext_resource type="Script" path="res://scripts/roadborder.gd" id="3_ibujf"] +[ext_resource type="Texture2D" uid="uid://dmno1fargtbjv" path="res://sprites/smooth_fields/fields_flower_014.png" id="3_vn8si"] +[ext_resource type="Texture2D" uid="uid://gydxil7qf7jc" path="res://sprites/road/road_trim.png" id="4_gp7du"] +[ext_resource type="Texture2D" uid="uid://bcyf52kneoo3t" path="res://sprites/smooth_fields/fields_flower_016.png" id="4_px8ei"] +[ext_resource type="Script" path="res://scripts/generate_road_polyon.gd" id="5_vurbe"] +[ext_resource type="Texture2D" uid="uid://bu1vuswjdjub3" path="res://sprites/road/road_startmarker.png" id="6_6cnvq"] +[ext_resource type="Texture2D" uid="uid://crb12ld3cl3lu" path="res://sprites/road/finishline.png" id="7_1s8ny"] +[ext_resource type="Texture2D" uid="uid://bn31voko78y3i" path="res://sprites/smooth_fields/fields_bush_001.png" id="8_4etr5"] +[ext_resource type="Texture2D" uid="uid://bwow1hv3be0gh" path="res://sprites/smooth_fields/fields_bush_002.png" id="9_djfug"] +[ext_resource type="Texture2D" uid="uid://bnknq4uqmfjke" path="res://sprites/smooth_fields/fields_bush_003.png" id="10_xr588"] +[ext_resource type="Texture2D" uid="uid://8nlgbc34cnp7" path="res://sprites/smooth_fields/fields_bush_004.png" id="11_kmule"] +[ext_resource type="Texture2D" uid="uid://ba7g1ewwchn6c" path="res://sprites/smooth_fields/fields_animal_001.png" id="13_7sh31"] +[ext_resource type="Texture2D" uid="uid://bdpm76vsgrpc0" path="res://sprites/smooth_fields/fields_animal_002.png" id="14_dp5oa"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_dltky"] -size = Vector2(107, 15) +size = Vector2(32, 128) [sub_resource type="RectangleShape2D" id="RectangleShape2D_uys5r"] -size = Vector2(20, 234) +size = Vector2(32, 64) [sub_resource type="RectangleShape2D" id="RectangleShape2D_82iti"] -size = Vector2(20, 111) +size = Vector2(32, 128) -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_hclam"] -texture = ExtResource("5_im7cx") -texture_region_size = Vector2i(128, 128) -2:0/0 = 0 -3:0/0 = 0 -6:0/0 = 0 -7:0/0 = 0 -8:0/0 = 0 -9:0/0 = 0 -10:0/0 = 0 -11:0/0 = 0 -12:0/0 = 0 -13:0/0 = 0 -14:0/0 = 0 -15:0/0 = 0 -2:1/0 = 0 -3:1/0 = 0 -6:1/0 = 0 -7:1/0 = 0 -8:1/0 = 0 -9:1/0 = 0 -10:1/0 = 0 -11:1/0 = 0 -12:1/0 = 0 -13:1/0 = 0 -14:1/0 = 0 -15: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 -6:2/0 = 0 -7:2/0 = 0 -8:2/0 = 0 -9:2/0 = 0 -10:2/0 = 0 -11:2/0 = 0 -12:2/0 = 0 -13:2/0 = 0 -14:2/0 = 0 -15:2/0 = 0 -0:3/0 = 0 -1:3/0 = 0 -2:3/0 = 0 -3:3/0 = 0 -4:3/0 = 0 -5:3/0 = 0 -6:3/0 = 0 -7:3/0 = 0 -8:3/0 = 0 -9:3/0 = 0 -10:3/0 = 0 -11:3/0 = 0 -12:3/0 = 0 -13:3/0 = 0 -14:3/0 = 0 -15:3/0 = 0 -0:4/0 = 0 -1:4/0 = 0 -2:4/0 = 0 -3:4/0 = 0 -4:4/0 = 0 -5:4/0 = 0 -6:4/0 = 0 -7:4/0 = 0 -8:4/0 = 0 -9:4/0 = 0 -10:4/0 = 0 -11:4/0 = 0 -12:4/0 = 0 -13:4/0 = 0 -14:4/0 = 0 -15:4/0 = 0 -0:5/0 = 0 -1:5/0 = 0 -2:5/0 = 0 -3:5/0 = 0 -4:5/0 = 0 -5:5/0 = 0 -6:5/0 = 0 -7:5/0 = 0 -8:5/0 = 0 -9:5/0 = 0 -10:5/0 = 0 -11:5/0 = 0 -12:5/0 = 0 -13:5/0 = 0 -14:5/0 = 0 -15:5/0 = 0 -0:6/0 = 0 -1:6/0 = 0 -2:6/0 = 0 -3:6/0 = 0 -4:6/0 = 0 -5:6/0 = 0 -6:6/0 = 0 -7:6/0 = 0 -8:6/0 = 0 -9:6/0 = 0 -10:6/0 = 0 -11:6/0 = 0 -12:6/0 = 0 -13:6/0 = 0 -14:6/0 = 0 -15:6/0 = 0 -0:7/0 = 0 -1:7/0 = 0 -2:7/0 = 0 -3:7/0 = 0 -4:7/0 = 0 -5:7/0 = 0 -6:7/0 = 0 -7:7/0 = 0 -8:7/0 = 0 -9:7/0 = 0 -10:7/0 = 0 -11:7/0 = 0 -12:7/0 = 0 -13:7/0 = 0 -14:7/0 = 0 -15:7/0 = 0 -0:0/size_in_atlas = Vector2i(2, 2) -0:0/0 = 0 -4:0/size_in_atlas = Vector2i(2, 2) -4:0/0 = 0 - -[sub_resource type="TileSet" id="TileSet_s6rw7"] -tile_size = Vector2i(128, 128) -sources/0 = SubResource("TileSetAtlasSource_hclam") +[sub_resource type="RectangleShape2D" id="RectangleShape2D_daqun"] +size = Vector2(32, 128) [node name="Map" type="Node"] -[node name="Background" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAAAAAIAAQABAAAAAAABAAIAAQABAAAAAAADAAAAAQABAAAAAAAEAAAAAQABAAAAAAD+/wAAAQABAAAAAAD//wAAAQABAAAAAAAAAAAAAQABAAAAAAABAAAAAQABAAAAAAACAAAAAQABAAAAAAACAAIAAQABAAAAAAABAAEAAQABAAAAAAACAAEAAQAAAAAAAAADAAEAAQABAAAAAAAEAAEAAQABAAAAAAAFAAEAAQABAAAAAAD//wEAAQABAAAAAAD+/wEAAQABAAAAAAD+/wIAAQABAAAAAAADAAIAAQABAAAAAAAEAAIAAQABAAAAAAAFAAIAAQABAAAAAAAGAAIA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AQAAAAAAAAD5/wMAAQAAAAAAAAD5/wQAAQAAAAAAAAD5/wUAAQAAAAAAAAD5/wYAAQAAAAAAAAAFAAAAAQAAAAAAAAD//wIAAQAAAAAAAAAAAAEAAQAAAAAAAAA=") -tile_set = SubResource("TileSet_5knbn") -collision_enabled = false +[node name="CanvasLayer" type="CanvasLayer" parent="."] +layer = -1 -[node name="road_bg" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAD/////AgAAAAAAAGD//wAAAgAAAAAAAFAAAP//AgAAAAAAAGAAAAAAAgAAAAAAAFABAP//AgAAAAAAAGABAAAAAgAAAAAAAFACAP//AgAAAAAAAGADAP//AgAAAAAAAGAEAP//AgAAAAAAAGACAAAAAgAAAAAAAFADAAAAAgAAAAAAAFAEAAAAAgAAAAAAAFAIAP//AgAAAAAAAFAJAP//AgAAAAAAAFAJAP7/AgAAAAAAAGAHAP7/AgAAAAAAAGALAAAAAgAAAAAAAAAKAAAAAgAAAAAAADAKAAEAAgAAAAAAADAKAAIAAgAAAAAAADAKAAMAAgABAAEAADALAAEAAgAAAAAAAAAJAAQAAgAAAAAAAAAJAAMAAgAAAAAAAAAIAAMAAgAAAAAAADAGAAMAAgAAAAAAADAGAAQAAgAAAAAAADAHAAQAAgAAAAAAAAAHAAMAAgAAAAAAAAAIAAQAAgAAAAAAADAEAAgAAgAAAAAAAFADAAgAAgAAAAAAAFACAAgAAgAAAAAAAFABAAgAAgAAAAAAAFADAAYAAgAAAAAAAGAEAAYAAgAAAAAAAGD//wUAAgAAAAAAAAABAAMAAgAAAAAAAFABAAIAAgAAAAAAAGAAAAIAAgAAAAAAAGAEAAIAAgAAAAAAADD+////AgAAAAAAAGD9////AgAAAAAAAGD8////AgAAAAAAAGD8/wAAAgAAAAAAAFD9/wAAAgAAAAAAAFD+/wAAAgAAAAAAAFADAAEAAgAHAAAAAFAKAAQAAgAHAAAAADABAAEAAgAHAAAAAGD//wEAAgAHAAAAAGD+/wEAAgAHAAAAAGD9/wEAAgA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ADAAQAAAABAAEAAEACAAQAAAABAAAAAEAFAAEAAgAHAAEAAGAGAAEAAgAHAAEAADAJAAEAAgAHAAEAAGAKAP//AgAHAAIAAFAHAAIAAgAHAAIAAFAIAAIAAgAHAAIAAFD7/wAAAgAHAAIAAFA=") -tile_set = ExtResource("2_aegf7") +[node name="Sprite2D" type="Sprite2D" parent="CanvasLayer"] +z_as_relative = false +position = Vector2(659, 312) +scale = Vector2(0.496296, 0.496296) +texture = ExtResource("1_y1cwa") -[node name="road_bg2" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAAKAAMAAgABAAIAAAALAAIAAgACAAIAADALAAMAAgAHAAEAAAAEAAEAAgAHAAIAAGAFAAEAAAAFAAIAAAAFAAIAAAAFAAMAAAAFAAMAAAAAAAIAAFAFAAQAAAABAAIAAFAEAAMAAAAAAAMAAFAEAAQAAAABAAMAAFD7/wEAAgABAAEAAAD7/wIAAgABAAEAAAD6/wEAAAABAAEAADD6/wIAAAABAAAAADD7/wAAAgAEAAAAAGAAAAEAAgABAAEAAGACAAEAAgABAAEAAFD7////AAAFAAMAAGD6////AAAFAAIAAGD6/wAAAAAEAAIAAGAGAAcAAAAEAAIAAFAGAAgAAAAFAAIAAFAFAAgAAAAFAAMAAFAJAAEAAAAFAAIAAAAJAAIAAAAFAAMAAAAIAAEAAAAEAAIAAAAHAAEAAAAFAAMAAGAGAAEAAAAFAAIAAGAGAAIAAAAEAAIAAGALAP7/AAAFAAIAAAALAP//AAAFAAMAAAAKAP7/AAAEAAIAAAAIAP7/AgAHAAIAAGAKAP//AgAEAAAAAAAJAAUAAgAEAAAAADAGAAUAAAACAAIAAFAGAAYAAgAHAAIAAAAFAAUAAAACAAMAAFAFAAYAAAADAAMAAFAAAAYAAAACAAMAADAAAAcAAAACAAIAADD//wYAAAADAAMAADD//wcAAAADAAIAADAAAAMAAAADAAMAAGAAAAQAAAACAAMAAGD//wMAAAADAAIAAGD//wQAAAACAAIAAGD//wIAAgACAAIAAED//wgAAgAHAAEAAFD+/wcAAgAHAAEAAFD9/wYAAgAHAAEAAFD9/wMAAgAHAAEAADD+/wIAAgAHAAEAADABAAYAAgAHAAEAADACAAYAAgACAAIAAEAAAAgAAgACAAIAAGD9/wQAAgACAAIAAAD9/wUAAgACAAIAACABAAcAAgABAAIAAHADAAMAAAAAAAAAAHAIAAIAAgAEAAAAAAAHAAIAAgAEAAAAABACAAMAAgAHAAIAAFAFAP//AgAHAAIAAGAGAP//AgAHAAIAAGAHAP//AgAHAAIAAFA=") -tile_set = ExtResource("2_aegf7") - -[node name="road_bg_fixes" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAAEAAEAAAAEAAIAAAAKAP//AgAHAAIAADAIAAIAAgAHAAIAADAHAAIAAgAHAAIAAAAJAAUAAgABAAEAAFD7/wAAAgAHAAIAAAA=") -tile_set = ExtResource("2_aegf7") - -[node name="markings" type="TileMapLayer" parent="."] +[node name="Line2D2_right" type="Line2D" parent="."] z_index = 1 -tile_map_data = PackedByteArray("AAAAAAAAAQAAAAAAAFAAAP//AQAAAAAAAHAKAAQAAQACAAAAAAABAAMAAQACAAAAAFABAAIAAQACAAAAAFD9/wEAAQACAAAAAFA=") -tile_set = ExtResource("3_t05jh") +points = PackedVector2Array(-256, 64, 512, 64, 576, 128, 576, 192, 512, 256, 384, 256, 256, 128, 0, 128, -64, 192, -64, 384, 64, 512, 576, 512, 768, 320, 832, 288, 864, 288, 896, 320, 928, 416, 928, 512, 896, 576, 832, 608, 672, 608, 576, 544, 480, 544, 384, 608, 384, 672, 320, 672, 320, 544, 128, 544, 128, 608, 160, 672, 128, 704, 64, 672, 0, 608, -32, 512, -64, 448, -128, 352, -160, 288, -160, 192, -224, 128, -320, 128, -384, 192, -416, 256, -416, 480, -448, 512, -512, 480, -544, 448, -576, 384, -576, 192, -544, 128, -512, 96, -448, 64, -288, 64) +closed = true +width = 6.0 +texture = ExtResource("2_8k47d") +texture_mode = 1 +script = ExtResource("3_ibujf") -[node name="road_l" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAABAP//AgABAAAAAHAAAP//AgABAAAAAHD/////AgABAAAAAHACAP//AgABAAAAAHADAP//AgABAAAAAHAEAP//AgABAAAAAHAGAP7/AAAGAAAAAFAFAP7/AAAGAAEAAFAFAP//AAAHAAEAAFAKAP7/AAAGAAIAAAALAP7/AAAHAAIAAAALAP//AAAHAAMAAAAHAP7/AgABAAAAAHAJAP7/AgABAAAAAHAIAP7/AgADAAEAAGALAAAAAgABAAAAAAALAAEAAgABAAAAAAALAAIAAgAFAAIAADALAAMAAgAAAAIAAAAKAAMAAgAEAAIAAAAKAAUAAgADAAAAAFAKAAQAAgABAAAAAAAJAAUAAgABAAAAAFAIAAUAAgADAAAAADAIAAQAAgABAAAAADAIAAMAAgABAAAAADAIAAIAAgAFAAAAAHAHAAIAAgAFAAAAAGAHAAMAAgABAAAAACAHAAQAAgABAAAAACAHAAUAAAADAAEAACAHAAYAAAADAAAAACAGAAYAAAACAAAAACAGAAcAAAAHAAMAACAGAAgAAAAHAAIAACAFAAgAAAAGAAIAACAEAAgAAgABAAAAAFADAAgAAgABAAAAAFACAAgAAgABAAAAAFABAAgAAgABAAAAAFAAAAgAAgAFAAIAAGD//wgAAgAAAAIAAFD+/wcAAgAAAAIAAFD9/wYAAgAAAAIAAFD//wcAAgAGAAEAAFD+/wYAAgAGAAEAAFD9/wUAAgADAAIAACD9/wQAAgAFAAIAAAD9/wMAAgAAAAIAADD+/wIAAgAAAAIAADD//wIAAgADAAIAAED+/wMAAgAGAAEAADAAAAIAAgABAAAAAGABAAIAAgABAAAAAGADAAIAAAAGAAEAAEADAAMAAAAHAAEAAEACAAIAAAAGAAAAAEAEAAMAAgAFAAAAACAEAAIAAgABAAAAADAEAAEAAgAFAAAAAHADAAEAAgABAAAAAFACAAEAAgABAAAAAFABAAEAAgABAAAAAFAAAAEAAgADAAEAAFD//wEAAgABAAAAAFD+/wEAAgABAAAAAFD9/wEAAgABAAAAAFD8/wEAAgAFAAAAABD8/wIAAgABAAAAAAD8/wMAAgADAAAAAFD7/wMAAgADAAAAADD+////AgABAAAAAHD9////AgABAAAAAHD8////AgABAAAAAHD7////AAAGAAIAABD6////AAAHAAIAABD6/wAAAAAHAAMAABD6/wEAAAAGAAAAAAD6/wIAAAAGAAEAAAD7/wIAAAAHAAEAAAA=") -tile_set = ExtResource("4_7vh6j") +[node name="road_r" type="StaticBody2D" parent="Line2D2_right"] +collision_layer = 3 -[node name="road_r" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAD//wAAAgABAAAAAFAAAAAAAgABAAAAAFABAAAAAgABAAAAAFACAAAAAgABAAAAAFADAAAAAgABAAAAAFAEAAAAAgABAAAAAFAFAAAAAgABAAAAAFAHAP//AAACAAAAAFAHAAAAAAADAAAAAFAGAAAAAAADAAEAAFAIAP//AgABAAAAAFAJAP//AgABAAAAAFAKAP//AgAFAAAAAHAKAAAAAgABAAAAADAKAAEAAgABAAAAADAKAAIAAgABAAAAADAKAAMAAgABAAAAADAKAAQAAgABAAAAADAKAAUAAgAFAAAAACAJAAUAAgAFAAAAADAJAAQAAgABAAAAACAJAAMAAgABAAAAACAJAAEAAAAHAAIAAHAJAAIAAAAGAAIAAHAIAAEAAAAHAAMAAHAHAAEAAAAGAAIAABAGAAEAAAAHAAIAABAGAAIAAAAHAAMAABAGAAMAAgABAAAAABAGAAQAAgABAAAAABAGAAUAAAAAAAQAAFAFAAUAAAAAAAUAAFAFAAYAAAABAAUAAFAEAAYAAgABAAAAAHADAAYAAgABAAAAAHACAAYAAgAFAAIAAEABAAYAAgAAAAIAAHABAAcAAgAEAAIAAHAAAAYAAAAAAAUAADAAAAcAAAAAAAQAADD//wYAAAABAAUAADAAAAMAAAABAAUAAGAAAAQAAAAAAAUAAGD//wQAAAAAAAQAAGD//wUAAgABAAAAACABAAMAAgABAAAAAEACAAMAAAACAAAAAEADAAQAAAADAAEAAEACAAQAAAADAAAAAEAFAAMAAAAHAAMAACAFAAQAAAAHAAIAACAEAAQAAAAGAAIAACAFAAEAAAAHAAIAAHAFAAIAAAAGAAIAAHAEAAEAAAAHAAMAAHACAAEAAgADAAEAAHADAAEAAgABAAAAAHABAAEAAgABAAAAAHAAAAEAAgABAAAAAHD//wEAAgABAAAAAHD8/wEAAgADAAAAABD8/wMAAgAFAAAAAFD7/wMAAgAFAAAAAED8/wIAAgABAAAAABD9/wEAAgABAAAAAHD+/wEAAgABAAAAAHD7/wIAAgABAAAAACD7/wEAAgABAAAAACD7/wAAAgAFAAAAAGD8/wAAAgABAAAAAED9/wAAAgABAAAAAED+/wAAAgABAAAAAEA=") -tile_set = ExtResource("4_7vh6j") +[node name="trim" type="Line2D" parent="Line2D2_right"] +width = 28.0 +texture = ExtResource("4_gp7du") +texture_mode = 1 -[node name="area_finish" type="Area2D" parent="."] -collision_layer = 4 -collision_mask = 4 +[node name="Line2D2_left" type="Line2D" parent="."] +z_index = 1 +points = PackedVector2Array(-256, -64, 544, -64, 704, 96, 704, 224, 544, 384, 352, 384, 224, 256, 32, 256, 32, 352, 96, 416, 544, 416, 736, 224, 800, 192, 864, 192, 928, 224, 1024, 320, 1088, 416, 1120, 512, 1120, 576, 1088, 672, 1024, 736, 928, 768, 832, 768, 736, 736, 640, 672, 576, 640, 512, 640, 448, 672, 416, 736, 384, 768, 320, 768, 256, 704, 256, 608, 192, 608, 224, 672, 224, 704, 160, 768, 32, 768, -64, 640, -128, 544, -192, 384, -224, 320, -224, 224, -256, 192, -288, 224, -288, 448, -320, 512, -384, 576, -448, 608, -544, 608, -608, 576, -672, 512, -704, 448, -736, 320, -736, 192, -704, 64, -640, 0, -576, -32, -448, -64, -288, -64) +closed = true +width = 6.0 +texture = ExtResource("2_8k47d") +texture_mode = 1 +script = ExtResource("3_ibujf") -[node name="CollisionShape2D_Fin" type="CollisionShape2D" parent="area_finish"] -visible = false -position = Vector2(89.5, -1) -shape = SubResource("RectangleShape2D_daqun") +[node name="road_l" type="StaticBody2D" parent="Line2D2_left"] +collision_layer = 3 + +[node name="trim" type="Line2D" parent="Line2D2_left"] +width = 28.0 +texture = ExtResource("4_gp7du") +texture_mode = 1 + +[node name="Road" type="Polygon2D" parent="." node_paths=PackedStringArray("line_road_left", "line_road_right")] +color = Color(0.314316, 0.314316, 0.314316, 1) +script = ExtResource("5_vurbe") +line_road_left = NodePath("../Line2D2_left") +line_road_right = NodePath("../Line2D2_right") [node name="area_cp0" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp0"] -visible = false -position = Vector2(1345, 583) +position = Vector2(416, 320) shape = SubResource("RectangleShape2D_dltky") +debug_color = Color(0.958025, 0, 0.529392, 0.42) [node name="area_cp1" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp1"] -visible = false -position = Vector2(191, 384) +position = Vector2(224, 576) shape = SubResource("RectangleShape2D_uys5r") +debug_color = Color(0.371138, 0.615246, 1.54018e-06, 0.42) [node name="area_cp2" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp2"] -visible = false -position = Vector2(-320, 193) +position = Vector2(-416, 0) shape = SubResource("RectangleShape2D_82iti") +debug_color = Color(0, 0.568664, 0.85224, 0.42) -[node name="scenery" type="TileMapLayer" parent="."] +[node name="area_finish" type="Area2D" parent="."] +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape2D_Fin" type="CollisionShape2D" parent="area_finish"] +position = Vector2(144, 0) +shape = SubResource("RectangleShape2D_daqun") +debug_color = Color(1, 1, 1, 0.42) + +[node name="Scenery2D" type="Node2D" parent="."] z_index = 20 -tile_map_data = PackedByteArray("AAAIAAAAAAAGAAAAAAAJAAEAAAAGAAEAAAAMAAAAAAAGAAEAAAAFAAQAAAAAAAAAAAAAAAUAAAAEAAAAAAAIAAcAAAAEAAAAAAAJAAAAAAACAAAAAAAMAP//AAACAAAAAAANAP7/AAACAAAAAAAMAP7/AAACAAEAAAALAP3/AAACAAEAAAAFAP3/AAACAAEAAAD9/wIAAAACAAEAAAADAAIAAAADAAEAAAD+//7/AAADAAEAAAD8//7/AAADAAEAAAD7//v/AAADAAEAAAD9//v/AAADAAAAAAD+//z/AAADAAAAAAD///z/AAADAAEAAAALAAQAAAACAAEAAAD5/wIAAAAEAAAAAAD+/wcAAAACAAAAAAD8/wUAAAACAAAAAAA=") -tile_set = SubResource("TileSet_s6rw7") +texture_filter = 1 +position = Vector2(0, 1) + +[node name="FieldsBush001" type="Sprite2D" parent="Scenery2D"] +position = Vector2(320, 95) +texture = ExtResource("8_4etr5") + +[node name="FieldsBush002" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-448, 95) +texture = ExtResource("9_djfug") + +[node name="FieldsBush003" type="Sprite2D" parent="Scenery2D"] +position = Vector2(544, 159) +texture = ExtResource("10_xr588") + +[node name="FieldsBush004" type="Sprite2D" parent="Scenery2D"] +position = Vector2(87, 591) +texture = ExtResource("11_kmule") + +[node name="FieldsBush005" type="Sprite2D" parent="Scenery2D"] +position = Vector2(352, 607) +texture = ExtResource("8_4etr5") + +[node name="FieldsBush006" type="Sprite2D" parent="Scenery2D"] +position = Vector2(800, 159) +texture = ExtResource("9_djfug") + +[node name="FieldsBush007" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-256, 383) +texture = ExtResource("9_djfug") + +[node name="FieldsBush008" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-237, 264) +texture = ExtResource("10_xr588") + +[node name="FieldsBush009" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-438, 473) +texture = ExtResource("11_kmule") + +[node name="FieldsBush010" type="Sprite2D" parent="Scenery2D"] +position = Vector2(224, 319) +texture = ExtResource("10_xr588") + +[node name="FieldsAnimal001" type="Sprite2D" parent="Scenery2D"] +position = Vector2(234, 634) +scale = Vector2(0.246732, 0.246732) +texture = ExtResource("13_7sh31") + +[node name="FieldsAnimal002" type="Sprite2D" parent="Scenery2D"] +position = Vector2(127, 679) +scale = Vector2(0.2475, 0.2475) +texture = ExtResource("14_dp5oa") + +[node name="FieldsFlower011" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-544, 191) +texture = ExtResource("2_jpevj") + +[node name="FieldsFlower012" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-32, 95) +texture = ExtResource("2_jpevj") + +[node name="FieldsFlower023" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-272, 281) +texture = ExtResource("2_jpevj") + +[node name="FieldsFlower013" type="Sprite2D" parent="Scenery2D"] +position = Vector2(500, 78) +texture = ExtResource("2_jpevj") + +[node name="FieldsFlower014" type="Sprite2D" parent="Scenery2D"] +position = Vector2(78, 620) +texture = ExtResource("3_vn8si") + +[node name="FieldsFlower016" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-96, 303) +scale = Vector2(0.5, 0.5) +texture = ExtResource("4_px8ei") + +[node name="FieldsFlower017" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-78, 285) +scale = Vector2(0.41, 0.41) +texture = ExtResource("4_px8ei") + +[node name="FieldsFlower018" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-102.515, 276.625) +scale = Vector2(0.61, 0.61) +texture = ExtResource("4_px8ei") + +[node name="FieldsFlower019" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-93.595, 252.625) +scale = Vector2(0.53, 0.53) +texture = ExtResource("4_px8ei") + +[node name="FieldsFlower020" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-114.785, 241.125) +scale = Vector2(0.41, 0.41) +texture = ExtResource("4_px8ei") + +[node name="FieldsFlower015" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-92, 290) +scale = Vector2(0.730769, 0.730769) +texture = ExtResource("3_vn8si") + +[node name="FieldsFlower021" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-86, 269) +texture = ExtResource("3_vn8si") + +[node name="FieldsFlower022" type="Sprite2D" parent="Scenery2D"] +position = Vector2(-87, 230) +texture = ExtResource("3_vn8si") + +[node name="startmarker" type="Sprite2D" parent="."] +texture = ExtResource("6_6cnvq") + +[node name="Node2D_Roadmarkings" type="Node2D" parent="."] + +[node name="line2d_start" type="Line2D" parent="Node2D_Roadmarkings"] +points = PackedVector2Array(128, -48, 128, 48) +width = 16.0 +texture = ExtResource("7_1s8ny") +texture_mode = 1 diff --git a/scenes/map_goaltest.tscn b/scenes/map_goaltest.tscn deleted file mode 100644 index b92b28c..0000000 --- a/scenes/map_goaltest.tscn +++ /dev/null @@ -1,256 +0,0 @@ -[gd_scene load_steps=14 format=4 uid="uid://cmp1wkkkeu1ea"] - -[ext_resource type="Texture2D" uid="uid://bu05e161cb61k" path="res://sprites/background/spritesheet_bg.png" id="1_d4btd"] -[ext_resource type="TileSet" uid="uid://beswbm12qkkxk" path="res://sprites/spritesheet_road/bg_road.tres" id="2_a3tr3"] -[ext_resource type="TileSet" uid="uid://buu8w8n61kbxf" path="res://sprites/spritesheet_road/markings.tres" id="3_lymgv"] -[ext_resource type="TileSet" uid="uid://b15864hbqomim" path="res://sprites/spritesheet_road/road.tres" id="4_asfaj"] -[ext_resource type="Texture2D" uid="uid://dpuhee0x5ekud" path="res://sprites/background/spritesheet_scenery.png" id="5_clogf"] - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_qbu02"] -texture = ExtResource("1_d4btd") -texture_region_size = Vector2i(256, 256) -0:0/0 = 0 -1:0/0 = 0 -2:0/0 = 0 -3:0/0 = 0 -4:0/0 = 0 -5:0/0 = 0 -6:0/0 = 0 -7:0/0 = 0 -0:1/0 = 0 -1:1/0 = 0 -2:1/0 = 0 -3:1/0 = 0 -4:1/0 = 0 -5:1/0 = 0 -6:1/0 = 0 -7: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 -6:2/0 = 0 -7:2/0 = 0 -0:3/0 = 0 -1:3/0 = 0 -2:3/0 = 0 -3:3/0 = 0 -4:3/0 = 0 -5:3/0 = 0 -6:3/0 = 0 -7:3/0 = 0 - -[sub_resource type="TileSet" id="TileSet_5knbn"] -tile_size = Vector2i(256, 256) -sources/1 = SubResource("TileSetAtlasSource_qbu02") - -[sub_resource type="RectangleShape2D" id="RectangleShape2D_daqun"] -size = Vector2(23, 222) - -[sub_resource type="RectangleShape2D" id="RectangleShape2D_dltky"] -size = Vector2(19, 108) - -[sub_resource type="RectangleShape2D" id="RectangleShape2D_uys5r"] -size = Vector2(20, 126) - -[sub_resource type="RectangleShape2D" id="RectangleShape2D_82iti"] -size = Vector2(20, 231) - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_hclam"] -texture = ExtResource("5_clogf") -texture_region_size = Vector2i(128, 128) -2:0/0 = 0 -3:0/0 = 0 -6:0/0 = 0 -7:0/0 = 0 -8:0/0 = 0 -9:0/0 = 0 -10:0/0 = 0 -11:0/0 = 0 -12:0/0 = 0 -13:0/0 = 0 -14:0/0 = 0 -15:0/0 = 0 -2:1/0 = 0 -3:1/0 = 0 -6:1/0 = 0 -7:1/0 = 0 -8:1/0 = 0 -9:1/0 = 0 -10:1/0 = 0 -11:1/0 = 0 -12:1/0 = 0 -13:1/0 = 0 -14:1/0 = 0 -15: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 -6:2/0 = 0 -7:2/0 = 0 -8:2/0 = 0 -9:2/0 = 0 -10:2/0 = 0 -11:2/0 = 0 -12:2/0 = 0 -13:2/0 = 0 -14:2/0 = 0 -15:2/0 = 0 -0:3/0 = 0 -1:3/0 = 0 -2:3/0 = 0 -3:3/0 = 0 -4:3/0 = 0 -5:3/0 = 0 -6:3/0 = 0 -7:3/0 = 0 -8:3/0 = 0 -9:3/0 = 0 -10:3/0 = 0 -11:3/0 = 0 -12:3/0 = 0 -13:3/0 = 0 -14:3/0 = 0 -15:3/0 = 0 -0:4/0 = 0 -1:4/0 = 0 -2:4/0 = 0 -3:4/0 = 0 -4:4/0 = 0 -5:4/0 = 0 -6:4/0 = 0 -7:4/0 = 0 -8:4/0 = 0 -9:4/0 = 0 -10:4/0 = 0 -11:4/0 = 0 -12:4/0 = 0 -13:4/0 = 0 -14:4/0 = 0 -15:4/0 = 0 -0:5/0 = 0 -1:5/0 = 0 -2:5/0 = 0 -3:5/0 = 0 -4:5/0 = 0 -5:5/0 = 0 -6:5/0 = 0 -7:5/0 = 0 -8:5/0 = 0 -9:5/0 = 0 -10:5/0 = 0 -11:5/0 = 0 -12:5/0 = 0 -13:5/0 = 0 -14:5/0 = 0 -15:5/0 = 0 -0:6/0 = 0 -1:6/0 = 0 -2:6/0 = 0 -3:6/0 = 0 -4:6/0 = 0 -5:6/0 = 0 -6:6/0 = 0 -7:6/0 = 0 -8:6/0 = 0 -9:6/0 = 0 -10:6/0 = 0 -11:6/0 = 0 -12:6/0 = 0 -13:6/0 = 0 -14:6/0 = 0 -15:6/0 = 0 -0:7/0 = 0 -1:7/0 = 0 -2:7/0 = 0 -3:7/0 = 0 -4:7/0 = 0 -5:7/0 = 0 -6:7/0 = 0 -7:7/0 = 0 -8:7/0 = 0 -9:7/0 = 0 -10:7/0 = 0 -11:7/0 = 0 -12:7/0 = 0 -13:7/0 = 0 -14:7/0 = 0 -15:7/0 = 0 -0:0/size_in_atlas = Vector2i(2, 2) -0:0/0 = 0 -4:0/size_in_atlas = Vector2i(2, 2) -4:0/0 = 0 - -[sub_resource type="TileSet" id="TileSet_s6rw7"] -tile_size = Vector2i(128, 128) -sources/0 = SubResource("TileSetAtlasSource_hclam") - -[node name="Map" type="Node"] - -[node name="Background" type="TileMapLayer" parent="."] -tile_set = SubResource("TileSet_5knbn") -collision_enabled = false - -[node name="road_bg" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAD/////AgAAAAAAAGD//wAAAgAAAAAAAFAAAP//AgAAAAAAAGAAAAAAAgAAAAAAAFABAP//AgAAAAAAAGABAAAAAgAAAAAAAFA=") -tile_set = ExtResource("2_a3tr3") - -[node name="road_bg2" type="TileMapLayer" parent="."] -tile_set = ExtResource("2_a3tr3") - -[node name="road_bg_fixes" type="TileMapLayer" parent="."] -tile_set = ExtResource("2_a3tr3") - -[node name="markings" type="TileMapLayer" parent="."] -z_index = 1 -tile_map_data = PackedByteArray("AAAAAAAAAQAAAAAAAFAAAP//AQAAAAAAAHA=") -tile_set = ExtResource("3_lymgv") - -[node name="road_r" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAD//wAAAgABAAAAAFAAAAAAAgABAAAAAFABAAAAAgABAAAAAFACAAAAAgABAAAAAFADAAAAAgABAAAAAFAEAAAAAgABAAAAAFAFAAAAAgABAAAAAFAGAAAAAgABAAAAAFA=") -tile_set = ExtResource("4_asfaj") - -[node name="road_l" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAABAP//AgABAAAAAHAAAP//AgABAAAAAHD/////AgABAAAAAHADAP//AAADAAAAAHADAAAAAAACAAAAAHACAP//AAADAAEAAHAEAAAAAgABAAAAAHAFAAAAAgABAAAAAHAGAAAAAgABAAAAAHA=") -tile_set = ExtResource("4_asfaj") - -[node name="area_finish" type="Area2D" parent="."] -collision_layer = 4 -collision_mask = 4 - -[node name="CollisionShape2D_Fin" type="CollisionShape2D" parent="area_finish"] -position = Vector2(668, 10) -shape = SubResource("RectangleShape2D_daqun") - -[node name="area_cp0" type="Area2D" parent="."] -collision_layer = 4 -collision_mask = 4 - -[node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp0"] -position = Vector2(385, 52) -shape = SubResource("RectangleShape2D_dltky") - -[node name="area_cp1" type="Area2D" parent="."] -collision_layer = 4 -collision_mask = 4 - -[node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp1"] -position = Vector2(454, 52) -shape = SubResource("RectangleShape2D_uys5r") - -[node name="area_cp2" type="Area2D" parent="."] -collision_layer = 4 -collision_mask = 4 - -[node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp2"] -position = Vector2(539, 23) -shape = SubResource("RectangleShape2D_82iti") - -[node name="scenery" type="TileMapLayer" parent="."] -z_index = 20 -tile_set = SubResource("TileSet_s6rw7") diff --git a/scenes/map_preview/map_00.png b/scenes/map_preview/map_00.png index 795a76a..f8a0f2e 100644 Binary files a/scenes/map_preview/map_00.png and b/scenes/map_preview/map_00.png differ diff --git a/scenes/map_preview/map_01.png b/scenes/map_preview/map_01.png index 5731a4a..fc47341 100644 Binary files a/scenes/map_preview/map_01.png and b/scenes/map_preview/map_01.png differ diff --git a/scenes/map_preview/map_02.png b/scenes/map_preview/map_02.png index a584593..08b9ea5 100644 Binary files a/scenes/map_preview/map_02.png and b/scenes/map_preview/map_02.png differ diff --git a/scenes/map_template.tscn b/scenes/map_template.tscn index 34e243a..31f200a 100644 --- a/scenes/map_template.tscn +++ b/scenes/map_template.tscn @@ -1,256 +1,122 @@ -[gd_scene load_steps=14 format=4 uid="uid://da1vjw0etwu82"] +[gd_scene load_steps=12 format=3 uid="uid://b8e6unjutl5bb"] -[ext_resource type="Texture2D" uid="uid://bu05e161cb61k" path="res://sprites/background/spritesheet_bg.png" id="1_c5sj7"] -[ext_resource type="TileSet" uid="uid://beswbm12qkkxk" path="res://sprites/spritesheet_road/bg_road.tres" id="2_ckuy4"] -[ext_resource type="TileSet" uid="uid://buu8w8n61kbxf" path="res://sprites/spritesheet_road/markings.tres" id="3_2xdfp"] -[ext_resource type="TileSet" uid="uid://b15864hbqomim" path="res://sprites/spritesheet_road/road.tres" id="4_1kkkf"] -[ext_resource type="Texture2D" uid="uid://dpuhee0x5ekud" path="res://sprites/background/spritesheet_scenery.png" id="5_vxc2e"] - -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_qbu02"] -texture = ExtResource("1_c5sj7") -texture_region_size = Vector2i(256, 256) -0:0/0 = 0 -1:0/0 = 0 -2:0/0 = 0 -3:0/0 = 0 -4:0/0 = 0 -5:0/0 = 0 -6:0/0 = 0 -7:0/0 = 0 -0:1/0 = 0 -1:1/0 = 0 -2:1/0 = 0 -3:1/0 = 0 -4:1/0 = 0 -5:1/0 = 0 -6:1/0 = 0 -7: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 -6:2/0 = 0 -7:2/0 = 0 -0:3/0 = 0 -1:3/0 = 0 -2:3/0 = 0 -3:3/0 = 0 -4:3/0 = 0 -5:3/0 = 0 -6:3/0 = 0 -7:3/0 = 0 - -[sub_resource type="TileSet" id="TileSet_5knbn"] -tile_size = Vector2i(256, 256) -sources/1 = SubResource("TileSetAtlasSource_qbu02") - -[sub_resource type="RectangleShape2D" id="RectangleShape2D_daqun"] -size = Vector2(23, 222) +[ext_resource type="Texture2D" uid="uid://csknopg1cbqbq" path="res://sprites/background/green_gradient.png" id="1_1q1bt"] +[ext_resource type="Texture2D" uid="uid://5l1t6nyjn022" path="res://sprites/road/road_border.png" id="2_3n7v7"] +[ext_resource type="Script" path="res://scripts/roadborder.gd" id="3_i3pho"] +[ext_resource type="Texture2D" uid="uid://gydxil7qf7jc" path="res://sprites/road/road_trim.png" id="4_1s1xa"] +[ext_resource type="Script" path="res://scripts/generate_road_polyon.gd" id="5_mb5tb"] +[ext_resource type="Texture2D" uid="uid://bu1vuswjdjub3" path="res://sprites/road/road_startmarker.png" id="6_tm0js"] +[ext_resource type="Texture2D" uid="uid://crb12ld3cl3lu" path="res://sprites/road/finishline.png" id="7_ocekn"] [sub_resource type="RectangleShape2D" id="RectangleShape2D_dltky"] -size = Vector2(19, 108) +size = Vector2(32, 128) [sub_resource type="RectangleShape2D" id="RectangleShape2D_uys5r"] -size = Vector2(20, 126) +size = Vector2(32, 128) [sub_resource type="RectangleShape2D" id="RectangleShape2D_82iti"] -size = Vector2(20, 231) +size = Vector2(32, 128) -[sub_resource type="TileSetAtlasSource" id="TileSetAtlasSource_hclam"] -texture = ExtResource("5_vxc2e") -texture_region_size = Vector2i(128, 128) -2:0/0 = 0 -3:0/0 = 0 -6:0/0 = 0 -7:0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0 = 0 -9:6/0 = 0 -10:6/0 = 0 -11:6/0 = 0 -12:6/0 = 0 -13:6/0 = 0 -14:6/0 = 0 -15:6/0 = 0 -0:7/0 = 0 -1:7/0 = 0 -2:7/0 = 0 -3:7/0 = 0 -4:7/0 = 0 -5:7/0 = 0 -6:7/0 = 0 -7:7/0 = 0 -8:7/0 = 0 -9:7/0 = 0 -10:7/0 = 0 -11:7/0 = 0 -12:7/0 = 0 -13:7/0 = 0 -14:7/0 = 0 -15:7/0 = 0 -0:0/size_in_atlas = Vector2i(2, 2) -0:0/0 = 0 -4:0/size_in_atlas = Vector2i(2, 2) -4:0/0 = 0 - -[sub_resource type="TileSet" id="TileSet_s6rw7"] -tile_size = Vector2i(128, 128) -sources/0 = SubResource("TileSetAtlasSource_hclam") +[sub_resource type="RectangleShape2D" id="RectangleShape2D_daqun"] +size = Vector2(32, 128) [node name="Map" type="Node"] -[node name="Background" type="TileMapLayer" parent="."] -tile_set = SubResource("TileSet_5knbn") -collision_enabled = false +[node name="CanvasLayer" type="CanvasLayer" parent="."] +layer = -1 -[node name="road_bg" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAD/////AgAAAAAAAGD//wAAAgAAAAAAAFAAAP//AgAAAAAAAGAAAAAAAgAAAAAAAFABAP//AgAAAAAAAGABAAAAAgAAAAAAAFA=") -tile_set = ExtResource("2_ckuy4") +[node name="Sprite2D" type="Sprite2D" parent="CanvasLayer"] +z_as_relative = false +position = Vector2(659, 312) +scale = Vector2(0.496296, 0.496296) +texture = ExtResource("1_1q1bt") -[node name="road_bg2" type="TileMapLayer" parent="."] -tile_set = ExtResource("2_ckuy4") - -[node name="road_bg_fixes" type="TileMapLayer" parent="."] -tile_set = ExtResource("2_ckuy4") - -[node name="markings" type="TileMapLayer" parent="."] +[node name="Line2D2_right" type="Line2D" parent="."] z_index = 1 -tile_map_data = PackedByteArray("AAAAAAAAAQAAAAAAAFAAAP//AQAAAAAAAHA=") -tile_set = ExtResource("3_2xdfp") +points = PackedVector2Array(-256, 64, 640, 64) +width = 6.0 +texture = ExtResource("2_3n7v7") +texture_mode = 1 +script = ExtResource("3_i3pho") -[node name="road_r" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAD//wAAAgABAAAAAFAAAAAAAgABAAAAAFABAAAAAgABAAAAAFA=") -tile_set = ExtResource("4_1kkkf") +[node name="road_r" type="StaticBody2D" parent="Line2D2_right"] +collision_layer = 3 -[node name="road_l" type="TileMapLayer" parent="."] -tile_map_data = PackedByteArray("AAABAP//AgABAAAAAHAAAP//AgABAAAAAHD/////AgABAAAAAHA=") -tile_set = ExtResource("4_1kkkf") +[node name="trim" type="Line2D" parent="Line2D2_right"] +width = 28.0 +texture = ExtResource("4_1s1xa") +texture_mode = 1 -[node name="area_finish" type="Area2D" parent="."] -collision_layer = 4 -collision_mask = 4 +[node name="Line2D2_left" type="Line2D" parent="."] +z_index = 1 +points = PackedVector2Array(-256, -64, 640, -64) +width = 6.0 +texture = ExtResource("2_3n7v7") +texture_mode = 1 +script = ExtResource("3_i3pho") -[node name="CollisionShape2D_Fin" type="CollisionShape2D" parent="area_finish"] -position = Vector2(89.5, -1) -shape = SubResource("RectangleShape2D_daqun") +[node name="road_l" type="StaticBody2D" parent="Line2D2_left"] +collision_layer = 3 + +[node name="trim" type="Line2D" parent="Line2D2_left"] +width = 28.0 +texture = ExtResource("4_1s1xa") +texture_mode = 1 + +[node name="Road" type="Polygon2D" parent="." node_paths=PackedStringArray("line_road_left", "line_road_right")] +color = Color(0.314316, 0.314316, 0.314316, 1) +script = ExtResource("5_mb5tb") +line_road_left = NodePath("../Line2D2_left") +line_road_right = NodePath("../Line2D2_right") [node name="area_cp0" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp0"] -position = Vector2(138, -262) +position = Vector2(544, 0) shape = SubResource("RectangleShape2D_dltky") +debug_color = Color(0.958025, 0, 0.529392, 0.42) [node name="area_cp1" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp1"] -position = Vector2(249, -266) +position = Vector2(592, 0) shape = SubResource("RectangleShape2D_uys5r") +debug_color = Color(0.371138, 0.615246, 1.54018e-06, 0.42) [node name="area_cp2" type="Area2D" parent="."] collision_layer = 4 collision_mask = 4 [node name="CollisionShape2D" type="CollisionShape2D" parent="area_cp2"] -position = Vector2(412, -275) +position = Vector2(640, 0) shape = SubResource("RectangleShape2D_82iti") +debug_color = Color(0, 0.568664, 0.85224, 0.42) -[node name="scenery" type="TileMapLayer" parent="."] +[node name="area_finish" type="Area2D" parent="."] +collision_layer = 4 +collision_mask = 4 + +[node name="CollisionShape2D_Fin" type="CollisionShape2D" parent="area_finish"] +position = Vector2(144, 0) +shape = SubResource("RectangleShape2D_daqun") +debug_color = Color(1, 1, 1, 0.42) + +[node name="Scenery2D" type="Node2D" parent="."] z_index = 20 -tile_set = SubResource("TileSet_s6rw7") +texture_filter = 1 +position = Vector2(0, 1) + +[node name="startmarker" type="Sprite2D" parent="."] +texture = ExtResource("6_tm0js") + +[node name="Node2D_Roadmarkings" type="Node2D" parent="."] + +[node name="line2d_start" type="Line2D" parent="Node2D_Roadmarkings"] +points = PackedVector2Array(128, -48, 128, 48) +width = 16.0 +texture = ExtResource("7_ocekn") +texture_mode = 1