aboutsummaryrefslogtreecommitdiffstats
path: root/Nodes
diff options
context:
space:
mode:
authorLibravatar perivesta <>2023-07-09 14:49:46 +0200
committerLibravatar perivesta <>2023-07-09 14:49:46 +0200
commit420b84da5f73084b51c78e9bdae9881cad67ef21 (patch)
treee3e9b8d37c8fc835243aed98b1c5c4c6e76a72b2 /Nodes
parentbaf451d062acc110e791e73d28be9bdbf20a1eb3 (diff)
download2023-420b84da5f73084b51c78e9bdae9881cad67ef21.tar.gz
2023-420b84da5f73084b51c78e9bdae9881cad67ef21.tar.bz2
2023-420b84da5f73084b51c78e9bdae9881cad67ef21.zip
new car physics
Diffstat (limited to '')
-rw-r--r--Nodes/Level_test.tscn2
-rw-r--r--Nodes/Level_test_2.tscn2
-rw-r--r--Nodes/car.tscn1
3 files changed, 1 insertions, 4 deletions
diff --git a/Nodes/Level_test.tscn b/Nodes/Level_test.tscn
index 6e2c195..d512420 100644
--- a/Nodes/Level_test.tscn
+++ b/Nodes/Level_test.tscn
@@ -35,8 +35,6 @@ texture = ExtResource("2_gp6ng")
shape = SubResource("CircleShape2D_6g88q")
[node name="Car" parent="." instance=ExtResource("4_xvobs")]
-max_speed = 500
-acceleration = 0.05
[node name="DrawNode" type="Node2D" parent="."]
script = ExtResource("5_x7h3g")
diff --git a/Nodes/Level_test_2.tscn b/Nodes/Level_test_2.tscn
index df32fcd..fff7252 100644
--- a/Nodes/Level_test_2.tscn
+++ b/Nodes/Level_test_2.tscn
@@ -35,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")
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)