aboutsummaryrefslogtreecommitdiffstats
path: root/Levels
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Levels/LevelTemplate.tscn37
1 files changed, 23 insertions, 14 deletions
diff --git a/Levels/LevelTemplate.tscn b/Levels/LevelTemplate.tscn
index 7799a9d..5d15961 100644
--- a/Levels/LevelTemplate.tscn
+++ b/Levels/LevelTemplate.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=12 format=3 uid="uid://dliou1u4o6bib"]
+[gd_scene load_steps=11 format=3 uid="uid://dliou1u4o6bib"]
[ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_2b4bf"]
[ext_resource type="PackedScene" uid="uid://c8r6i3bu37ogu" path="res://Nodes/ui.tscn" id="2_2w0c4"]
@@ -6,8 +6,6 @@
[ext_resource type="Texture2D" uid="uid://cxhterify3l" path="res://Assets/Images/goal.png" id="4_x2h7q"]
[ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="5_v816p"]
[ext_resource type="Script" path="res://Scripts/drawing.gd" id="6_ihf71"]
-[ext_resource type="Script" path="res://Scripts/Road.gd" id="7_58u4u"]
-[ext_resource type="Texture2D" uid="uid://bcn7tgs6a4fm7" path="res://Assets/road.png" id="7_o1l8b"]
[ext_resource type="TileSet" uid="uid://cl8153posdeim" path="res://Assets/grass_tile_set.tres" id="8_7sh6f"]
[sub_resource type="CircleShape2D" id="CircleShape2D_6g88q"]
@@ -15,6 +13,10 @@ radius = 17.0
[sub_resource type="Curve2D" id="Curve2D_0exre"]
+[sub_resource type="LabelSettings" id="LabelSettings_htkos"]
+outline_size = 3
+outline_color = Color(0, 0, 0, 1)
+
[node name="Level_test2" type="Node2D"]
script = ExtResource("1_2b4bf")
@@ -44,23 +46,15 @@ shape = SubResource("CircleShape2D_6g88q")
[node name="DrawNode" type="Node2D" parent="."]
script = ExtResource("6_ihf71")
+[node name="TrackLine" type="Line2D" parent="DrawNode"]
+default_color = Color(0.870588, 0.870588, 0.870588, 0.431373)
+
[node name="TrackPath" type="Path2D" parent="DrawNode"]
curve = SubResource("Curve2D_0exre")
[node name="TrackFollower" type="PathFollow2D" parent="DrawNode/TrackPath"]
loop = false
-[node name="TrackLine" type="Line2D" parent="DrawNode"]
-texture_repeat = 2
-width = 70.0
-texture = ExtResource("7_o1l8b")
-texture_mode = 1
-script = ExtResource("7_58u4u")
-
-[node name="LeftBorder" type="Line2D" parent="DrawNode/TrackLine"]
-
-[node name="RightBorder" type="Line2D" parent="DrawNode/TrackLine"]
-
[node name="Checkpoints" type="Node" parent="."]
[node name="TileMap" type="TileMap" parent="."]
@@ -91,4 +85,19 @@ position = Vector2(-1, 7)
build_mode = 1
polygon = PackedVector2Array(964, 570, 845, 570, 835, 586, 765, 585, 740, 616, 594, 618, 580, 602, 462, 601, 449, 617, 257, 618, 244, 601, 225, 602, 211, 586, 124, 585, 115, 599, 49, 602, 40, 595, 38, 573, 24, 561, 23, 538, 38, 535, 39, 509, 54, 501, 54, 364, 39, 351, 38, 318, 23, 304, 22, 284, 36, 278, 38, 173, 24, 163, 23, 123, 35, 118, 44, 105, 57, 101, 54, 58, 68, 54, 82, 54, 92, 39, 196, 38, 203, 53, 277, 53, 283, 68, 454, 70, 460, 56, 484, 54, 494, 38, 581, 38, 586, 51, 660, 53, 667, 69, 724, 70, 732, 55, 756, 54, 763, 39, 801, 37, 815, 55, 828, 39, 897, 37, 922, 68, 980, 71, 987, 84, 1075, 86, 1111, 122, 1113, 148, 1129, 155, 1130, 205, 1115, 220, 1115, 256, 1099, 268, 1097, 322, 1111, 331, 1113, 385, 1096, 396, 1098, 419, 1113, 427, 1115, 481, 1099, 491, 1099, 571, 1089, 585, 1069, 583, 1059, 600, 1011, 603, 996, 585, 978, 585)
+[node name="Control" type="Control" parent="."]
+layout_mode = 3
+anchors_preset = 0
+offset_left = 1014.0
+offset_top = 29.0
+offset_right = 1054.0
+offset_bottom = 69.0
+
+[node name="Label" type="Label" parent="Control"]
+layout_mode = 0
+offset_right = 63.0
+offset_bottom = 26.0
+text = "Level 01"
+label_settings = SubResource("LabelSettings_htkos")
+
[connection signal="mouse_entered" from="FinishLine/Area2D" to="DrawNode" method="_end_drawing"]