[gd_scene load_steps=6 format=2] [ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1] [ext_resource path="res://scripts/menu/direct_join.gd" type="Script" id=2] [ext_resource path="res://resources/ui/font.tres" type="DynamicFont" id=3] [ext_resource path="res://assets/icons/exitRight.png" type="Texture" id=4] [ext_resource path="res://assets/icons/return.png" type="Texture" id=5] [node name="direct_join" type="Control"] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -512.0 margin_top = -300.0 margin_right = 512.0 margin_bottom = 300.0 theme = ExtResource( 1 ) script = ExtResource( 2 ) [node name="menu" type="Panel" parent="."] anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 margin_left = -217.5 margin_top = -89.5 margin_right = 217.5 margin_bottom = 89.5 grow_horizontal = 2 grow_vertical = 2 [node name="join" type="Button" parent="menu"] anchor_left = 1.0 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 margin_left = -143.0 margin_top = -56.0 rect_pivot_offset = Vector2( 1.89856, 0.845154 ) custom_fonts/font = ExtResource( 3 ) text = "Join" icon = ExtResource( 4 ) flat = true [node name="back" type="Button" parent="menu"] anchor_top = 1.0 anchor_bottom = 1.0 margin_top = -56.0 margin_right = 132.001 rect_pivot_offset = Vector2( 0.606262, -0.447205 ) custom_fonts/font = ExtResource( 3 ) text = "Back" icon = ExtResource( 5 ) flat = true [node name="ip_label" type="Label" parent="menu"] margin_left = 29.8937 margin_top = 31.5762 margin_right = 94.8937 margin_bottom = 58.5762 text = "Ip" [node name="ip" type="LineEdit" parent="menu"] margin_left = 140.0 margin_top = 22.0 margin_right = 422.0 margin_bottom = 60.0 text = "127.0.0.1" [node name="port_label" type="Label" parent="menu"] margin_left = 25.9189 margin_top = 88.3152 margin_right = 90.9189 margin_bottom = 115.315 text = "Port" [node name="port" type="LineEdit" parent="menu"] margin_left = 139.136 margin_top = 80.3719 margin_right = 247.136 margin_bottom = 117.372 text = "8128" max_length = 5 [node name="error" type="Label" parent="menu"] anchor_top = 0.5 anchor_right = 1.0 anchor_bottom = 0.5 margin_left = -1.0 margin_top = 11.0 margin_right = -1.0 margin_bottom = 60.0 custom_colors/font_color = Color( 1, 0, 0.117647, 1 ) align = 1 valign = 1 [node name="error_dialog" type="AcceptDialog" parent="."] margin_right = 138.0 margin_bottom = 84.0 [connection signal="pressed" from="menu/join" to="." method="_on_join_pressed"] [connection signal="pressed" from="menu/back" to="." method="_on_back_pressed"]