148 lines
3.9 KiB
Plaintext
148 lines
3.9 KiB
Plaintext
[gd_scene load_steps=9 format=2]
|
|
|
|
[ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1]
|
|
[ext_resource path="res://scripts/menus/lobby.gd" type="Script" id=2]
|
|
[ext_resource path="res://scenes/menus/BaseMenu.tscn" type="PackedScene" id=3]
|
|
[ext_resource path="res://assets/icons/checkmark.png" type="Texture" id=4]
|
|
[ext_resource path="res://assets/icons/question.png" type="Texture" id=5]
|
|
[ext_resource path="res://scenes/menus/SettingsPlayerMenu.tscn" type="PackedScene" id=6]
|
|
[ext_resource path="res://assets/fonts/Kenney Future Narrow.ttf" type="DynamicFontData" id=7]
|
|
|
|
[sub_resource type="DynamicFont" id=1]
|
|
size = 100
|
|
font_data = ExtResource( 7 )
|
|
|
|
[node name="lobby_menu" 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" parent="." instance=ExtResource( 3 )]
|
|
|
|
[node name="back" parent="menu" index="0"]
|
|
focus_neighbour_right = NodePath("../ready")
|
|
|
|
[node name="top_bar" type="GridContainer" parent="menu"]
|
|
margin_left = 14.0
|
|
margin_top = 12.0
|
|
margin_right = 940.0
|
|
margin_bottom = 52.0
|
|
columns = 2
|
|
|
|
[node name="server_name" type="Label" parent="menu/top_bar"]
|
|
margin_right = 779.0
|
|
margin_bottom = 40.0
|
|
mouse_filter = 1
|
|
size_flags_horizontal = 3
|
|
size_flags_vertical = 1
|
|
text = "Server"
|
|
valign = 1
|
|
|
|
[node name="server_bots" type="CheckButton" parent="menu/top_bar"]
|
|
margin_left = 783.0
|
|
margin_right = 926.0
|
|
margin_bottom = 40.0
|
|
disabled = true
|
|
text = "Bots"
|
|
align = 2
|
|
|
|
[node name="mid" type="GridContainer" parent="menu"]
|
|
margin_left = 12.0
|
|
margin_top = 57.0
|
|
margin_right = 936.0
|
|
margin_bottom = 397.0
|
|
columns = 3
|
|
|
|
[node name="players" type="ItemList" parent="menu/mid"]
|
|
margin_right = 456.0
|
|
margin_bottom = 340.0
|
|
size_flags_horizontal = 3
|
|
|
|
[node name="ready_icon" type="Button" parent="menu/mid/players"]
|
|
visible = false
|
|
margin_right = 62.0
|
|
margin_bottom = 56.0
|
|
icon = ExtResource( 4 )
|
|
|
|
[node name="not_ready_icon" type="Button" parent="menu/mid/players"]
|
|
visible = false
|
|
margin_right = 62.0
|
|
margin_bottom = 56.0
|
|
icon = ExtResource( 5 )
|
|
|
|
[node name="VSeparator" type="VSeparator" parent="menu/mid"]
|
|
margin_left = 460.0
|
|
margin_right = 464.0
|
|
margin_bottom = 340.0
|
|
|
|
[node name="player_settings" parent="menu/mid" instance=ExtResource( 6 )]
|
|
margin_left = 468.0
|
|
margin_top = 0.0
|
|
margin_right = 924.0
|
|
margin_bottom = 340.0
|
|
|
|
[node name="name_label" parent="menu/mid/player_settings/GridContainer" index="0"]
|
|
margin_right = 456.0
|
|
margin_bottom = 27.0
|
|
|
|
[node name="name" parent="menu/mid/player_settings/GridContainer" index="1"]
|
|
margin_top = 31.0
|
|
margin_right = 456.0
|
|
margin_bottom = 68.0
|
|
focus_neighbour_bottom = NodePath("../color")
|
|
|
|
[node name="color_label" parent="menu/mid/player_settings/GridContainer" index="2"]
|
|
margin_top = 72.0
|
|
margin_right = 456.0
|
|
margin_bottom = 99.0
|
|
|
|
[node name="color" parent="menu/mid/player_settings/GridContainer" index="3"]
|
|
margin_top = 103.0
|
|
margin_right = 456.0
|
|
margin_bottom = 136.0
|
|
focus_neighbour_top = NodePath("../name")
|
|
focus_neighbour_bottom = NodePath("../../../../ready")
|
|
|
|
[node name="ready" type="CheckButton" parent="menu"]
|
|
anchor_left = 1.0
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
margin_left = -166.0
|
|
margin_top = -58.0
|
|
grow_vertical = 0
|
|
focus_neighbour_left = NodePath("../back")
|
|
focus_neighbour_top = NodePath("../mid/player_settings/GridContainer/color")
|
|
text = "READY"
|
|
flat = true
|
|
|
|
[node name="countdown" type="Label" parent="."]
|
|
visible = false
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
margin_left = -94.0
|
|
margin_top = -56.5
|
|
margin_right = 94.0
|
|
margin_bottom = 56.5
|
|
custom_fonts/font = SubResource( 1 )
|
|
text = "3"
|
|
align = 1
|
|
valign = 1
|
|
|
|
[node name="countdown_timer" type="Timer" parent="."]
|
|
process_mode = 0
|
|
wait_time = 3.0
|
|
one_shot = true
|
|
[connection signal="toggled" from="menu/ready" to="." method="_on_ready_toggled"]
|
|
|
|
[editable path="menu"]
|
|
|
|
[editable path="menu/mid/player_settings"]
|