diff options
author | IcECreAm777 <hgk.1998@googlemail.com> | 2023-07-08 14:03:54 +0200 |
---|---|---|
committer | IcECreAm777 <hgk.1998@googlemail.com> | 2023-07-08 14:03:54 +0200 |
commit | bf17c8a97b77cdb783a2751e7ee4a90843a00f06 (patch) | |
tree | 04085f13de39abb186607f80e1132feff8c4e42f /root_scene.tscn | |
parent | 892ed4854bcccbac546f5ac32c0c5fa0245f5fa7 (diff) | |
download | 2023-bf17c8a97b77cdb783a2751e7ee4a90843a00f06.tar.gz 2023-bf17c8a97b77cdb783a2751e7ee4a90843a00f06.tar.bz2 2023-bf17c8a97b77cdb783a2751e7ee4a90843a00f06.zip |
split acceleration and steering
Diffstat (limited to 'root_scene.tscn')
-rw-r--r-- | root_scene.tscn | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/root_scene.tscn b/root_scene.tscn new file mode 100644 index 0000000..628d0cd --- /dev/null +++ b/root_scene.tscn @@ -0,0 +1,63 @@ +[gd_scene load_steps=5 format=3 uid="uid://dksiactnihgg3"] + +[ext_resource type="Script" path="res://Scripts/scene_control.gd" id="1_eopk0"] +[ext_resource type="PackedScene" uid="uid://cqglbcitm2wlb" path="res://Nodes/simple_wall.tscn" id="1_o5f4t"] +[ext_resource type="PackedScene" uid="uid://c1mvbh2fwqtkb" path="res://Nodes/car.tscn" id="2_22f5l"] + +[sub_resource type="Curve2D" id="Curve2D_rg63l"] +bake_interval = 10.0 +_data = { +"points": PackedVector2Array(0, 0, 0, 0, 495, 54, 0, 0, 0, 0, 567, 56, -17.0089, 38.4276, 17.0089, -38.4276, 627, 32, -18.8988, 13.2292, 18.8988, -13.2292, 648, -102, -31.498, -18.8988, 31.498, 18.8988, 718, -102, 8.18949, -25.8284, -8.18949, 25.8284, 720, 263, 26.4583, 13.2292, -26.4583, -13.2292, 639, 286, 46.6171, 22.6786, -46.6171, -22.6786, 500, 170, 0, 0, 0, 0, 369, 136, -3.1498, 47.247, 3.1498, -47.247, 312, 90, 0, 0, 0, 0, 368, 53, 0, 0, 0, 0, 495, 54) +} +point_count = 12 + +[node name="Node2D" type="Node2D"] +position = Vector2(0, 1) +script = ExtResource("1_eopk0") + +[node name="SimpleWall" parent="." instance=ExtResource("1_o5f4t")] +position = Vector2(520, 240) + +[node name="SimpleWall10" parent="." instance=ExtResource("1_o5f4t")] +position = Vector2(645, -4) + +[node name="SimpleWall8" parent="." instance=ExtResource("1_o5f4t")] +position = Vector2(427, 139) + +[node name="SimpleWall7" parent="." instance=ExtResource("1_o5f4t")] +position = Vector2(236, 321) + +[node name="SimpleWall6" parent="." instance=ExtResource("1_o5f4t")] +position = Vector2(494, 417) +rotation = 0.716721 + +[node name="SimpleWall4" parent="." instance=ExtResource("1_o5f4t")] +position = Vector2(618, 493) + +[node name="SimpleWall2" parent="." instance=ExtResource("1_o5f4t")] +position = Vector2(680, 235) +scale = Vector2(1.28, 16.6) + +[node name="SimpleWall3" parent="." instance=ExtResource("1_o5f4t")] +position = Vector2(762, 238) +scale = Vector2(1.28, 27.28) + +[node name="SimpleWall9" parent="." instance=ExtResource("1_o5f4t")] +position = Vector2(581, -122) +scale = Vector2(1.28, 27.28) + +[node name="SimpleWall5" parent="." instance=ExtResource("1_o5f4t")] +position = Vector2(273, 258) +scale = Vector2(1.28, 27.28) + +[node name="Path2D" type="Path2D" parent="."] +position = Vector2(0, 147) +curve = SubResource("Curve2D_rg63l") + +[node name="PathFollow2D" type="PathFollow2D" parent="Path2D"] +position = Vector2(495, 54) +rotation = 0.0277706 + +[node name="Car" parent="." instance=ExtResource("2_22f5l")] +position = Vector2(390, 202) +max_speed = 100 |