aboutsummaryrefslogtreecommitdiffstats
path: root/Levels/Tut03.tscn
diff options
context:
space:
mode:
authorLibravatar IcECreAm777 <hgk.1998@googlemail.com>2023-07-09 18:11:12 +0200
committerLibravatar IcECreAm777 <hgk.1998@googlemail.com>2023-07-09 18:11:12 +0200
commit9deff914e212393dce2cabfe60f7bcd446728dc1 (patch)
tree229c520f93cf456046daaf218ab9c84f2ead0298 /Levels/Tut03.tscn
parent2c468ed5981ab431be37e2f9d0a2e1cbc5dab2a9 (diff)
parentadd9ec2b23eacfb1994da8694e51f87cc0ce7c0a (diff)
download2023-9deff914e212393dce2cabfe60f7bcd446728dc1.tar.gz
2023-9deff914e212393dce2cabfe60f7bcd446728dc1.tar.bz2
2023-9deff914e212393dce2cabfe60f7bcd446728dc1.zip
Merge branch 'master' of bunny.garden:jam/gmtk/2023
Diffstat (limited to '')
-rw-r--r--Levels/Tut03.tscn18
1 files changed, 14 insertions, 4 deletions
diff --git a/Levels/Tut03.tscn b/Levels/Tut03.tscn
index a64f3de..8f45c64 100644
--- a/Levels/Tut03.tscn
+++ b/Levels/Tut03.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=12 format=3 uid="uid://ceoxn74ev4wui"]
+[gd_scene load_steps=14 format=3 uid="uid://ceoxn74ev4wui"]
[ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_6ktyo"]
[ext_resource type="PackedScene" uid="uid://c8r6i3bu37ogu" path="res://Nodes/ui.tscn" id="2_cbrmn"]
@@ -6,8 +6,10 @@
[ext_resource type="Texture2D" uid="uid://cxhterify3l" path="res://Assets/Images/goal.png" id="4_a601a"]
[ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="5_hgfxg"]
[ext_resource type="Script" path="res://Scripts/drawing.gd" id="6_uikm8"]
+[ext_resource type="Texture2D" uid="uid://bcn7tgs6a4fm7" path="res://Assets/road.png" id="7_wag28"]
[ext_resource type="TileSet" uid="uid://cl8153posdeim" path="res://Assets/grass_tile_set.tres" id="8_1mcey"]
[ext_resource type="PackedScene" uid="uid://wkfai2lvnp7n" path="res://Nodes/checkpoint.tscn" id="8_7nfp6"]
+[ext_resource type="Script" path="res://Scripts/Road.gd" id="8_st1kl"]
[sub_resource type="CircleShape2D" id="CircleShape2D_6g88q"]
radius = 17.0
@@ -48,15 +50,23 @@ z_index = 3
[node name="DrawNode" type="Node2D" parent="."]
script = ExtResource("6_uikm8")
-[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_wag28")
+texture_mode = 1
+script = ExtResource("8_st1kl")
+
+[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_7nfp6")]