aboutsummaryrefslogtreecommitdiffstats
path: root/Levels
diff options
context:
space:
mode:
authorLibravatar perivesta <>2023-07-09 16:27:23 +0200
committerLibravatar perivesta <>2023-07-09 16:27:23 +0200
commitc19f69112409eca00029159f31797e13bbab61cf (patch)
tree5e77b86a689bb0b5daae2c96f234bb181ba14a8f /Levels
parentf590408e30faa9bbb29969348a4f3b6328eed491 (diff)
download2023-c19f69112409eca00029159f31797e13bbab61cf.tar.gz
2023-c19f69112409eca00029159f31797e13bbab61cf.tar.bz2
2023-c19f69112409eca00029159f31797e13bbab61cf.zip
line color etc
Diffstat (limited to '')
-rw-r--r--Levels/LevelTemplate.tscn3
-rw-r--r--Levels/Level_test_2.tscn7
-rw-r--r--Levels/Tut01.tscn9
-rw-r--r--Levels/Tut02.tscn6
-rw-r--r--Levels/Tut03.tscn2
5 files changed, 22 insertions, 5 deletions
diff --git a/Levels/LevelTemplate.tscn b/Levels/LevelTemplate.tscn
index 217a0b4..e2e9a9c 100644
--- a/Levels/LevelTemplate.tscn
+++ b/Levels/LevelTemplate.tscn
@@ -13,7 +13,7 @@ radius = 17.0
[sub_resource type="Curve2D" id="Curve2D_0exre"]
-[node name="Level_test" type="Node2D"]
+[node name="Level_test2" type="Node2D"]
script = ExtResource("1_2b4bf")
[node name="UI" parent="." instance=ExtResource("2_2w0c4")]
@@ -43,6 +43,7 @@ shape = SubResource("CircleShape2D_6g88q")
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")
diff --git a/Levels/Level_test_2.tscn b/Levels/Level_test_2.tscn
index f06f684..350663f 100644
--- a/Levels/Level_test_2.tscn
+++ b/Levels/Level_test_2.tscn
@@ -2,7 +2,7 @@
[ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_amd1r"]
[ext_resource type="PackedScene" uid="uid://c8r6i3bu37ogu" path="res://Nodes/ui.tscn" id="2_veexm"]
-[ext_resource type="Texture2D" uid="uid://b8vhe5kt6037n" path="res://Assets/end.png" id="4_1x7qu"]
+[ext_resource type="Texture2D" uid="uid://cxhterify3l" path="res://Assets/Images/goal.png" id="3_4pkmo"]
[ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="5_vbxx6"]
[ext_resource type="Script" path="res://Scripts/drawing.gd" id="6_6cnd6"]
[ext_resource type="Texture2D" uid="uid://bsadcfl3o65wb" path="res://Assets/Images/start.png" id="7_oyh3d"]
@@ -10,7 +10,7 @@
[ext_resource type="TileSet" uid="uid://cl8153posdeim" path="res://Assets/grass_tile_set.tres" id="8_dcy0l"]
[sub_resource type="CircleShape2D" id="CircleShape2D_6g88q"]
-radius = 18.0278
+radius = 17.0
[sub_resource type="Curve2D" id="Curve2D_0exre"]
@@ -21,7 +21,7 @@ script = ExtResource("1_amd1r")
[node name="FinishLine" type="Sprite2D" parent="."]
position = Vector2(694, 598)
-texture = ExtResource("4_1x7qu")
+texture = ExtResource("3_4pkmo")
[node name="Area2D" type="Area2D" parent="FinishLine"]
@@ -34,6 +34,7 @@ shape = SubResource("CircleShape2D_6g88q")
script = ExtResource("6_6cnd6")
[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")
diff --git a/Levels/Tut01.tscn b/Levels/Tut01.tscn
index d7441dc..9ee293a 100644
--- a/Levels/Tut01.tscn
+++ b/Levels/Tut01.tscn
@@ -17,12 +17,13 @@ radius = 17.0
outline_size = 5
outline_color = Color(0, 0, 0, 1)
-[node name="Level_test" type="Node2D"]
+[node name="Level_test2" type="Node2D"]
script = ExtResource("1_lcu5v")
[node name="UI" parent="." instance=ExtResource("2_44idh")]
[node name="Start" type="Node2D" parent="."]
+z_index = 2
position = Vector2(256, 422)
[node name="Start" type="TextureButton" parent="Start"]
@@ -33,6 +34,7 @@ offset_bottom = 9.0
texture_normal = ExtResource("3_ewibm")
[node name="FinishLine" type="Sprite2D" parent="."]
+z_index = 2
position = Vector2(856, 437)
texture = ExtResource("4_mfiv7")
@@ -42,11 +44,15 @@ texture = ExtResource("4_mfiv7")
shape = SubResource("CircleShape2D_6g88q")
[node name="Car" parent="." instance=ExtResource("5_mi6tb")]
+z_index = 3
[node name="DrawNode" type="Node2D" parent="."]
script = ExtResource("6_0pqvb")
[node name="TrackLine" type="Line2D" parent="DrawNode"]
+z_index = 1
+points = PackedVector2Array(1636, 177)
+default_color = Color(0.870588, 0.870588, 0.870588, 0.431373)
[node name="TrackPath" type="Path2D" parent="DrawNode"]
curve = SubResource("Curve2D_0exre")
@@ -57,6 +63,7 @@ loop = false
[node name="Checkpoints" type="Node" parent="."]
[node name="Control" type="Control" parent="."]
+z_index = 5
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
diff --git a/Levels/Tut02.tscn b/Levels/Tut02.tscn
index 047e894..915167e 100644
--- a/Levels/Tut02.tscn
+++ b/Levels/Tut02.tscn
@@ -23,6 +23,7 @@ script = ExtResource("1_77i7n")
[node name="UI" parent="." instance=ExtResource("2_wchsl")]
[node name="Start" type="Node2D" parent="."]
+z_index = 2
position = Vector2(256, 422)
[node name="Start" type="TextureButton" parent="Start"]
@@ -33,6 +34,7 @@ offset_bottom = 9.0
texture_normal = ExtResource("3_eeg1f")
[node name="FinishLine" type="Sprite2D" parent="."]
+z_index = 2
position = Vector2(983, 158)
texture = ExtResource("4_yklwl")
@@ -42,11 +44,14 @@ texture = ExtResource("4_yklwl")
shape = SubResource("CircleShape2D_6g88q")
[node name="Car" parent="." instance=ExtResource("5_h0kjy")]
+z_index = 3
[node name="DrawNode" type="Node2D" parent="."]
script = ExtResource("6_0m5bn")
[node name="TrackLine" type="Line2D" parent="DrawNode"]
+z_index = 1
+default_color = Color(0.870588, 0.870588, 0.870588, 0.431373)
[node name="TrackPath" type="Path2D" parent="DrawNode"]
curve = SubResource("Curve2D_0exre")
@@ -57,6 +62,7 @@ loop = false
[node name="Checkpoints" type="Node" parent="."]
[node name="Control" type="Control" parent="."]
+z_index = 5
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
diff --git a/Levels/Tut03.tscn b/Levels/Tut03.tscn
index 42ac325..862725f 100644
--- a/Levels/Tut03.tscn
+++ b/Levels/Tut03.tscn
@@ -43,11 +43,13 @@ texture = ExtResource("4_a601a")
shape = SubResource("CircleShape2D_6g88q")
[node name="Car" parent="." instance=ExtResource("5_hgfxg")]
+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")