teststrecke-game/scenes/game.tscn
2024-11-06 18:37:01 +01:00

55 lines
1.3 KiB
Text

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