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.
94 lines
2.5 KiB
94 lines
2.5 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/menu/lobby.gd" type="Script" id=2]
|
|
[ext_resource path="res://resources/ui/font.tres" type="DynamicFont" id=3]
|
|
[ext_resource path="res://assets/icons/return.png" type="Texture" id=4]
|
|
[ext_resource path="res://scripts/menu/player_settings.gd" type="Script" id=5]
|
|
|
|
[node name="lobby" type="Control"]
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = 0.857376
|
|
margin_top = 0.857422
|
|
margin_right = 0.857422
|
|
margin_bottom = 0.857422
|
|
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 = -446.428
|
|
margin_top = -236.0
|
|
margin_right = 446.572
|
|
margin_bottom = 235.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="players" type="ItemList" parent="menu"]
|
|
margin_left = 13.0
|
|
margin_top = 19.0
|
|
margin_right = 500.0
|
|
margin_bottom = 414.0
|
|
|
|
[node name="ready" type="CheckButton" parent="menu"]
|
|
margin_left = 723.0
|
|
margin_top = 412.0
|
|
margin_right = 889.0
|
|
margin_bottom = 470.0
|
|
text = "Ready"
|
|
flat = true
|
|
|
|
[node name="back" type="Button" parent="menu"]
|
|
margin_left = 10.0
|
|
margin_top = 413.0
|
|
margin_right = 142.0
|
|
margin_bottom = 469.0
|
|
custom_fonts/font = ExtResource( 3 )
|
|
text = "Back"
|
|
icon = ExtResource( 4 )
|
|
flat = true
|
|
|
|
[node name="settings" type="Control" parent="menu"]
|
|
margin_left = 513.0
|
|
margin_top = 23.0
|
|
margin_right = 878.0
|
|
margin_bottom = 240.0
|
|
script = ExtResource( 5 )
|
|
|
|
[node name="name_label" type="Label" parent="menu/settings"]
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
margin_top = -95.5
|
|
margin_bottom = -68.5
|
|
text = "Name"
|
|
|
|
[node name="name" type="LineEdit" parent="menu/settings"]
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
margin_top = -51.5
|
|
margin_bottom = -14.5
|
|
|
|
[node name="color_label" type="Label" parent="menu/settings"]
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
margin_top = 1.5
|
|
margin_bottom = 28.5
|
|
text = "Color"
|
|
|
|
[node name="color" type="ColorPickerButton" parent="menu/settings"]
|
|
anchor_top = 0.5
|
|
anchor_right = 1.0
|
|
anchor_bottom = 0.5
|
|
margin_top = 46.5
|
|
margin_bottom = 79.5
|
|
[connection signal="pressed" from="menu/ready" to="." method="_on_ready_pressed"]
|
|
[connection signal="pressed" from="menu/back" to="." method="_on_back_pressed"]
|
|
[connection signal="text_changed" from="menu/settings/name" to="." method="_on_name_text_changed"]
|
|
[connection signal="color_changed" from="menu/settings/color" to="." method="_on_color_color_changed"]
|