project_teddy/scenes/hostmenu.tscn
2023-02-22 21:31:22 -07:00

131 lines
3 KiB
Text

[gd_scene load_steps=4 format=3 uid="uid://cv5bctupikqe7"]
[ext_resource type="Script" path="res://scripts/host.gd" id="1_r5rkm"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_8vwth"]
bg_color = Color(0.2, 0.2, 0.2, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_xhmtq"]
[node name="hostmenu" 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_r5rkm")
[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 = -272.0
offset_top = -156.0
offset_right = 268.0
offset_bottom = 134.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_8vwth")
[node name="close" type="Button" parent="."]
layout_mode = 0
offset_left = 311.0
offset_top = 174.0
offset_right = 342.0
offset_bottom = 205.0
text = "X"
[node name="Panel2" type="Panel" parent="."]
layout_mode = 0
offset_left = 355.0
offset_top = 215.0
offset_right = 555.0
offset_bottom = 415.0
theme_override_styles/panel = SubResource("StyleBoxFlat_xhmtq")
[node name="Label" type="Label" parent="."]
layout_mode = 0
offset_left = 395.0
offset_top = 295.0
offset_right = 511.0
offset_bottom = 321.0
text = "IMAGE OF MAP"
[node name="mapLabel" type="Label" parent="."]
layout_mode = 0
offset_left = 658.0
offset_top = 218.0
offset_right = 782.0
offset_bottom = 244.0
text = "MAP SELECTION"
[node name="playground" type="Button" parent="."]
layout_mode = 0
offset_left = 646.0
offset_top = 248.0
offset_right = 797.0
offset_bottom = 283.0
text = "Toyland"
[node name="portBox" type="LineEdit" parent="."]
layout_mode = 0
offset_left = 675.0
offset_top = 412.0
offset_right = 742.062
offset_bottom = 443.0
placeholder_text = "Port"
[node name="startButton" type="Button" parent="."]
layout_mode = 0
offset_left = 751.0
offset_top = 411.0
offset_right = 833.0
offset_bottom = 443.0
text = "START"
[node name="lowerMapLabel" type="Label" parent="."]
layout_mode = 0
offset_left = 359.0
offset_top = 423.0
offset_right = 402.0
offset_bottom = 449.0
text = "Map: "
[node name="mapSelected" type="Label" parent="."]
layout_mode = 0
offset_left = 406.0
offset_top = 425.0
offset_right = 446.0
offset_bottom = 448.0
[node name="playerBox" type="LineEdit" parent="."]
layout_mode = 0
offset_left = 674.0
offset_top = 377.0
offset_right = 741.062
offset_bottom = 408.0
placeholder_text = "Players"
[node name="maxPlayersLabel" type="Label" parent="."]
layout_mode = 0
offset_left = 564.0
offset_top = 381.0
offset_right = 662.0
offset_bottom = 407.0
text = "Max Players:"
[node name="portLabel" type="Label" parent="."]
layout_mode = 0
offset_left = 623.0
offset_top = 416.0
offset_right = 663.0
offset_bottom = 442.0
text = "Port:"
[connection signal="pressed" from="close" to="." method="_on_close_pressed"]
[connection signal="pressed" from="playground" to="." method="_on_playground_pressed"]
[connection signal="pressed" from="startButton" to="." method="_on_start_button_pressed"]