diff options
Diffstat (limited to 'Levels/Level1.tscn')
-rw-r--r-- | Levels/Level1.tscn | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/Levels/Level1.tscn b/Levels/Level1.tscn index 3bd097a..74ffae4 100644 --- a/Levels/Level1.tscn +++ b/Levels/Level1.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=13 format=3 uid="uid://b7nxnsf8dirqk"] +[gd_scene load_steps=15 format=3 uid="uid://b7nxnsf8dirqk"] [ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_jvdy8"] [ext_resource type="PackedScene" uid="uid://c8r6i3bu37ogu" path="res://Nodes/ui.tscn" id="2_2bp3f"] @@ -8,6 +8,8 @@ [ext_resource type="Script" path="res://Scripts/drawing.gd" id="6_yls5q"] [ext_resource type="Texture2D" uid="uid://dg3v488vx0oj6" path="res://Assets/checkpoint.png" id="7_e50r0"] [ext_resource type="PackedScene" uid="uid://wkfai2lvnp7n" path="res://Nodes/checkpoint.tscn" id="8_mrrls"] +[ext_resource type="Texture2D" uid="uid://x8c4q8wv8u4o" path="res://Assets/road.png" id="8_yjlto"] +[ext_resource type="Script" path="res://Scripts/Road.gd" id="9_3mco4"] [ext_resource type="TileSet" uid="uid://cl8153posdeim" path="res://Assets/grass_tile_set.tres" id="9_m86ct"] [sub_resource type="CircleShape2D" id="CircleShape2D_qhju2"] @@ -52,9 +54,6 @@ z_index = 3 [node name="DrawNode" type="Node2D" parent="."] script = ExtResource("6_yls5q") -[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") @@ -70,6 +69,17 @@ texture = ExtResource("7_e50r0") wait_time = 0.2 one_shot = true +[node name="TrackLine" type="Line2D" parent="DrawNode"] +texture_repeat = 2 +width = 70.0 +texture = ExtResource("8_yjlto") +texture_mode = 1 +script = ExtResource("9_3mco4") + +[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_mrrls")] |