[gd_scene load_steps=8 format=3 uid="uid://b1uhymisifcho"]

[ext_resource type="Script" path="res://scripts/menu.gd" id="1_fushn"]
[ext_resource type="Script" path="res://scripts/menudisplay.gd" id="2_jc4pv"]
[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"]
[ext_resource type="Script" path="res://scripts/rounds_selection.gd" id="7_cr4tq"]

[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"]
offset_left = 114.0
offset_top = 71.0
offset_right = 171.0
offset_bottom = 208.0
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

[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"

[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")

[node name="rounds_selection" type="OptionButton" parent="MenuDisplay"]
offset_left = 690.0
offset_top = 556.0
offset_right = 732.0
offset_bottom = 587.0
item_count = 5
popup/item_0/text = "1"
popup/item_1/text = "2"
popup/item_1/id = 1
popup/item_2/text = "3"
popup/item_2/id = 2
popup/item_3/text = "4"
popup/item_3/id = 3
popup/item_4/text = "5"
popup/item_4/id = 4
script = ExtResource("7_cr4tq")

[node name="Label" type="Label" parent="MenuDisplay/rounds_selection"]
layout_mode = 0
offset_left = -70.0
offset_top = 3.0
offset_right = -7.0
offset_bottom = 26.0
text = "Rounds:"

[node name="Timer" type="Timer" parent="."]
wait_time = 5.0

[connection signal="toggled" from="MenuDisplay/btn_fullscreen" to="." method="_on_btn_fullscreen_toggled"]
[connection signal="map_changed" from="MenuDisplay/map_container" to="." method="_on_map_container_map_changed"]
[connection signal="item_selected" from="MenuDisplay/rounds_selection" to="." method="_on_rounds_selection_item_selected"]
[connection signal="item_selected" from="MenuDisplay/rounds_selection" to="MenuDisplay/rounds_selection" method="_on_item_selected"]
[connection signal="timeout" from="Timer" to="." method="_on_timer_timeout"]
