aboutsummaryrefslogtreecommitdiffstats
path: root/Nodes
diff options
context:
space:
mode:
authorLibravatar IcECreAm777 <hgk.1998@googlemail.com>2023-07-09 14:56:16 +0200
committerLibravatar IcECreAm777 <hgk.1998@googlemail.com>2023-07-09 14:56:16 +0200
commit85574ecd2137fc0c56e183b6cfd18091be3b649d (patch)
tree1421c05b3389b021c89e5d000053b87cd27f0c2e /Nodes
parentb5be244a54529fc9573e20bd191f7c2f86a049db (diff)
parent4ae478e5725b028507585a2a3267369b40796560 (diff)
download2023-85574ecd2137fc0c56e183b6cfd18091be3b649d.tar.gz
2023-85574ecd2137fc0c56e183b6cfd18091be3b649d.tar.bz2
2023-85574ecd2137fc0c56e183b6cfd18091be3b649d.zip
Merge branch 'master' of bunny.garden:jam/gmtk/2023
Diffstat (limited to '')
-rw-r--r--Nodes/Level_test_2.tscn14
-rw-r--r--Nodes/car.tscn1
2 files changed, 2 insertions, 13 deletions
diff --git a/Nodes/Level_test_2.tscn b/Nodes/Level_test_2.tscn
index 9376c7f..fff7252 100644
--- a/Nodes/Level_test_2.tscn
+++ b/Nodes/Level_test_2.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=11 format=3 uid="uid://b7nxnsf8dirqk"]
+[gd_scene load_steps=10 format=3 uid="uid://b7nxnsf8dirqk"]
[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"]
@@ -6,7 +6,6 @@
[ext_resource type="Texture2D" uid="uid://b8vhe5kt6037n" path="res://Assets/end.png" id="4_1x7qu"]
[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://dg3v488vx0oj6" path="res://Assets/checkpoint.png" id="7_alupw"]
[ext_resource type="PackedScene" uid="uid://wkfai2lvnp7n" path="res://Nodes/checkpoint.tscn" id="8_8dt61"]
[sub_resource type="CircleShape2D" id="CircleShape2D_6g88q"]
@@ -36,8 +35,6 @@ texture = ExtResource("4_1x7qu")
shape = SubResource("CircleShape2D_6g88q")
[node name="Car" parent="." instance=ExtResource("5_vbxx6")]
-max_speed = 500
-acceleration = 0.05
[node name="DrawNode" type="Node2D" parent="."]
script = ExtResource("6_6cnd6")
@@ -50,15 +47,6 @@ curve = SubResource("Curve2D_0exre")
[node name="TrackFollower" type="PathFollow2D" parent="DrawNode/TrackPath"]
loop = false
-[node name="Sprite2D" type="Sprite2D" parent="DrawNode/TrackPath/TrackFollower"]
-visible = false
-scale = Vector2(0.604, 0.604)
-texture = ExtResource("7_alupw")
-
-[node name="31005" type="Timer" parent="DrawNode/TrackPath/TrackFollower"]
-wait_time = 0.2
-one_shot = true
-
[node name="Checkpoints" type="Node" parent="."]
[node name="Checkpoint" parent="Checkpoints" instance=ExtResource("8_8dt61")]
diff --git a/Nodes/car.tscn b/Nodes/car.tscn
index dbfb4e1..98b68ac 100644
--- a/Nodes/car.tscn
+++ b/Nodes/car.tscn
@@ -15,3 +15,4 @@ texture = SubResource("CanvasTexture_aacgf")
[node name="CollisionShape2D" type="CollisionShape2D" parent="."]
shape = SubResource("RectangleShape2D_wvlyu")
+debug_color = Color(0.916191, 7.77793e-05, 0.710129, 0.42)