[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") [node name="hud" type="CanvasLayer" parent="."] [node name="debuglabel" type="Label" parent="hud"] visible = false z_index = 8 offset_left = 14.0 offset_top = 535.0 offset_right = 430.0 offset_bottom = 580.0 theme_override_font_sizes/font_size = 20 text = "adsf" vertical_alignment = 1 [node name="timer" type="Label" parent="hud"] z_index = 8 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 vertical_alignment = 1 [node name="times_container" type="HFlowContainer" parent="hud"] 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) [node name="Camera2D" type="Camera2D" parent="."] [node name="cars" type="Node" parent="."] [node name="countdown" type="Timer" parent="."] wait_time = 3.0 one_shot = true [connection signal="timeout" from="countdown" to="." method="_on_countdown_timeout"]