online multiplayer chess game (note server currently down)
Diffstat (limited to 'ui/menus/Lobby.tscn')
-rw-r--r--ui/menus/Lobby.tscn41
1 files changed, 32 insertions, 9 deletions
diff --git a/ui/menus/Lobby.tscn b/ui/menus/Lobby.tscn
index ac07cfa..5e81983 100644
--- a/ui/menus/Lobby.tscn
+++ b/ui/menus/Lobby.tscn
@@ -1,7 +1,9 @@
-[gd_scene load_steps=3 format=2]
+[gd_scene load_steps=5 format=2]
[ext_resource path="res://ui/theme/main.tres" type="Theme" id=1]
[ext_resource path="res://ui/menus/Lobby.gd" type="Script" id=2]
+[ext_resource path="res://ui/menus/Disclaimer.gd" type="Script" id=3]
+[ext_resource path="res://ui/verdana-bold-small.tres" type="DynamicFont" id=4]
[node name="Lobby" type="CenterContainer"]
anchor_right = 1.0
@@ -50,23 +52,23 @@ margin_right = 350.0
margin_bottom = 227.0
[node name="JoinButton" type="Button" parent="Center/HBox/VBox/buttons"]
-margin_right = 150.0
+margin_right = 167.0
margin_bottom = 106.0
rect_min_size = Vector2( 150, 0 )
hint_tooltip = "join the game"
focus_mode = 0
-size_flags_horizontal = 4
+size_flags_horizontal = 7
disabled = true
enabled_focus_mode = 0
text = "join"
[node name="HostButton" type="Button" parent="Center/HBox/VBox/buttons"]
-margin_left = 165.0
+margin_left = 182.0
margin_right = 350.0
margin_bottom = 106.0
hint_tooltip = "host the game"
focus_mode = 0
-size_flags_horizontal = 3
+size_flags_horizontal = 7
disabled = true
enabled_focus_mode = 0
text = "host"
@@ -74,19 +76,40 @@ text = "host"
[node name="StatusOK" type="Label" parent="Center/HBox/VBox"]
visible = false
margin_top = 242.0
-margin_right = 500.0
+margin_right = 350.0
margin_bottom = 292.0
custom_colors/font_color = Color( 1, 1, 1, 1 )
autowrap = true
[node name="StatusFail" type="Label" parent="Center/HBox/VBox"]
visible = false
-margin_top = 307.0
-margin_right = 500.0
-margin_bottom = 357.0
+margin_top = 242.0
+margin_right = 350.0
+margin_bottom = 292.0
custom_colors/font_color = Color( 0.698039, 0.415686, 0.415686, 1 )
autowrap = true
+[node name="Disclaimer" type="Label" parent="Center/HBox/VBox"]
+visible = false
+margin_top = 242.0
+margin_right = 350.0
+margin_bottom = 342.0
+rect_min_size = Vector2( 0, 100 )
+custom_colors/font_color = Color( 1, 1, 1, 1 )
+custom_fonts/font = ExtResource( 4 )
+text = " Currently logged out.
+ Upon disconnect, you
+ will be unable to rejoin. "
+valign = 1
+script = ExtResource( 3 )
+
+[node name="ColorRect" type="ColorRect" parent="Center/HBox/VBox/Disclaimer"]
+show_behind_parent = true
+anchor_right = 1.0
+anchor_bottom = 1.0
+margin_right = -46.0
+color = Color( 0.588235, 0.560784, 0.309804, 1 )
+
[connection signal="pressed" from="Center/HBox/VBox/stophost" to="." method="_on_stophost_pressed"]
[connection signal="text_entered" from="Center/HBox/VBox/Address" to="." method="_on_Address_text_entered"]
[connection signal="pressed" from="Center/HBox/VBox/buttons/JoinButton" to="." method="_on_join_pressed"]