info.tscn 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  1. [gd_scene load_steps=6 format=3 uid="uid://bypumcqt7j0iv"]
  2. [ext_resource type="FontFile" uid="uid://b2r8e5d6rc4pg" path="res://theme/fonts/montserrat_extra_bold.otf" id="1"]
  3. [sub_resource type="FontFile" id="1"]
  4. fallbacks = Array[Font]([ExtResource("1")])
  5. face_index = null
  6. embolden = null
  7. transform = null
  8. cache/0/16/0/ascent = 0.0
  9. cache/0/16/0/descent = 0.0
  10. cache/0/16/0/underline_position = 0.0
  11. cache/0/16/0/underline_thickness = 0.0
  12. cache/0/16/0/scale = 1.0
  13. cache/0/16/0/kerning_overrides/16/0 = Vector2(0, 0)
  14. [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_dsedd"]
  15. bg_color = Color(0.541176, 0.72549, 0.819608, 1)
  16. border_width_left = 5
  17. border_width_top = 5
  18. border_width_right = 5
  19. border_width_bottom = 5
  20. border_color = Color(0.4488, 0.602933, 0.68, 1)
  21. border_blend = true
  22. corner_radius_top_left = 16
  23. corner_radius_top_right = 16
  24. corner_radius_bottom_right = 16
  25. corner_radius_bottom_left = 16
  26. [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_s3yjq"]
  27. bg_color = Color(0.945098, 0.235294, 0.376471, 1)
  28. border_width_left = 5
  29. border_width_top = 5
  30. border_width_right = 5
  31. border_width_bottom = 5
  32. border_color = Color(0.8, 0.8, 0.8, 0)
  33. corner_radius_top_left = 16
  34. corner_radius_top_right = 16
  35. corner_radius_bottom_right = 16
  36. corner_radius_bottom_left = 16
  37. [sub_resource type="Theme" id="Theme_vywfd"]
  38. ProgressBar/styles/background = SubResource("StyleBoxFlat_dsedd")
  39. ProgressBar/styles/fill = SubResource("StyleBoxFlat_s3yjq")
  40. [node name="Info" type="PanelContainer"]
  41. offset_right = 400.0
  42. offset_bottom = 239.0
  43. scale = Vector2(0.907481, 1)
  44. size_flags_horizontal = 3
  45. size_flags_vertical = 3
  46. [node name="VBoxContainer" type="VBoxContainer" parent="."]
  47. custom_minimum_size = Vector2(0, 150)
  48. layout_mode = 2
  49. alignment = 1
  50. [node name="NameContainer" type="CenterContainer" parent="VBoxContainer"]
  51. layout_mode = 2
  52. size_flags_vertical = 3
  53. [node name="Name" type="Label" parent="VBoxContainer/NameContainer"]
  54. layout_mode = 2
  55. size_flags_horizontal = 3
  56. size_flags_vertical = 7
  57. theme_override_colors/font_color = Color(0.0745098, 0.27451, 0.368627, 1)
  58. theme_override_colors/font_shadow_color = Color(0.184314, 0.419608, 0.533333, 0.356863)
  59. theme_override_constants/shadow_offset_x = 1
  60. theme_override_constants/shadow_offset_y = 2
  61. theme_override_fonts/font = SubResource("1")
  62. text = "{NAME}"
  63. horizontal_alignment = 1
  64. vertical_alignment = 1
  65. uppercase = true
  66. [node name="HealthContainer" type="VBoxContainer" parent="VBoxContainer"]
  67. layout_mode = 2
  68. size_flags_vertical = 3
  69. [node name="Health" type="ProgressBar" parent="VBoxContainer/HealthContainer"]
  70. custom_minimum_size = Vector2(300, 50)
  71. layout_mode = 2
  72. size_flags_horizontal = 4
  73. size_flags_vertical = 2
  74. theme = SubResource("Theme_vywfd")
  75. max_value = 10.0
  76. step = 1.0
  77. value = 5.0
  78. rounded = true
  79. show_percentage = false