From 420b84da5f73084b51c78e9bdae9881cad67ef21 Mon Sep 17 00:00:00 2001 From: perivesta <> Date: Sun, 9 Jul 2023 14:49:46 +0200 Subject: new car physics --- Nodes/Level_test.tscn | 2 -- Nodes/Level_test_2.tscn | 2 -- Nodes/car.tscn | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) (limited to 'Nodes') 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) -- cgit