diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-12-26 11:29:04 +0100 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-12-26 11:29:04 +0100 |
commit | d572bc0a27b05c6632ba76bd630c7c4fd8f0ae5d (patch) | |
tree | 8bffeb9f025dc1c77bc53b65caf10d9b1fab5f2c /ui/start_screen.tscn |
initial commit
Diffstat (limited to 'ui/start_screen.tscn')
-rw-r--r-- | ui/start_screen.tscn | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/ui/start_screen.tscn b/ui/start_screen.tscn new file mode 100644 index 0000000..6d40d01 --- /dev/null +++ b/ui/start_screen.tscn @@ -0,0 +1,51 @@ +[gd_scene load_steps=3 format=3 uid="uid://brfnvqsla72pn"] + +[ext_resource type="Script" path="res://ui/start_screen.gd" id="1_bpjye"] +[ext_resource type="Theme" uid="uid://b067xhqktnmhr" path="res://ui/theme.tres" id="2_qfrkp"] + +[node name="StartScreen" type="Control"] +layout_mode = 3 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 +script = ExtResource("1_bpjye") + +[node name="ColorRect" type="ColorRect" parent="."] +layout_mode = 0 +offset_right = 160.0 +offset_bottom = 144.0 +color = Color(0.419608, 0.65098, 0.290196, 1) + +[node name="CenterContainer" type="CenterContainer" parent="."] +layout_mode = 1 +anchors_preset = 15 +anchor_right = 1.0 +anchor_bottom = 1.0 +grow_horizontal = 2 +grow_vertical = 2 + +[node name="HBoxContainer" type="HBoxContainer" parent="CenterContainer"] +layout_mode = 2 +theme_override_constants/separation = 2 + +[node name="Label" type="Label" parent="CenterContainer/HBoxContainer"] +texture_filter = 1 +layout_mode = 2 +theme = ExtResource("2_qfrkp") +text = "Starting in" + +[node name="CountdownLabel" type="Label" parent="CenterContainer/HBoxContainer"] +unique_name_in_owner = true +texture_filter = 1 +layout_mode = 2 +theme = ExtResource("2_qfrkp") +text = "0" + +[node name="CountdownTimer" type="Timer" parent="."] +unique_name_in_owner = true +wait_time = 3.0 +one_shot = true + +[connection signal="timeout" from="CountdownTimer" to="." method="_on_countdown_timer_timeout"] |