mirror of
https://github.com/RPG-Research/bcirpg.git
synced 2024-04-16 14:23:01 +00:00
90 lines
2.6 KiB
Plaintext
90 lines
2.6 KiB
Plaintext
[gd_scene load_steps=3 format=2]
|
|
|
|
[ext_resource path="res://Lobby/Lobby.gd" type="Script" id=1]
|
|
[ext_resource path="res://Lobby/WatingRoom.tscn" type="PackedScene" id=2]
|
|
|
|
[node name="Lobby" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
script = ExtResource( 1 )
|
|
|
|
[node name="ColorRect" type="ColorRect" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
color = Color( 0.231373, 0.231373, 0.258824, 1 )
|
|
|
|
[node name="CenterContainer" type="CenterContainer" parent="."]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="CenterContainer"]
|
|
margin_left = 338.0
|
|
margin_top = 207.0
|
|
margin_right = 685.0
|
|
margin_bottom = 393.0
|
|
custom_constants/separation = 20
|
|
|
|
[node name="LobbyLabel" type="Label" parent="CenterContainer/VBoxContainer"]
|
|
margin_right = 347.0
|
|
margin_bottom = 14.0
|
|
text = "Lobby"
|
|
align = 1
|
|
|
|
[node name="GridContainer" type="GridContainer" parent="CenterContainer/VBoxContainer"]
|
|
margin_top = 34.0
|
|
margin_right = 347.0
|
|
margin_bottom = 146.0
|
|
custom_constants/vseparation = 20
|
|
custom_constants/hseparation = 20
|
|
columns = 2
|
|
|
|
[node name="NameLabel" type="Label" parent="CenterContainer/VBoxContainer/GridContainer"]
|
|
margin_top = 5.0
|
|
margin_right = 77.0
|
|
margin_bottom = 19.0
|
|
text = "Name:"
|
|
|
|
[node name="NameLineEdit" type="LineEdit" parent="CenterContainer/VBoxContainer/GridContainer"]
|
|
margin_left = 97.0
|
|
margin_right = 347.0
|
|
margin_bottom = 24.0
|
|
rect_min_size = Vector2( 250, 0 )
|
|
|
|
[node name="IPLabel" type="Label" parent="CenterContainer/VBoxContainer/GridContainer"]
|
|
margin_top = 49.0
|
|
margin_right = 77.0
|
|
margin_bottom = 63.0
|
|
text = "IP Address:"
|
|
|
|
[node name="IPLineEdit" type="LineEdit" parent="CenterContainer/VBoxContainer/GridContainer"]
|
|
margin_left = 97.0
|
|
margin_top = 44.0
|
|
margin_right = 347.0
|
|
margin_bottom = 68.0
|
|
rect_min_size = Vector2( 250, 0 )
|
|
|
|
[node name="PortLabel" type="Label" parent="CenterContainer/VBoxContainer/GridContainer"]
|
|
margin_top = 93.0
|
|
margin_right = 77.0
|
|
margin_bottom = 107.0
|
|
text = "Port:"
|
|
|
|
[node name="PortLineEdit" type="LineEdit" parent="CenterContainer/VBoxContainer/GridContainer"]
|
|
margin_left = 97.0
|
|
margin_top = 88.0
|
|
margin_right = 347.0
|
|
margin_bottom = 112.0
|
|
rect_min_size = Vector2( 250, 0 )
|
|
|
|
[node name="JoinButton" type="Button" parent="CenterContainer/VBoxContainer"]
|
|
margin_top = 166.0
|
|
margin_right = 347.0
|
|
margin_bottom = 186.0
|
|
text = "Join Session"
|
|
|
|
[node name="WaitingRoom" parent="." instance=ExtResource( 2 )]
|
|
visible = false
|
|
|
|
[connection signal="text_changed" from="CenterContainer/VBoxContainer/GridContainer/NameLineEdit" to="." method="_on_NameLineEdit_text_changed"]
|
|
[connection signal="pressed" from="CenterContainer/VBoxContainer/JoinButton" to="." method="_on_JoinButton_pressed"]
|