From bf17c8a97b77cdb783a2751e7ee4a90843a00f06 Mon Sep 17 00:00:00 2001 From: IcECreAm777 Date: Sat, 8 Jul 2023 14:03:54 +0200 Subject: split acceleration and steering --- Nodes/drawing_and_driving.tscn | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Nodes/drawing_and_driving.tscn') 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") -- cgit