aboutsummaryrefslogtreecommitdiffstats
path: root/root_scene.tscn
blob: 628d0cdb6fc017bf56234ed3b943d93e28901fdc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
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