Newer
Older
DungeonShooting / DungeonShooting_Godot / prefab / ui / Settlement.tscn
  1. [gd_scene load_steps=3 format=3 uid="uid://c8rugox2mbl3v"]
  2.  
  3. [ext_resource type="Script" path="res://src/game/ui/settlement/SettlementPanel.cs" id="1_ayhkb"]
  4. [ext_resource type="Theme" uid="uid://drb1ajgvcih7p" path="res://resource/theme/theme1.tres" id="2_63mpy"]
  5.  
  6. [node name="Settlement" 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_ayhkb")
  14.  
  15. [node name="Bg" 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, 0, 0, 0.27451)
  23.  
  24. [node name="Title" type="Label" parent="."]
  25. layout_mode = 1
  26. anchors_preset = 10
  27. anchor_right = 1.0
  28. offset_top = 268.0
  29. offset_bottom = 311.0
  30. grow_horizontal = 2
  31. theme_override_font_sizes/font_size = 160
  32. text = "Game Over!"
  33. horizontal_alignment = 1
  34. vertical_alignment = 1
  35.  
  36. [node name="ButtonList" type="VBoxContainer" parent="."]
  37. layout_mode = 1
  38. anchors_preset = 7
  39. anchor_left = 0.5
  40. anchor_top = 1.0
  41. anchor_right = 0.5
  42. anchor_bottom = 1.0
  43. offset_left = -96.0
  44. offset_top = -641.0
  45. offset_right = 96.0
  46. grow_horizontal = 2
  47. grow_vertical = 0
  48. alignment = 1
  49.  
  50. [node name="Restart" type="Button" parent="ButtonList"]
  51. custom_minimum_size = Vector2(0, 50)
  52. layout_mode = 2
  53. focus_neighbor_top = NodePath("../ToMenu")
  54. theme = ExtResource("2_63mpy")
  55. text = "重新开始
  56. "
  57.  
  58. [node name="ToMenu" type="Button" parent="ButtonList"]
  59. custom_minimum_size = Vector2(0, 50)
  60. layout_mode = 2
  61. focus_neighbor_bottom = NodePath("../Restart")
  62. theme = ExtResource("2_63mpy")
  63. text = "回到主菜单"