From 293e317e13c3c95104b18f2dd57ffda3e19d98ab Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Wed, 17 Feb 2021 13:18:56 +0100 Subject: Adds Remote IP in Lobby --- Network/Lobby.tscn | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'Network/Lobby.tscn') diff --git a/Network/Lobby.tscn b/Network/Lobby.tscn index cbe5be9..d019cc0 100644 --- a/Network/Lobby.tscn +++ b/Network/Lobby.tscn @@ -78,11 +78,22 @@ __meta__ = { "_edit_use_anchors_": false } -[node name="IP" type="Label" parent="Players"] +[node name="LocalIP" type="Label" parent="Players"] margin_left = 128.0 -margin_top = 16.0 +margin_top = 24.0 margin_right = 240.0 -margin_bottom = 30.0 +margin_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 text = "000.000.000.000" align = 2 __meta__ = { @@ -123,6 +134,8 @@ margin_bottom = 58.0 [node name="MenuButton" parent="." instance=ExtResource( 2 )] margin_left = 976.0 margin_right = 0.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"] -- cgit v1.2.3