This repository has been archived on 2025-01-05. You can view files and clone it, but cannot push or open issues or pull requests.
2020-05-09 12:45:05 +02:00

60 lines
1.4 KiB
Plaintext

[gd_scene load_steps=2 format=2]
[ext_resource path="res://Scenes/Matchmaking/Menu/Menu.gd" type="Script" id=1]
[node name="Menu" type="Node"]
script = ExtResource( 1 )
[node name="GUI" type="Control" parent="."]
anchor_right = 1.0
anchor_bottom = 1.0
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Start_button" type="Button" parent="GUI"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -134.5
margin_top = 91.7361
margin_right = 134.5
margin_bottom = 162.736
disabled = true
text = "Connect to Server"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="Exit_button" type="Button" parent="GUI"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -134.5
margin_top = 193.832
margin_right = 134.5
margin_bottom = 264.832
text = "Exit"
__meta__ = {
"_edit_use_anchors_": false
}
[node name="LineEdit" type="LineEdit" parent="GUI"]
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
margin_left = -300.0
margin_top = -15.0
margin_right = 300.0
margin_bottom = 15.0
placeholder_text = "Playername..."
__meta__ = {
"_edit_use_anchors_": false
}
[connection signal="pressed" from="GUI/Start_button" to="." method="_on_Button_pressed"]
[connection signal="pressed" from="GUI/Exit_button" to="." method="_on_Exit_button_pressed"]
[connection signal="text_changed" from="GUI/LineEdit" to="." method="_on_LineEdit_text_changed"]