aboutsummaryrefslogtreecommitdiffstats
path: root/Nodes
diff options
context:
space:
mode:
authorLibravatar IcECreAm777 <hgk.1998@googlemail.com>2023-07-08 14:03:54 +0200
committerLibravatar IcECreAm777 <hgk.1998@googlemail.com>2023-07-08 14:03:54 +0200
commitbf17c8a97b77cdb783a2751e7ee4a90843a00f06 (patch)
tree04085f13de39abb186607f80e1132feff8c4e42f /Nodes
parent892ed4854bcccbac546f5ac32c0c5fa0245f5fa7 (diff)
download2023-bf17c8a97b77cdb783a2751e7ee4a90843a00f06.tar.gz
2023-bf17c8a97b77cdb783a2751e7ee4a90843a00f06.tar.bz2
2023-bf17c8a97b77cdb783a2751e7ee4a90843a00f06.zip
split acceleration and steering
Diffstat (limited to '')
-rw-r--r--Nodes/drawing_and_driving.tscn4
1 files changed, 3 insertions, 1 deletions
diff --git a/Nodes/drawing_and_driving.tscn b/Nodes/drawing_and_driving.tscn
index 32ef3e1..865fd4e 100644
--- a/Nodes/drawing_and_driving.tscn
+++ b/Nodes/drawing_and_driving.tscn
@@ -1,4 +1,4 @@
-[gd_scene load_steps=6 format=3 uid="uid://bj5wruvb2hg20"]
+[gd_scene load_steps=6 format=3 uid="uid://cb06k14t2slax"]
[ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_6bj13"]
[ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="1_ktvsb"]
@@ -11,6 +11,8 @@
script = ExtResource("1_6bj13")
[node name="Car" parent="." instance=ExtResource("1_ktvsb")]
+max_speed = 500
+acceleration = 0.05
[node name="DrawNode" type="Node2D" parent="."]
script = ExtResource("3_el555")