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.

95 lines
2.6 KiB

  1. [gd_scene load_steps=6 format=2]
  2. [ext_resource path="res://resources/ui/theme.tres" type="Theme" id=1]
  3. [ext_resource path="res://scripts/menus/direct_host.gd" type="Script" id=2]
  4. [ext_resource path="res://resources/ui/font.tres" type="DynamicFont" id=3]
  5. [ext_resource path="res://assets/icons/exitRight.png" type="Texture" id=4]
  6. [ext_resource path="res://assets/icons/return.png" type="Texture" id=5]
  7. [node name="direct_host_menu" type="Control"]
  8. anchor_left = 0.5
  9. anchor_top = 0.5
  10. anchor_right = 0.5
  11. anchor_bottom = 0.5
  12. margin_left = -512.0
  13. margin_top = -300.0
  14. margin_right = 512.0
  15. margin_bottom = 300.0
  16. theme = ExtResource( 1 )
  17. script = ExtResource( 2 )
  18. [node name="menu" type="Panel" parent="."]
  19. anchor_left = 0.5
  20. anchor_top = 0.5
  21. anchor_right = 0.5
  22. anchor_bottom = 0.5
  23. margin_left = -217.5
  24. margin_top = -53.5
  25. margin_right = 217.5
  26. margin_bottom = 53.5
  27. grow_horizontal = 2
  28. grow_vertical = 2
  29. [node name="GridContainer" type="GridContainer" parent="menu"]
  30. margin_left = 16.0
  31. margin_top = 12.0
  32. margin_right = 429.0
  33. margin_bottom = 52.0
  34. columns = 3
  35. [node name="port_label" type="Label" parent="menu/GridContainer"]
  36. margin_top = 6.0
  37. margin_right = 65.0
  38. margin_bottom = 33.0
  39. text = "PORT"
  40. [node name="port" type="SpinBox" parent="menu/GridContainer"]
  41. margin_left = 69.0
  42. margin_right = 266.0
  43. margin_bottom = 40.0
  44. focus_neighbour_right = NodePath("../bots")
  45. focus_neighbour_bottom = NodePath("../../back")
  46. size_flags_horizontal = 3
  47. max_value = 65535.0
  48. value = 8128.0
  49. align = 2
  50. [node name="bots" type="CheckButton" parent="menu/GridContainer"]
  51. margin_left = 270.0
  52. margin_right = 413.0
  53. margin_bottom = 40.0
  54. focus_neighbour_left = NodePath("../port")
  55. focus_neighbour_bottom = NodePath("../../host")
  56. text = "BOTS"
  57. [node name="host" type="Button" parent="menu"]
  58. anchor_left = 1.0
  59. anchor_top = 1.0
  60. anchor_right = 1.0
  61. anchor_bottom = 1.0
  62. margin_left = -143.0
  63. margin_top = -56.0001
  64. grow_horizontal = 0
  65. grow_vertical = 0
  66. rect_pivot_offset = Vector2( 1.89856, 0.845154 )
  67. focus_neighbour_left = NodePath("../back")
  68. focus_neighbour_top = NodePath("../GridContainer/bots")
  69. custom_fonts/font = ExtResource( 3 )
  70. text = "HOST"
  71. icon = ExtResource( 4 )
  72. flat = true
  73. [node name="back" type="Button" parent="menu"]
  74. anchor_top = 1.0
  75. anchor_bottom = 1.0
  76. margin_top = -56.0
  77. margin_right = 132.0
  78. rect_pivot_offset = Vector2( 0.606262, -0.447205 )
  79. focus_neighbour_top = NodePath("../GridContainer/port")
  80. focus_neighbour_right = NodePath("../host")
  81. custom_fonts/font = ExtResource( 3 )
  82. text = "BACK"
  83. icon = ExtResource( 5 )
  84. flat = true
  85. [connection signal="pressed" from="menu/host" to="." method="_on_host_pressed"]
  86. [connection signal="pressed" from="menu/back" to="." method="_on_back_pressed"]