diff options
Diffstat (limited to 'Levels/Level3.tscn')
-rw-r--r-- | Levels/Level3.tscn | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/Levels/Level3.tscn b/Levels/Level3.tscn index 689ec11..73cdd37 100644 --- a/Levels/Level3.tscn +++ b/Levels/Level3.tscn @@ -7,7 +7,9 @@ [ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="5_ja277"] [ext_resource type="Script" path="res://Scripts/drawing.gd" id="6_c7w7m"] [ext_resource type="TileSet" uid="uid://cl8153posdeim" path="res://Assets/grass_tile_set.tres" id="7_2rtyp"] +[ext_resource type="Texture2D" uid="uid://bcn7tgs6a4fm7" path="res://Assets/road.png" id="7_7isac"] [ext_resource type="PackedScene" uid="uid://wkfai2lvnp7n" path="res://Nodes/checkpoint.tscn" id="7_c20c2"] +[ext_resource type="Script" path="res://Scripts/Road.gd" id="8_itqp7"] [sub_resource type="CircleShape2D" id="CircleShape2D_6g88q"] radius = 17.0 @@ -50,15 +52,23 @@ shape = SubResource("CircleShape2D_6g88q") [node name="DrawNode" type="Node2D" parent="."] script = ExtResource("6_c7w7m") -[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_7isac") +texture_mode = 1 +script = ExtResource("8_itqp7") + +[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("7_c20c2")] |