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-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"]
|
|
|
|
offset_left = 29.0
|
|
|
|
offset_top = 29.0
|
|
|
|
offset_right = 69.0
|
|
|
|
offset_bottom = 69.0
|
|
|
|
|
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"]
|