main_menu.tscn 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  1. [gd_scene load_steps=6 format=3 uid="uid://bhn22ugatic2y"]
  2. [ext_resource type="Theme" uid="uid://htiph5vt1b65" path="res://assets/theme.tres" id="1_hafsk"]
  3. [ext_resource type="Texture2D" uid="uid://crdr1r3gdxcaa" path="res://assets/background.png" id="2_u35jb"]
  4. [ext_resource type="Texture2D" uid="uid://bq8l7whcyrxki" path="res://assets/foreground.png" id="3_32qbq"]
  5. [ext_resource type="Script" path="res://scripts/play_button.gd" id="4_aleqr"]
  6. [ext_resource type="Script" path="res://scripts/quit_button.gd" id="5_min1e"]
  7. [node name="Control" type="Control"]
  8. layout_mode = 3
  9. anchors_preset = 15
  10. anchor_right = 1.0
  11. anchor_bottom = 1.0
  12. grow_horizontal = 2
  13. grow_vertical = 2
  14. theme = ExtResource("1_hafsk")
  15. [node name="Background" type="Sprite2D" parent="."]
  16. texture = ExtResource("2_u35jb")
  17. centered = false
  18. region_enabled = true
  19. region_rect = Rect2(0, 0, 1280, 720)
  20. [node name="Foreground" type="Sprite2D" parent="."]
  21. texture_repeat = 2
  22. position = Vector2(640, 664)
  23. texture = ExtResource("3_32qbq")
  24. region_enabled = true
  25. region_rect = Rect2(0, 0, 1280, 112)
  26. [node name="VBoxContainer" type="VBoxContainer" parent="."]
  27. layout_mode = 1
  28. anchors_preset = 8
  29. anchor_left = 0.5
  30. anchor_top = 0.5
  31. anchor_right = 0.5
  32. anchor_bottom = 0.5
  33. offset_left = -143.5
  34. offset_top = -74.0
  35. offset_right = 143.5
  36. offset_bottom = 74.0
  37. grow_horizontal = 2
  38. grow_vertical = 2
  39. [node name="play_button" type="Button" parent="VBoxContainer"]
  40. layout_mode = 2
  41. text = "play"
  42. script = ExtResource("4_aleqr")
  43. [node name="quit_button" type="Button" parent="VBoxContainer"]
  44. layout_mode = 2
  45. text = "quit"
  46. script = ExtResource("5_min1e")
  47. [node name="title_shadow" type="Label" parent="."]
  48. layout_mode = 1
  49. anchors_preset = 14
  50. anchor_top = 0.5
  51. anchor_right = 1.0
  52. anchor_bottom = 0.5
  53. offset_left = 6.0
  54. offset_top = -249.0
  55. offset_right = 6.0
  56. offset_bottom = -181.0
  57. grow_horizontal = 2
  58. grow_vertical = 2
  59. theme_override_colors/font_color = Color(0, 0, 0, 1)
  60. theme_override_font_sizes/font_size = 50
  61. text = "copyright infringment bird"
  62. horizontal_alignment = 1
  63. [node name="title" type="Label" parent="."]
  64. layout_mode = 1
  65. anchors_preset = 14
  66. anchor_top = 0.5
  67. anchor_right = 1.0
  68. anchor_bottom = 0.5
  69. offset_top = -255.0
  70. offset_bottom = -187.0
  71. grow_horizontal = 2
  72. grow_vertical = 2
  73. theme_override_font_sizes/font_size = 50
  74. text = "copyright infringment bird"
  75. horizontal_alignment = 1