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.

69 lines
2.1 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/ingame_menu.gd" type="Script" id=2]
  4. [ext_resource path="res://assets/icons/open.png" type="Texture" id=3]
  5. [ext_resource path="res://assets/icons/wrench.png" type="Texture" id=4]
  6. [ext_resource path="res://assets/icons/arrowLeft.png" type="Texture" id=5]
  7. [node name="ingame_menu" type="Control"]
  8. anchor_right = 1.0
  9. anchor_bottom = 1.0
  10. margin_left = -0.857361
  11. margin_right = -0.857361
  12. theme = ExtResource( 1 )
  13. script = ExtResource( 2 )
  14. [node name="menu" type="Panel" parent="."]
  15. anchor_left = 0.5
  16. anchor_top = 0.5
  17. anchor_right = 0.5
  18. anchor_bottom = 0.5
  19. margin_left = -155.0
  20. margin_top = -100.5
  21. margin_right = 155.0
  22. margin_bottom = 100.5
  23. grow_horizontal = 2
  24. grow_vertical = 2
  25. [node name="VBoxContainer" type="VBoxContainer" parent="menu"]
  26. anchor_right = 1.0
  27. anchor_bottom = 1.0
  28. [node name="resume" type="Button" parent="menu/VBoxContainer"]
  29. margin_right = 310.0
  30. margin_bottom = 64.0
  31. focus_neighbour_top = NodePath("../end")
  32. focus_neighbour_bottom = NodePath("../settings")
  33. size_flags_horizontal = 3
  34. size_flags_vertical = 3
  35. text = "RESUME"
  36. icon = ExtResource( 3 )
  37. flat = true
  38. [node name="settings" type="Button" parent="menu/VBoxContainer"]
  39. margin_top = 68.0
  40. margin_right = 310.0
  41. margin_bottom = 132.0
  42. focus_neighbour_top = NodePath("../resume")
  43. focus_neighbour_bottom = NodePath("../end")
  44. size_flags_horizontal = 3
  45. size_flags_vertical = 3
  46. text = "SETTINGS"
  47. icon = ExtResource( 4 )
  48. flat = true
  49. [node name="end" type="Button" parent="menu/VBoxContainer"]
  50. margin_top = 136.0
  51. margin_right = 310.0
  52. margin_bottom = 201.0
  53. focus_neighbour_top = NodePath("../settings")
  54. focus_neighbour_bottom = NodePath("../resume")
  55. size_flags_horizontal = 3
  56. size_flags_vertical = 3
  57. text = "END_GAME"
  58. icon = ExtResource( 5 )
  59. flat = true
  60. [connection signal="pressed" from="menu/VBoxContainer/resume" to="." method="_on_resume_pressed"]
  61. [connection signal="pressed" from="menu/VBoxContainer/settings" to="." method="_on_settings_pressed"]
  62. [connection signal="pressed" from="menu/VBoxContainer/end" to="." method="_on_end_pressed"]