diff options
author | cel 🌸 <cel@blos.sm> | 2023-07-09 16:21:38 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2023-07-09 16:21:38 +0100 |
commit | b384856adeed758ce3fe395f6b973639f21fc4d8 (patch) | |
tree | b4d55d1af8201aba3786c5c9158d68cb4ea0564c /Nodes/Level_test.tscn | |
parent | ae7b7226c64e7b9ce62e045991c315040563fe5a (diff) | |
download | 2023-b384856adeed758ce3fe395f6b973639f21fc4d8.tar.gz 2023-b384856adeed758ce3fe395f6b973639f21fc4d8.tar.bz2 2023-b384856adeed758ce3fe395f6b973639f21fc4d8.zip |
add borders
Diffstat (limited to 'Nodes/Level_test.tscn')
-rw-r--r-- | Nodes/Level_test.tscn | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Nodes/Level_test.tscn b/Nodes/Level_test.tscn index 0703906..dd45a9f 100644 --- a/Nodes/Level_test.tscn +++ b/Nodes/Level_test.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=12 format=3 uid="uid://dliou1u4o6bib"] +[gd_scene load_steps=13 format=3 uid="uid://dliou1u4o6bib"] [ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_0esj3"] [ext_resource type="Texture2D" uid="uid://5xqahgawme4m" path="res://Assets/start.png" id="1_wenkl"] @@ -7,6 +7,7 @@ [ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="4_xvobs"] [ext_resource type="Script" path="res://Scripts/drawing.gd" id="5_x7h3g"] [ext_resource type="PackedScene" path="res://Nodes/checkpoint.tscn" id="7_52mhf"] +[ext_resource type="Texture2D" uid="uid://bcn7tgs6a4fm7" path="res://Assets/road.png" id="7_mmi61"] [ext_resource type="Script" path="res://Scripts/Road.gd" id="7_nyjk7"] [ext_resource type="PackedScene" uid="uid://c8r6i3bu37ogu" path="res://Nodes/ui.tscn" id="8_8u1ba"] @@ -44,11 +45,20 @@ acceleration = 0.05 script = ExtResource("5_x7h3g") [node name="Road" type="Line2D" parent="DrawNode"] +texture_repeat = 2 width = 100.0 -default_color = Color(0.133333, 0.133333, 0.133333, 1) -joint_mode = 2 +texture = ExtResource("7_mmi61") +texture_mode = 1 +joint_mode = 1 +round_precision = 16 script = ExtResource("7_nyjk7") +[node name="LeftBorder" type="Line2D" parent="DrawNode/Road"] +width = 2.0 + +[node name="RightBorder" type="Line2D" parent="DrawNode/Road"] +width = 2.0 + [node name="TrackPath" type="Path2D" parent="DrawNode"] curve = SubResource("Curve2D_0exre") |