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.

149 lines
3.9 KiB

  1. [gd_scene load_steps=9 format=2]
  2. [ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1]
  3. [ext_resource path="res://scripts/menus/lobby_menu.gd" type="Script" id=2]
  4. [ext_resource path="res://scenes/menus/BaseMenu.tscn" type="PackedScene" id=3]
  5. [ext_resource path="res://assets/icons/checkmark.png" type="Texture" id=4]
  6. [ext_resource path="res://assets/icons/question.png" type="Texture" id=5]
  7. [ext_resource path="res://scenes/menus/SettingsPlayerMenu.tscn" type="PackedScene" id=6]
  8. [ext_resource path="res://assets/fonts/Kenney Future Narrow.ttf" type="DynamicFontData" id=7]
  9. [sub_resource type="DynamicFont" id=1]
  10. size = 100
  11. font_data = ExtResource( 7 )
  12. [node name="lobby_menu" type="Control"]
  13. anchor_right = 1.0
  14. anchor_bottom = 1.0
  15. margin_left = 0.857376
  16. margin_top = 0.857422
  17. margin_right = 0.857422
  18. margin_bottom = 0.857422
  19. theme = ExtResource( 1 )
  20. script = ExtResource( 2 )
  21. [node name="menu" parent="." instance=ExtResource( 3 )]
  22. [node name="back" parent="menu" index="0"]
  23. focus_neighbour_right = NodePath("../ready")
  24. [node name="top_bar" type="HBoxContainer" parent="menu"]
  25. margin_left = 14.0
  26. margin_top = 12.0
  27. margin_right = 940.0
  28. margin_bottom = 52.0
  29. [node name="server_name" type="Label" parent="menu/top_bar"]
  30. margin_right = 779.0
  31. margin_bottom = 40.0
  32. mouse_filter = 1
  33. size_flags_horizontal = 3
  34. size_flags_vertical = 1
  35. text = "Server"
  36. valign = 1
  37. [node name="server_bots" type="CheckButton" parent="menu/top_bar"]
  38. margin_left = 783.0
  39. margin_right = 926.0
  40. margin_bottom = 40.0
  41. disabled = true
  42. text = "Bots"
  43. align = 2
  44. [node name="mid" type="GridContainer" parent="menu"]
  45. margin_left = 12.0
  46. margin_top = 57.0
  47. margin_right = 936.0
  48. margin_bottom = 397.0
  49. columns = 3
  50. [node name="players" type="ItemList" parent="menu/mid"]
  51. editor/display_folded = true
  52. margin_right = 456.0
  53. margin_bottom = 340.0
  54. size_flags_horizontal = 3
  55. [node name="ready_icon" type="Button" parent="menu/mid/players"]
  56. visible = false
  57. margin_right = 62.0
  58. margin_bottom = 56.0
  59. icon = ExtResource( 4 )
  60. [node name="not_ready_icon" type="Button" parent="menu/mid/players"]
  61. visible = false
  62. margin_right = 62.0
  63. margin_bottom = 56.0
  64. icon = ExtResource( 5 )
  65. [node name="VSeparator" type="VSeparator" parent="menu/mid"]
  66. margin_left = 460.0
  67. margin_right = 464.0
  68. margin_bottom = 340.0
  69. [node name="player_settings" parent="menu/mid" instance=ExtResource( 6 )]
  70. editor/display_folded = true
  71. margin_left = 468.0
  72. margin_top = 0.0
  73. margin_right = 924.0
  74. margin_bottom = 340.0
  75. [node name="name_label" parent="menu/mid/player_settings/GridContainer" index="0"]
  76. margin_right = 456.0
  77. margin_bottom = 27.0
  78. [node name="name" parent="menu/mid/player_settings/GridContainer" index="1"]
  79. margin_top = 31.0
  80. margin_right = 456.0
  81. margin_bottom = 68.0
  82. focus_neighbour_bottom = NodePath("../color")
  83. [node name="color_label" parent="menu/mid/player_settings/GridContainer" index="2"]
  84. margin_top = 72.0
  85. margin_right = 456.0
  86. margin_bottom = 99.0
  87. [node name="color" parent="menu/mid/player_settings/GridContainer" index="3"]
  88. margin_top = 103.0
  89. margin_right = 456.0
  90. margin_bottom = 136.0
  91. focus_neighbour_top = NodePath("../name")
  92. focus_neighbour_bottom = NodePath("../../../../ready")
  93. [node name="ready" type="CheckButton" parent="menu"]
  94. anchor_left = 1.0
  95. anchor_top = 1.0
  96. anchor_right = 1.0
  97. anchor_bottom = 1.0
  98. margin_left = -166.0
  99. margin_top = -58.0
  100. grow_vertical = 0
  101. focus_neighbour_left = NodePath("../back")
  102. focus_neighbour_top = NodePath("../mid/player_settings/GridContainer/color")
  103. text = "READY"
  104. flat = true
  105. [node name="countdown" type="Label" parent="."]
  106. visible = false
  107. anchor_left = 0.5
  108. anchor_top = 0.5
  109. anchor_right = 0.5
  110. anchor_bottom = 0.5
  111. margin_left = -94.0
  112. margin_top = -56.5
  113. margin_right = 94.0
  114. margin_bottom = 56.5
  115. custom_fonts/font = SubResource( 1 )
  116. text = "3"
  117. align = 1
  118. valign = 1
  119. [node name="countdown_timer" type="Timer" parent="."]
  120. process_mode = 0
  121. wait_time = 3.0
  122. one_shot = true
  123. [connection signal="toggled" from="menu/ready" to="." method="_on_ready_toggled"]
  124. [editable path="menu"]
  125. [editable path="menu/mid/player_settings"]