Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / Main.tscn
  1. [gd_scene load_steps=3 format=3 uid="uid://cd7hl6b2mn5c8"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/ui/main/MainPanel.cs" id="1_s44xr"]
  4. [ext_resource type="Theme" uid="uid://drb1ajgvcih7p" path="res://resource/theme/theme1.tres" id="2_bbd6i"]
  5.  
  6. [node name="Main" type="Control"]
  7. layout_mode = 3
  8. anchors_preset = 15
  9. anchor_right = 1.0
  10. anchor_bottom = 1.0
  11. grow_horizontal = 2
  12. grow_vertical = 2
  13. script = ExtResource("1_s44xr")
  14.  
  15. [node name="ColorRect" type="ColorRect" parent="."]
  16. layout_mode = 1
  17. anchors_preset = 15
  18. anchor_right = 1.0
  19. anchor_bottom = 1.0
  20. grow_horizontal = 2
  21. grow_vertical = 2
  22. color = Color(0.109804, 0.0666667, 0.0901961, 1)
  23.  
  24. [node name="VBoxContainer" type="VBoxContainer" parent="."]
  25. layout_mode = 1
  26. anchors_preset = 15
  27. anchor_right = 1.0
  28. anchor_bottom = 1.0
  29. grow_horizontal = 2
  30. grow_vertical = 2
  31.  
  32. [node name="Title" type="Label" parent="VBoxContainer"]
  33. layout_mode = 2
  34. size_flags_vertical = 6
  35. theme_override_font_sizes/font_size = 160
  36. text = "Dungeon Shooting"
  37. horizontal_alignment = 1
  38. vertical_alignment = 1
  39.  
  40. [node name="ButtonList" type="VBoxContainer" parent="VBoxContainer"]
  41. layout_mode = 2
  42. size_flags_vertical = 3
  43. alignment = 1
  44.  
  45. [node name="Start" type="Button" parent="VBoxContainer/ButtonList"]
  46. custom_minimum_size = Vector2(0, 50)
  47. layout_mode = 2
  48. theme = ExtResource("2_bbd6i")
  49. theme_override_font_sizes/font_size = 32
  50. text = "开始游戏"
  51.  
  52. [node name="Tools" type="Button" parent="VBoxContainer/ButtonList"]
  53. custom_minimum_size = Vector2(0, 50)
  54. layout_mode = 2
  55. theme = ExtResource("2_bbd6i")
  56. theme_override_font_sizes/font_size = 32
  57. text = "地图编辑器"
  58.  
  59. [node name="Setting" type="Button" parent="VBoxContainer/ButtonList"]
  60. custom_minimum_size = Vector2(0, 50)
  61. layout_mode = 2
  62. theme = ExtResource("2_bbd6i")
  63. theme_override_font_sizes/font_size = 32
  64. text = "设置"
  65.  
  66. [node name="Exit" type="Button" parent="VBoxContainer/ButtonList"]
  67. custom_minimum_size = Vector2(0, 50)
  68. layout_mode = 2
  69. theme = ExtResource("2_bbd6i")
  70. text = "退出"
  71.  
  72. [node name="Version" type="Label" parent="."]
  73. layout_mode = 1
  74. anchors_preset = 3
  75. anchor_left = 1.0
  76. anchor_top = 1.0
  77. anchor_right = 1.0
  78. anchor_bottom = 1.0
  79. offset_left = -195.0
  80. offset_top = -53.0
  81. offset_right = -10.0
  82. offset_bottom = -1.0
  83. grow_horizontal = 0
  84. grow_vertical = 0
  85. text = "v0.01"
  86. horizontal_alignment = 2
  87.  
  88. [node name="LinkButton" type="LinkButton" parent="."]
  89. layout_mode = 1
  90. anchors_preset = 2
  91. anchor_top = 1.0
  92. anchor_bottom = 1.0
  93. offset_left = 23.0
  94. offset_top = -100.0
  95. offset_right = 1943.0
  96. offset_bottom = -68.0
  97. grow_vertical = 0
  98. text = "b站:小李xlxl"
  99. uri = "https://space.bilibili.com/259437820"
  100.  
  101. [node name="LinkButton2" type="LinkButton" parent="."]
  102. layout_mode = 1
  103. anchors_preset = 2
  104. anchor_top = 1.0
  105. anchor_bottom = 1.0
  106. offset_left = 23.0
  107. offset_top = -55.0
  108. offset_right = 1943.0
  109. offset_bottom = -23.0
  110. grow_vertical = 0
  111. text = "GitHub源码"
  112. uri = "https://github.com/xlljc/DungeonShooting"