[gd_scene load_steps=6 format=3 uid="uid://cjlgs86ey1u1o"]

[ext_resource type="Script" path="res://scripts/ConnectButton.gd" id="1_nhpm2"]
[ext_resource type="Script" path="res://scripts/TaskPanelButton.gd" id="1_yn6yn"]
[ext_resource type="Script" path="res://scripts/Nickname.gd" id="2_5xejq"]
[ext_resource type="Texture2D" uid="uid://bxmfgknljdw65" path="res://icon.svg" id="4_j2ki1"]

[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_cwx4a"]
texture = ExtResource("4_j2ki1")

[node name="Menu" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2

[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
scale = Vector2(1, 1.00231)
color = Color(0.0392157, 0.360784, 0.419608, 1)

[node name="ColorRect2" type="ColorRect" parent="ColorRect"]
layout_mode = 1
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
offset_top = -28.0
offset_bottom = 2.0
grow_horizontal = 2
grow_vertical = 0
color = Color(0.117647, 0.117647, 0.117647, 1)

[node name="buttons" type="Control" parent="ColorRect"]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -40.0
offset_right = 40.0
grow_vertical = 0

[node name="Button_quit" type="Button" parent="ColorRect/buttons"]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -28.4312
offset_right = 30.0
offset_bottom = 1.56878
grow_vertical = 0
theme_override_font_sizes/font_size = 12
text = "off"
script = ExtResource("1_yn6yn")

[node name="Button_direct" type="Button" parent="ColorRect/buttons"]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 30.0
offset_top = -28.4312
offset_right = 63.0
offset_bottom = 1.56878
grow_vertical = 0
theme_override_font_sizes/font_size = 12
text = "web"
script = ExtResource("1_yn6yn")

[node name="Button_settings" type="Button" parent="ColorRect/buttons"]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 63.0
offset_top = -28.4312
offset_right = 96.0
offset_bottom = 1.56878
grow_vertical = 0
theme_override_font_sizes/font_size = 12
text = "settings"
script = ExtResource("1_yn6yn")

[node name="DirectMenu" type="Control" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -60.0
offset_top = -40.0
offset_right = 60.0
offset_bottom = 40.0
grow_horizontal = 2
grow_vertical = 2

[node name="ColorRect" type="ColorRect" parent="DirectMenu"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -60.0
offset_top = -40.0
offset_right = 60.0
offset_bottom = 40.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.117647, 0.117647, 0.117647, 1)

[node name="IP" type="TextEdit" parent="DirectMenu"]
layout_mode = 2
offset_left = 3.0
offset_top = 10.0
offset_right = 63.0
offset_bottom = 35.0
pivot_offset = Vector2(1, 0)
theme_override_colors/background_color = Color(0.231373, 0.231373, 0.231373, 1)
theme_override_colors/font_selected_color = Color(0, 0, 0, 1)
theme_override_font_sizes/font_size = 9
text = "127.0.0.1"
placeholder_text = "IP Address"

[node name="Port" type="TextEdit" parent="DirectMenu"]
layout_mode = 2
offset_left = 66.0
offset_top = 10.0
offset_right = 116.0
offset_bottom = 35.0
theme_override_colors/background_color = Color(0.231373, 0.231373, 0.231373, 1)
theme_override_font_sizes/font_size = 9
text = "2390"
placeholder_text = "Port
"

[node name="Connect" type="Button" parent="DirectMenu"]
layout_mode = 2
offset_left = 10.0
offset_top = 40.0
offset_right = 110.0
offset_bottom = 71.0
pivot_offset = Vector2(88, 24)
text = "Connect"
script = ExtResource("1_nhpm2")

[node name="SettingsMenu" type="Control" parent="."]
visible = false
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -100.0
offset_top = -50.0
offset_right = 100.0
offset_bottom = 50.0
grow_horizontal = 2
grow_vertical = 2

[node name="ColorRect2" type="ColorRect" parent="SettingsMenu"]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -100.0
offset_top = -50.0
offset_right = 100.0
offset_bottom = 50.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0.117647, 0.117647, 0.117647, 1)

[node name="Nickname" type="TextEdit" parent="SettingsMenu"]
layout_mode = 0
offset_left = 3.0
offset_top = 58.0
offset_right = 153.0
offset_bottom = 98.0
placeholder_text = "Unnamed"

[node name="Label" type="Label" parent="SettingsMenu"]
layout_mode = 0
offset_left = 24.0
offset_top = 17.0
offset_right = 181.0
offset_bottom = 40.0
text = "Set player nickname"

[node name="Set" type="Button" parent="SettingsMenu"]
layout_mode = 0
offset_left = 154.0
offset_top = 57.0
offset_right = 199.0
offset_bottom = 97.0
text = "Set"
script = ExtResource("2_5xejq")

[node name="Panel" type="Panel" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -50.0
offset_top = -151.0
offset_right = 50.0
offset_bottom = -51.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxTexture_cwx4a")
