teststrecke-game/scenes/menu.tscn

128 lines
4.1 KiB
Text
Raw Normal View History

2024-11-09 12:47:13 +00:00
[gd_scene load_steps=7 format=3 uid="uid://b1uhymisifcho"]
2024-11-03 18:16:30 +00:00
[ext_resource type="Script" path="res://scripts/menu.gd" id="1_fushn"]
[ext_resource type="Script" path="res://scripts/menudisplay.gd" id="2_jc4pv"]
2024-11-09 12:47:13 +00:00
[ext_resource type="Script" path="res://scripts/map_selection.gd" id="3_c0mhk"]
[ext_resource type="Texture2D" uid="uid://my0glsan1h2e" path="res://scenes/map_preview/map_00.png" id="3_p822h"]
[ext_resource type="Texture2D" uid="uid://bk32usoetq3b" path="res://scenes/map_preview/map_01.png" id="4_ac8w4"]
[ext_resource type="Texture2D" uid="uid://ole07xte1dxp" path="res://scenes/map_preview/map_02.png" id="5_pnyq7"]
2024-11-03 18:16:30 +00:00
[node name="Menu" type="Node"]
script = ExtResource("1_fushn")
[node name="MenuDisplay" type="Node2D" parent="."]
script = ExtResource("2_jc4pv")
[node name="Playerlist" type="Label" parent="MenuDisplay"]
offset_left = 131.0
offset_top = 58.0
offset_right = 745.0
offset_bottom = 572.0
theme_override_font_sizes/font_size = 32
[node name="countdown" type="Label" parent="MenuDisplay"]
2024-11-09 12:47:13 +00:00
offset_left = 114.0
offset_top = 71.0
offset_right = 171.0
offset_bottom = 208.0
2024-11-03 18:16:30 +00:00
theme_override_font_sizes/font_size = 100
text = "5"
[node name="MarginContainer" type="MarginContainer" parent="MenuDisplay"]
offset_left = 317.0
offset_top = 90.0
offset_right = 357.0
offset_bottom = 130.0
[node name="VBoxContainer_Playerlist" type="VBoxContainer" parent="MenuDisplay/MarginContainer"]
layout_mode = 2
[node name="Label" type="Label" parent="MenuDisplay/MarginContainer/VBoxContainer_Playerlist"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
text = "Press key"
uppercase = true
[node name="Label2" type="Label" parent="MenuDisplay/MarginContainer/VBoxContainer_Playerlist"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
text = "to join"
uppercase = true
[node name="Label3" type="Label" parent="MenuDisplay/MarginContainer/VBoxContainer_Playerlist"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
uppercase = true
[node name="Label4" type="Label" parent="MenuDisplay/MarginContainer/VBoxContainer_Playerlist"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
uppercase = true
[node name="Label5" type="Label" parent="MenuDisplay/MarginContainer/VBoxContainer_Playerlist"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
uppercase = true
[node name="Label6" type="Label" parent="MenuDisplay/MarginContainer/VBoxContainer_Playerlist"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
uppercase = true
[node name="Label7" type="Label" parent="MenuDisplay/MarginContainer/VBoxContainer_Playerlist"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
uppercase = true
[node name="Label8" type="Label" parent="MenuDisplay/MarginContainer/VBoxContainer_Playerlist"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
uppercase = true
[node name="Label9" type="Label" parent="MenuDisplay/MarginContainer/VBoxContainer_Playerlist"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
uppercase = true
[node name="Label10" type="Label" parent="MenuDisplay/MarginContainer/VBoxContainer_Playerlist"]
layout_mode = 2
theme_override_font_sizes/font_size = 32
uppercase = true
2024-11-04 20:56:07 +00:00
[node name="btn_fullscreen" type="CheckButton" parent="MenuDisplay"]
offset_left = 845.0
offset_top = 540.0
offset_right = 972.0
offset_bottom = 571.0
scale = Vector2(2, 2)
text = "Fullscreen"
2024-11-09 12:47:13 +00:00
[node name="map_container" type="HFlowContainer" parent="MenuDisplay"]
offset_left = 613.0
offset_top = 31.0
offset_right = 1913.0
offset_bottom = 1263.0
scale = Vector2(0.395, 0.395)
script = ExtResource("3_c0mhk")
[node name="btn_map_00" type="Button" parent="MenuDisplay/map_container"]
layout_mode = 2
toggle_mode = true
icon = ExtResource("3_p822h")
[node name="btn_map_01" type="Button" parent="MenuDisplay/map_container"]
layout_mode = 2
toggle_mode = true
icon = ExtResource("4_ac8w4")
[node name="btn_map_02" type="Button" parent="MenuDisplay/map_container"]
layout_mode = 2
toggle_mode = true
icon = ExtResource("5_pnyq7")
2024-11-03 18:16:30 +00:00
[node name="Timer" type="Timer" parent="."]
wait_time = 5.0
2024-11-04 20:56:07 +00:00
[connection signal="toggled" from="MenuDisplay/btn_fullscreen" to="." method="_on_btn_fullscreen_toggled"]
2024-11-03 18:16:30 +00:00
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]