teststrecke-game/scenes/map_01.tscn

378 lines
15 KiB
Text

[gd_scene load_steps=34 format=3 uid="uid://cxj0xsy7clbrt"]
[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(32, 128)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uys5r"]
size = Vector2(32, 128)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_82iti"]
size = Vector2(32, 128)
[sub_resource type="RectangleShape2D" id="RectangleShape2D_daqun"]
size = Vector2(32, 128)
[node name="Map" type="Node"]
[node name="CanvasLayer" type="CanvasLayer" parent="."]
layer = -1
[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="FieldsAnimal001" type="Sprite2D" parent="CanvasLayer"]
position = Vector2(1094, -428)
scale = Vector2(0.408497, 0.408497)
texture = ExtResource("2_08by0")
[node name="Line2D2_right" type="Line2D" parent="."]
z_index = 1
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="StaticBody2D" parent="Line2D2_right"]
collision_layer = 3
[node name="trim" type="Line2D" parent="Line2D2_right"]
width = 28.0
texture = ExtResource("4_8dt2b")
texture_mode = 1
[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="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"]
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(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(640, 0)
shape = SubResource("RectangleShape2D_82iti")
debug_color = Color(0, 0.568664, 0.85224, 0.42)
[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
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