149 lines
5.4 KiB
Text
149 lines
5.4 KiB
Text
[gd_scene load_steps=11 format=3 uid="uid://cu7olkgkyy2tq"]
|
|
|
|
[ext_resource type="Texture2D" uid="uid://csknopg1cbqbq" path="res://sprites/background/green_gradient.png" id="1_nq5g7"]
|
|
[ext_resource type="Texture2D" uid="uid://5l1t6nyjn022" path="res://sprites/road/road_border.png" id="3_mivmq"]
|
|
[ext_resource type="Script" path="res://scripts/roadborder.gd" id="4_8hrwh"]
|
|
[ext_resource type="Texture2D" uid="uid://gydxil7qf7jc" path="res://sprites/road/road_trim.png" id="5_5a0eo"]
|
|
[ext_resource type="Texture2D" uid="uid://bu1vuswjdjub3" path="res://sprites/road/road_startmarker.png" id="6_bauvc"]
|
|
[ext_resource type="Script" path="res://scripts/generate_road_polyon.gd" id="6_vdo8x"]
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_daqun"]
|
|
size = Vector2(23, 178.25)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_dltky"]
|
|
size = Vector2(104.875, 118)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_uys5r"]
|
|
size = Vector2(23, 128)
|
|
|
|
[sub_resource type="RectangleShape2D" id="RectangleShape2D_82iti"]
|
|
size = Vector2(144, 60.5)
|
|
|
|
[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_nq5g7")
|
|
|
|
[node name="Line2D2_right" type="Line2D" parent="."]
|
|
z_index = 1
|
|
points = PackedVector2Array(-256, 64, 640, 64, 896, 64, 1024, 0, 1088, -128, 1088, -512)
|
|
width = 6.0
|
|
texture = ExtResource("3_mivmq")
|
|
texture_mode = 1
|
|
script = ExtResource("4_8hrwh")
|
|
|
|
[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("5_5a0eo")
|
|
texture_mode = 1
|
|
|
|
[node name="Line2D2_left" type="Line2D" parent="."]
|
|
z_index = 1
|
|
points = PackedVector2Array(-256, -64, 640, -64, 832, -64, 960, -192, 960, -384)
|
|
width = 6.0
|
|
texture = ExtResource("3_mivmq")
|
|
texture_mode = 1
|
|
script = ExtResource("4_8hrwh")
|
|
|
|
[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("5_5a0eo")
|
|
texture_mode = 1
|
|
|
|
[node name="Line2D2_left2" type="Line2D" parent="."]
|
|
z_index = 1
|
|
points = PackedVector2Array(896, -576, 896, -640, 704, -640, 704, -512, -64, -512, -320, -768, -448, -768, -448, -1024, 64, -1024, 192, -960, 384, -896, 832, -960, 896, -1024, 832, -1088, 704, -1152, 576, -1088, 512, -1024, 384, -960, 192, -1024, 64, -1088, -512, -1088, -576, -960, -512, -832, -512, -704, -576, -576, -512, -448, 768, -448, 880, -560)
|
|
closed = true
|
|
width = 6.0
|
|
texture = ExtResource("3_mivmq")
|
|
texture_mode = 1
|
|
script = ExtResource("4_8hrwh")
|
|
|
|
[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("5_5a0eo")
|
|
texture_mode = 1
|
|
|
|
[node name="Line2D2_right3" type="Line2D" parent="."]
|
|
z_index = 1
|
|
points = PackedVector2Array(1088, -512, 1088, -768, 576, -768, 576, -576, 384, -574, 192, -640, -64, -640, -256, -832, -352, -896, 64, -896, 320, -768, 512, -768, 768, -832, 896, -896, 960, -960, 1024, -1088, 960, -1216, 896, -1280, 736, -1312, 576, -1280, 448, -1216, 384, -1152, 304, -1088, 208, -1104, 128, -1152, -640, -1152, -704, -1088, -704, -896, -640, -768, -704, -640, -704, -448, -640, -320, -512, -272, 768, -272, 864, -320, 928, -416, 960, -416, 960, -384)
|
|
width = 6.0
|
|
texture = ExtResource("3_mivmq")
|
|
texture_mode = 1
|
|
script = ExtResource("4_8hrwh")
|
|
|
|
[node name="road_r" type="StaticBody2D" parent="Line2D2_right3"]
|
|
collision_layer = 3
|
|
|
|
[node name="trim" type="Line2D" parent="Line2D2_right3"]
|
|
width = 28.0
|
|
texture = ExtResource("5_5a0eo")
|
|
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("6_vdo8x")
|
|
line_road_left = NodePath("../Line2D2_left")
|
|
line_road_right = NodePath("../Line2D2_right")
|
|
|
|
[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("6_vdo8x")
|
|
line_road_left = NodePath("../Line2D2_left2")
|
|
line_road_right = NodePath("../Line2D2_right3")
|
|
right_road_show_closed = true
|
|
|
|
[node name="area_finish" type="Area2D" parent="."]
|
|
collision_layer = 4
|
|
collision_mask = 4
|
|
|
|
[node name="CollisionShape2D_Fin" type="CollisionShape2D" parent="area_finish"]
|
|
position = Vector2(315, -355.125)
|
|
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(784, -704)
|
|
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(32, -960)
|
|
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(-584, -768)
|
|
shape = SubResource("RectangleShape2D_82iti")
|
|
|
|
[node name="Scenery2D" type="Node2D" parent="."]
|
|
z_index = 20
|
|
texture_filter = 1
|
|
position = Vector2(0, 1)
|
|
|
|
[node name="startmarker" type="Sprite2D" parent="."]
|
|
texture = ExtResource("6_bauvc")
|