133 lines
3.6 KiB
Plaintext
133 lines
3.6 KiB
Plaintext
[gd_scene load_steps=5 format=2]
|
|
|
|
[ext_resource path="res://menues/Main Menue.gd" type="Script" id=1]
|
|
[ext_resource path="res://font/Anton-Regular.ttf" type="DynamicFontData" id=2]
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
size = 80
|
|
font_data = ExtResource( 2 )
|
|
|
|
[sub_resource type="DynamicFont" id=2]
|
|
size = 80
|
|
font_data = ExtResource( 2 )
|
|
|
|
[node name="Main Menue" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 1.0
|
|
margin_top = -1.0
|
|
margin_right = 1.0
|
|
margin_bottom = 2.0
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="."]
|
|
margin_left = -0.000244141
|
|
margin_top = -2.96259
|
|
margin_right = 1919.0
|
|
margin_bottom = 1021.04
|
|
alignment = 1
|
|
|
|
[node name="Label" type="Label" parent="VBoxContainer"]
|
|
margin_top = 203.0
|
|
margin_right = 1919.0
|
|
margin_bottom = 322.0
|
|
custom_fonts/font = SubResource( 1 )
|
|
text = "Menue"
|
|
align = 1
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer"]
|
|
margin_top = 326.0
|
|
margin_right = 1919.0
|
|
margin_bottom = 445.0
|
|
alignment = 1
|
|
|
|
[node name="label_Name" type="Label" parent="VBoxContainer/HBoxContainer"]
|
|
margin_left = 618.0
|
|
margin_right = 797.0
|
|
margin_bottom = 119.0
|
|
custom_fonts/font = SubResource( 1 )
|
|
text = "Name"
|
|
valign = 1
|
|
|
|
[node name="Input_Name" type="LineEdit" parent="VBoxContainer/HBoxContainer"]
|
|
margin_left = 801.0
|
|
margin_right = 1301.0
|
|
margin_bottom = 119.0
|
|
rect_min_size = Vector2( 500, 0 )
|
|
text = "judas"
|
|
align = 2
|
|
max_length = 16
|
|
|
|
[node name="HBoxContainer3" type="HBoxContainer" parent="VBoxContainer"]
|
|
margin_top = 449.0
|
|
margin_right = 1919.0
|
|
margin_bottom = 568.0
|
|
alignment = 1
|
|
|
|
[node name="label_PW" type="Label" parent="VBoxContainer/HBoxContainer3"]
|
|
margin_left = 549.0
|
|
margin_right = 866.0
|
|
margin_bottom = 119.0
|
|
custom_fonts/font = SubResource( 1 )
|
|
text = "Password"
|
|
valign = 1
|
|
|
|
[node name="Input_PW" type="LineEdit" parent="VBoxContainer/HBoxContainer3"]
|
|
margin_left = 870.0
|
|
margin_right = 1370.0
|
|
margin_bottom = 119.0
|
|
rect_min_size = Vector2( 500, 0 )
|
|
text = "pw"
|
|
align = 2
|
|
max_length = 16
|
|
secret = true
|
|
|
|
[node name="HBoxContainer4" type="HBoxContainer" parent="VBoxContainer"]
|
|
margin_top = 572.0
|
|
margin_right = 1919.0
|
|
margin_bottom = 691.0
|
|
alignment = 1
|
|
|
|
[node name="Label2" type="Label" parent="VBoxContainer/HBoxContainer4"]
|
|
margin_left = 679.0
|
|
margin_right = 735.0
|
|
margin_bottom = 119.0
|
|
custom_fonts/font = SubResource( 1 )
|
|
text = "IP"
|
|
valign = 1
|
|
|
|
[node name="Input_IP" type="LineEdit" parent="VBoxContainer/HBoxContainer4"]
|
|
margin_left = 739.0
|
|
margin_right = 1239.0
|
|
margin_bottom = 119.0
|
|
rect_min_size = Vector2( 500, 0 )
|
|
align = 2
|
|
max_length = 16
|
|
|
|
[node name="HBoxContainer2" type="HBoxContainer" parent="VBoxContainer"]
|
|
margin_top = 695.0
|
|
margin_right = 1919.0
|
|
margin_bottom = 820.0
|
|
alignment = 1
|
|
|
|
[node name="Host" type="Button" parent="VBoxContainer/HBoxContainer2"]
|
|
margin_left = 628.0
|
|
margin_right = 1010.0
|
|
margin_bottom = 125.0
|
|
custom_fonts/font = SubResource( 2 )
|
|
action_mode = 0
|
|
text = " Host "
|
|
|
|
[node name="Join2" type="Button" parent="VBoxContainer/HBoxContainer2"]
|
|
margin_left = 1014.0
|
|
margin_right = 1291.0
|
|
margin_bottom = 125.0
|
|
custom_fonts/font = SubResource( 2 )
|
|
text = "Register"
|
|
|
|
[connection signal="text_changed" from="VBoxContainer/HBoxContainer/Input_Name" to="." method="_on_Input_Name_text_changed"]
|
|
[connection signal="text_changed" from="VBoxContainer/HBoxContainer3/Input_PW" to="." method="_on_Input_PW_text_changed"]
|
|
[connection signal="text_changed" from="VBoxContainer/HBoxContainer4/Input_IP" to="." method="_on_Input_IP_text_changed"]
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/Host" to="." method="_on_Host_pressed"]
|
|
[connection signal="pressed" from="VBoxContainer/HBoxContainer2/Join2" to="." method="_on_register_pressed"]
|