This repository has been archived by the owner on Feb 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Main.tscn
68 lines (54 loc) · 1.96 KB
/
Main.tscn
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
64
65
66
67
68
[gd_scene load_steps=5 format=2]
[ext_resource path="res://Track.tscn" type="PackedScene" id=1]
[ext_resource path="res://GUI.tscn" type="PackedScene" id=4]
[ext_resource path="res://track_curve.tres" type="Curve2D" id=5]
[sub_resource type="LineShape2D" id=1]
normal = Vector2( 0.402601, -0.915376 )
[node name="Main" type="Node"]
[node name="TrackView" type="Node2D" parent="."]
position = Vector2( 31.4606, 101.784 )
[node name="Track" parent="TrackView" instance=ExtResource( 1 )]
position = Vector2( 234.783, 98.5507 )
scale = Vector2( 0.365337, 0.365337 )
curve = ExtResource( 5 )
[node name="BeaconTrack" type="Path2D" parent="TrackView"]
position = Vector2( 236.212, 102.176 )
scale = Vector2( 0.455698, 0.455698 )
curve = ExtResource( 5 )
[node name="Finishline" type="Area2D" parent="TrackView"]
collision_layer = 2
collision_mask = 4
[node name="CollisionShape2D" type="CollisionShape2D" parent="TrackView/Finishline"]
position = Vector2( 414, 134 )
shape = SubResource( 1 )
[node name="Gui" parent="." instance=ExtResource( 4 )]
anchor_left = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
margin_left = -1077.0
margin_top = 38.0
margin_right = -27.0
margin_bottom = -20.0
[node name="Line2D" type="Line2D" parent="."]
points = PoolVector2Array( 34, 400, 500, 400 )
[node name="Line2D" type="Line2D" parent="Line2D"]
points = PoolVector2Array( 502.345, 399.679, 460, 380, 460, 420, 502.512, 399.679 )
joint_mode = 2
begin_cap_mode = 2
end_cap_mode = 2
[node name="Line2D2" type="Line2D" parent="Line2D"]
position = Vector2( -384, 0 )
points = PoolVector2Array( 419.202, 399.939, 460, 380, 460, 420, 419.254, 399.973 )
joint_mode = 2
begin_cap_mode = 2
end_cap_mode = 2
[node name="Label" type="Label" parent="Line2D"]
margin_left = 238.98
margin_top = 373.828
margin_right = 278.98
margin_bottom = 387.828
text = "Track breedte: "
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="area_entered" from="TrackView/Finishline" to="TrackView/Finishline" method="_OnAreaEntered"]