Public repository for MUR pre alpha
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

107 lines
2.8 KiB

[gd_scene load_steps=6 format=2]
[ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1]
[ext_resource path="res://scripts/menus/direct_join_menu.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_menu" 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 = -73.5
margin_right = 217.5
margin_bottom = 73.5
grow_horizontal = 2
grow_vertical = 2
[node name="GridContainer" type="GridContainer" parent="menu"]
margin_left = 18.0
margin_top = 11.0
margin_right = 425.0
margin_bottom = 89.0
columns = 2
[node name="ip_label" type="Label" parent="menu/GridContainer"]
margin_right = 65.0
margin_bottom = 37.0
size_flags_vertical = 1
text = "IP"
valign = 1
[node name="ip" type="LineEdit" parent="menu/GridContainer"]
margin_left = 69.0
margin_right = 407.0
margin_bottom = 37.0
focus_neighbour_bottom = NodePath("../port")
size_flags_horizontal = 3
text = "127.0.0.1"
caret_blink = true
caret_blink_speed = 0.5
[node name="port_label" type="Label" parent="menu/GridContainer"]
margin_top = 41.0
margin_right = 65.0
margin_bottom = 78.0
size_flags_vertical = 1
text = "PORT"
valign = 1
[node name="port" type="SpinBox" parent="menu/GridContainer"]
margin_left = 69.0
margin_top = 41.0
margin_right = 407.0
margin_bottom = 78.0
focus_neighbour_top = NodePath("../ip")
focus_neighbour_bottom = NodePath("../../join")
focus_mode = 2
max_value = 65535.0
value = 8128.0
align = 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
grow_horizontal = 0
grow_vertical = 0
rect_pivot_offset = Vector2( 1.89856, 0.845154 )
focus_neighbour_left = NodePath("../back")
focus_neighbour_top = NodePath("../GridContainer/port")
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 )
focus_neighbour_top = NodePath("../GridContainer/port")
focus_neighbour_right = NodePath("../join")
custom_fonts/font = ExtResource( 3 )
text = "BACK"
icon = ExtResource( 5 )
flat = true
[connection signal="pressed" from="menu/join" to="." method="_on_join_pressed"]
[connection signal="pressed" from="menu/back" to="." method="_on_back_pressed"]