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.

147 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.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="GridContainer" parent="menu"]
  25. margin_left = 14.0
  26. margin_top = 12.0
  27. margin_right = 940.0
  28. margin_bottom = 52.0
  29. columns = 2
  30. [node name="server_name" type="Label" parent="menu/top_bar"]
  31. margin_right = 779.0
  32. margin_bottom = 40.0
  33. mouse_filter = 1
  34. size_flags_horizontal = 3
  35. size_flags_vertical = 1
  36. text = "Server"
  37. valign = 1
  38. [node name="server_bots" type="CheckButton" parent="menu/top_bar"]
  39. margin_left = 783.0
  40. margin_right = 926.0
  41. margin_bottom = 40.0
  42. disabled = true
  43. text = "Bots"
  44. align = 2
  45. [node name="mid" type="GridContainer" parent="menu"]
  46. margin_left = 12.0
  47. margin_top = 57.0
  48. margin_right = 936.0
  49. margin_bottom = 397.0
  50. columns = 3
  51. [node name="players" type="ItemList" parent="menu/mid"]
  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. margin_left = 468.0
  71. margin_top = 0.0
  72. margin_right = 924.0
  73. margin_bottom = 340.0
  74. [node name="name_label" parent="menu/mid/player_settings/GridContainer" index="0"]
  75. margin_right = 456.0
  76. margin_bottom = 27.0
  77. [node name="name" parent="menu/mid/player_settings/GridContainer" index="1"]
  78. margin_top = 31.0
  79. margin_right = 456.0
  80. margin_bottom = 68.0
  81. focus_neighbour_bottom = NodePath("../color")
  82. [node name="color_label" parent="menu/mid/player_settings/GridContainer" index="2"]
  83. margin_top = 72.0
  84. margin_right = 456.0
  85. margin_bottom = 99.0
  86. [node name="color" parent="menu/mid/player_settings/GridContainer" index="3"]
  87. margin_top = 103.0
  88. margin_right = 456.0
  89. margin_bottom = 136.0
  90. focus_neighbour_top = NodePath("../name")
  91. focus_neighbour_bottom = NodePath("../../../../ready")
  92. [node name="ready" type="CheckButton" parent="menu"]
  93. anchor_left = 1.0
  94. anchor_top = 1.0
  95. anchor_right = 1.0
  96. anchor_bottom = 1.0
  97. margin_left = -166.0
  98. margin_top = -58.0
  99. grow_vertical = 0
  100. focus_neighbour_left = NodePath("../back")
  101. focus_neighbour_top = NodePath("../mid/player_settings/GridContainer/color")
  102. text = "READY"
  103. flat = true
  104. [node name="countdown" type="Label" parent="."]
  105. visible = false
  106. anchor_left = 0.5
  107. anchor_top = 0.5
  108. anchor_right = 0.5
  109. anchor_bottom = 0.5
  110. margin_left = -94.0
  111. margin_top = -56.5
  112. margin_right = 94.0
  113. margin_bottom = 56.5
  114. custom_fonts/font = SubResource( 1 )
  115. text = "3"
  116. align = 1
  117. valign = 1
  118. [node name="countdown_timer" type="Timer" parent="."]
  119. process_mode = 0
  120. wait_time = 3.0
  121. one_shot = true
  122. [connection signal="toggled" from="menu/ready" to="." method="_on_ready_toggled"]
  123. [editable path="menu"]
  124. [editable path="menu/mid/player_settings"]