aboutsummaryrefslogtreecommitdiffstats
path: root/Levels/Level_test_2.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Levels/Level_test_2.tscn')
-rw-r--r--Levels/Level_test_2.tscn18
1 files changed, 14 insertions, 4 deletions
diff --git a/Levels/Level_test_2.tscn b/Levels/Level_test_2.tscn
index 350663f..2698b31 100644
--- a/Levels/Level_test_2.tscn
+++ b/Levels/Level_test_2.tscn
@@ -1,10 +1,12 @@
-[gd_scene load_steps=11 format=3 uid="uid://b7nxnsf8dirqk"]
+[gd_scene load_steps=13 format=3 uid="uid://b7nxnsf8dirqk"]
[ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_amd1r"]
[ext_resource type="PackedScene" uid="uid://c8r6i3bu37ogu" path="res://Nodes/ui.tscn" id="2_veexm"]
[ext_resource type="Texture2D" uid="uid://cxhterify3l" path="res://Assets/Images/goal.png" id="3_4pkmo"]
[ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="5_vbxx6"]
+[ext_resource type="Texture2D" uid="uid://bcn7tgs6a4fm7" path="res://Assets/road.png" id="6_5wji0"]
[ext_resource type="Script" path="res://Scripts/drawing.gd" id="6_6cnd6"]
+[ext_resource type="Script" path="res://Scripts/Road.gd" id="7_53orf"]
[ext_resource type="Texture2D" uid="uid://bsadcfl3o65wb" path="res://Assets/Images/start.png" id="7_oyh3d"]
[ext_resource type="PackedScene" uid="uid://wkfai2lvnp7n" path="res://Nodes/checkpoint.tscn" id="8_8dt61"]
[ext_resource type="TileSet" uid="uid://cl8153posdeim" path="res://Assets/grass_tile_set.tres" id="8_dcy0l"]
@@ -33,15 +35,23 @@ shape = SubResource("CircleShape2D_6g88q")
[node name="DrawNode" type="Node2D" parent="."]
script = ExtResource("6_6cnd6")
-[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("6_5wji0")
+texture_mode = 1
+script = ExtResource("7_53orf")
+
+[node name="LeftBorder" type="Line2D" parent="DrawNode/TrackLine"]
+
+[node name="RightBorder" type="Line2D" parent="DrawNode/TrackLine"]
+
[node name="Checkpoints" type="Node" parent="."]
[node name="Checkpoint" parent="Checkpoints" instance=ExtResource("8_8dt61")]