aboutsummaryrefslogtreecommitdiffstats
path: root/Levels/LevelTemplate.tscn
diff options
context:
space:
mode:
authorLibravatar cel 🌸 <cel@blos.sm>2023-07-09 16:54:44 +0100
committerLibravatar cel 🌸 <cel@blos.sm>2023-07-09 16:54:44 +0100
commit859563f6ad4370a7f5f96963d63f4d83eecad9a4 (patch)
tree58e6547ec852ac3176fa1ffb92c7ab18022d435a /Levels/LevelTemplate.tscn
parent6b6d02ead8b1f5b0f5cf44d0a88abe50769128ca (diff)
download2023-859563f6ad4370a7f5f96963d63f4d83eecad9a4.tar.gz
2023-859563f6ad4370a7f5f96963d63f4d83eecad9a4.tar.bz2
2023-859563f6ad4370a7f5f96963d63f4d83eecad9a4.zip
fix crash
Diffstat (limited to 'Levels/LevelTemplate.tscn')
-rw-r--r--Levels/LevelTemplate.tscn18
1 files changed, 14 insertions, 4 deletions
diff --git a/Levels/LevelTemplate.tscn b/Levels/LevelTemplate.tscn
index 8539704..7799a9d 100644
--- a/Levels/LevelTemplate.tscn
+++ b/Levels/LevelTemplate.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=10 format=3 uid="uid://dliou1u4o6bib"]
+[gd_scene load_steps=12 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,6 +6,8 @@
[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"]
@@ -42,15 +44,23 @@ 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="."]