grounders-slowjam-2024/menu/main_menu.tscn

52 lines
1.4 KiB
Plaintext
Raw Normal View History

2024-05-25 17:15:59 -06:00
[gd_scene load_steps=2 format=3 uid="uid://b4tgnq0dwf13"]
[ext_resource type="Script" path="res://menu/main_menu.gd" id="1_q1k1j"]
[node name="MainMenu" 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_q1k1j")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="CreateServer" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Start Server"
[node name="Label" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Server IP"
[node name="ConnectIP" type="TextEdit" parent="VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 61.195)
layout_mode = 2
text = "127.0.0.1"
[node name="Label2" type="Label" parent="VBoxContainer"]
layout_mode = 2
text = "Server Port"
[node name="ConnectPort" type="TextEdit" parent="VBoxContainer"]
unique_name_in_owner = true
custom_minimum_size = Vector2(0, 61.195)
layout_mode = 2
text = "3000"
[node name="ConnectToServer" type="Button" parent="VBoxContainer"]
layout_mode = 2
text = "Connect To Server"
[connection signal="pressed" from="VBoxContainer/CreateServer" to="." method="_on_create_server_pressed"]
[connection signal="pressed" from="VBoxContainer/ConnectToServer" to="." method="_on_connect_to_server_pressed"]