2024-11-03 18:16:30 +00:00
|
|
|
[gd_scene load_steps=2 format=3 uid="uid://cotth8e5rtioe"]
|
|
|
|
|
|
|
|
[ext_resource type="Script" path="res://scripts/game.gd" id="1_7syh4"]
|
|
|
|
|
|
|
|
[node name="Game" type="Node2D"]
|
|
|
|
script = ExtResource("1_7syh4")
|
|
|
|
|
2024-11-04 20:56:07 +00:00
|
|
|
[node name="hud" type="CanvasLayer" parent="."]
|
2024-11-03 18:16:30 +00:00
|
|
|
|
2024-11-06 06:38:44 +00:00
|
|
|
[node name="debuglabel" type="Label" parent="hud"]
|
2024-11-06 17:36:13 +00:00
|
|
|
visible = false
|
2024-11-03 18:16:30 +00:00
|
|
|
z_index = 8
|
2024-11-06 06:38:44 +00:00
|
|
|
offset_left = 14.0
|
|
|
|
offset_top = 535.0
|
|
|
|
offset_right = 430.0
|
|
|
|
offset_bottom = 580.0
|
|
|
|
theme_override_font_sizes/font_size = 20
|
2024-11-04 20:56:07 +00:00
|
|
|
text = "adsf"
|
2024-11-03 18:16:30 +00:00
|
|
|
vertical_alignment = 1
|
|
|
|
|
2024-11-06 06:38:44 +00:00
|
|
|
[node name="timer" type="Label" parent="hud"]
|
2024-11-04 20:56:07 +00:00
|
|
|
z_index = 8
|
2024-11-06 06:38:44 +00:00
|
|
|
offset_left = 17.0
|
|
|
|
offset_top = 562.0
|
|
|
|
offset_right = 433.0
|
|
|
|
offset_bottom = 631.0
|
|
|
|
theme_override_font_sizes/font_size = 50
|
|
|
|
text = "0.000"
|
|
|
|
vertical_alignment = 1
|
|
|
|
|
|
|
|
[node name="countdown_label" type="Label" parent="hud"]
|
|
|
|
offset_left = 604.0
|
|
|
|
offset_top = 312.0
|
|
|
|
offset_right = 644.0
|
|
|
|
offset_bottom = 342.0
|
|
|
|
theme_override_font_sizes/font_size = 50
|
|
|
|
text = "3"
|
|
|
|
horizontal_alignment = 1
|
2024-11-04 20:56:07 +00:00
|
|
|
vertical_alignment = 1
|
|
|
|
|
2024-11-06 06:38:44 +00:00
|
|
|
[node name="times_container" type="HFlowContainer" parent="hud"]
|
2024-11-09 09:32:12 +00:00
|
|
|
anchors_preset = 8
|
|
|
|
anchor_left = 0.5
|
|
|
|
anchor_top = 0.5
|
|
|
|
anchor_right = 0.5
|
|
|
|
anchor_bottom = 0.5
|
|
|
|
offset_left = -546.0
|
|
|
|
offset_top = -294.0
|
|
|
|
offset_right = -506.0
|
|
|
|
offset_bottom = -254.0
|
|
|
|
grow_horizontal = 2
|
|
|
|
grow_vertical = 2
|
|
|
|
|
|
|
|
[node name="overlaycolor" type="ColorRect" parent="hud"]
|
|
|
|
visible = false
|
|
|
|
modulate = Color(1, 1, 1, 0)
|
|
|
|
offset_left = -25.0
|
|
|
|
offset_top = -20.0
|
|
|
|
offset_right = 1190.0
|
|
|
|
offset_bottom = 682.0
|
|
|
|
color = Color(0.482353, 0.482353, 0.482353, 0.52549)
|
2024-11-06 06:38:44 +00:00
|
|
|
|
2024-11-04 20:56:07 +00:00
|
|
|
[node name="Camera2D" type="Camera2D" parent="."]
|
|
|
|
|
2024-11-03 18:16:30 +00:00
|
|
|
[node name="cars" type="Node" parent="."]
|
2024-11-06 06:38:44 +00:00
|
|
|
|
|
|
|
[node name="countdown" type="Timer" parent="."]
|
|
|
|
wait_time = 3.0
|
|
|
|
one_shot = true
|
|
|
|
|
|
|
|
[connection signal="timeout" from="countdown" to="." method="_on_countdown_timeout"]
|