summaryrefslogtreecommitdiff
path: root/Network/Lobby.tscn
diff options
context:
space:
mode:
Diffstat (limited to 'Network/Lobby.tscn')
-rw-r--r--Network/Lobby.tscn176
1 files changed, 84 insertions, 92 deletions
diff --git a/Network/Lobby.tscn b/Network/Lobby.tscn
index d019cc0..f0b2622 100644
--- a/Network/Lobby.tscn
+++ b/Network/Lobby.tscn
@@ -1,141 +1,133 @@
-[gd_scene load_steps=3 format=2]
+[gd_scene load_steps=3 format=3 uid="uid://c72pr86s5ai6k"]
-[ext_resource path="res://Network/Lobby.gd" type="Script" id=1]
-[ext_resource path="res://UI/Menu/MenuButton.tscn" type="PackedScene" id=2]
+[ext_resource type="Script" path="res://Network/Lobby.gd" id="1"]
+[ext_resource type="PackedScene" uid="uid://b0fuyoa5jbxn0" path="res://UI/Menu/MenuButton.tscn" id="2"]
[node name="Lobby" type="Control"]
+layout_mode = 3
+anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
-script = ExtResource( 1 )
-__meta__ = {
-"_edit_use_anchors_": false
-}
+grow_horizontal = 2
+grow_vertical = 2
+script = ExtResource("1")
[node name="Connect" type="Panel" parent="."]
-margin_left = 424.0
-margin_top = 232.0
-margin_right = 600.0
-margin_bottom = 376.0
-__meta__ = {
-"_edit_use_anchors_": false
-}
+layout_mode = 0
+offset_left = 424.0
+offset_top = 232.0
+offset_right = 600.0
+offset_bottom = 376.0
[node name="Name" type="LineEdit" parent="Connect"]
-margin_left = 8.0
-margin_top = 8.0
-margin_right = 168.0
-margin_bottom = 32.0
+layout_mode = 0
+offset_left = 8.0
+offset_top = 8.0
+offset_right = 168.0
+offset_bottom = 32.0
placeholder_text = "Name"
-__meta__ = {
-"_edit_use_anchors_": false
-}
[node name="IP" type="LineEdit" parent="Connect"]
-margin_left = 8.0
-margin_top = 40.0
-margin_right = 168.0
-margin_bottom = 64.0
+layout_mode = 0
+offset_left = 8.0
+offset_top = 40.0
+offset_right = 168.0
+offset_bottom = 64.0
placeholder_text = "IP"
[node name="Host" type="Button" parent="Connect"]
-margin_left = 8.0
-margin_top = 112.0
-margin_right = 64.0
-margin_bottom = 136.0
+layout_mode = 0
+offset_left = 8.0
+offset_top = 112.0
+offset_right = 64.0
+offset_bottom = 136.0
text = "Host"
[node name="Join" type="Button" parent="Connect"]
-margin_left = 112.0
-margin_top = 112.0
-margin_right = 168.0
-margin_bottom = 136.0
+layout_mode = 0
+offset_left = 112.0
+offset_top = 112.0
+offset_right = 168.0
+offset_bottom = 136.0
text = "Join"
[node name="Error" type="Label" parent="Connect"]
-margin_left = 8.0
-margin_top = 72.0
-margin_right = 168.0
-margin_bottom = 104.0
-custom_colors/font_color = Color( 1, 0.137255, 0.137255, 1 )
+layout_mode = 0
+offset_left = 8.0
+offset_top = 72.0
+offset_right = 168.0
+offset_bottom = 104.0
+theme_override_colors/font_color = Color(1, 0.137255, 0.137255, 1)
[node name="Players" type="Panel" parent="."]
visible = false
-margin_left = 384.0
-margin_top = 48.0
-margin_right = 640.0
-margin_bottom = 512.0
-__meta__ = {
-"_edit_use_anchors_": false
-}
+layout_mode = 0
+offset_left = 384.0
+offset_top = 48.0
+offset_right = 640.0
+offset_bottom = 512.0
[node name="Label" type="Label" parent="Players"]
-margin_left = 16.0
-margin_top = 16.0
-margin_right = 64.0
-margin_bottom = 32.0
+layout_mode = 0
+offset_left = 16.0
+offset_top = 16.0
+offset_right = 64.0
+offset_bottom = 32.0
text = "Lobby"
-__meta__ = {
-"_edit_use_anchors_": false
-}
[node name="LocalIP" type="Label" parent="Players"]
-margin_left = 128.0
-margin_top = 24.0
-margin_right = 240.0
-margin_bottom = 38.0
+layout_mode = 0
+offset_left = 128.0
+offset_top = 24.0
+offset_right = 240.0
+offset_bottom = 38.0
text = "000.000.000.000"
-align = 2
-__meta__ = {
-"_edit_use_anchors_": false
-}
[node name="RemoteIP" type="Label" parent="Players"]
-margin_left = 128.0
-margin_top = 8.0
-margin_right = 240.0
-margin_bottom = 22.0
+layout_mode = 0
+offset_left = 128.0
+offset_top = 8.0
+offset_right = 240.0
+offset_bottom = 22.0
text = "000.000.000.000"
-align = 2
-__meta__ = {
-"_edit_use_anchors_": false
-}
[node name="List" type="ItemList" parent="Players"]
-margin_left = 16.0
-margin_top = 48.0
-margin_right = 240.0
-margin_bottom = 400.0
-__meta__ = {
-"_edit_use_anchors_": false
-}
+layout_mode = 0
+offset_left = 16.0
+offset_top = 48.0
+offset_right = 240.0
+offset_bottom = 400.0
[node name="Start" type="Button" parent="Players"]
-margin_left = 64.0
-margin_top = 416.0
-margin_right = 192.0
-margin_bottom = 448.0
+layout_mode = 0
+offset_left = 64.0
+offset_top = 416.0
+offset_right = 192.0
+offset_bottom = 448.0
text = "START!"
-__meta__ = {
-"_edit_use_anchors_": false
-}
[node name="Back" type="Button" parent="Players"]
-margin_left = 16.0
-margin_top = 416.0
-margin_right = 48.0
-margin_bottom = 448.0
+layout_mode = 0
+offset_left = 16.0
+offset_top = 416.0
+offset_right = 48.0
+offset_bottom = 448.0
text = "<"
[node name="ErrorDialog" type="AcceptDialog" parent="."]
-visible = true
-margin_right = 83.0
-margin_bottom = 58.0
-[node name="MenuButton" parent="." instance=ExtResource( 2 )]
-margin_left = 976.0
-margin_right = 0.0
+[node name="MenuButton" parent="." instance=ExtResource("2")]
+layout_mode = 0
+anchors_preset = 0
+anchor_right = 0.0
+anchor_bottom = 0.0
+offset_left = 1.0
+offset_top = 1.0
+offset_right = 54.0
+offset_bottom = 32.0
[node name="HTTPRequest" type="HTTPRequest" parent="."]
+
[connection signal="pressed" from="Connect/Host" to="." method="_on_Host_pressed"]
[connection signal="pressed" from="Connect/Join" to="." method="_on_Join_pressed"]
[connection signal="pressed" from="Players/Start" to="." method="_on_Start_pressed"]