Loading.tscn 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. [gd_scene load_steps=3 format=3 uid="uid://ds4k8qrgo3ko3"]
  2. [ext_resource type="Script" uid="uid://102q2sf4ehue" path="res://sources/gui/Loading.gd" id="1_b1dqa"]
  3. [ext_resource type="Texture2D" uid="uid://crvywfmr7gc3e" path="res://data/graphics/gui/misc/loading.png" id="2_t0ltk"]
  4. [node name="Loading" type="Control"]
  5. layout_mode = 3
  6. anchors_preset = 8
  7. anchor_left = 0.5
  8. anchor_top = 0.5
  9. anchor_right = 0.5
  10. anchor_bottom = 0.5
  11. offset_left = -95.5
  12. offset_top = -46.0
  13. offset_right = 95.5
  14. offset_bottom = 149.0
  15. grow_horizontal = 2
  16. grow_vertical = 2
  17. script = ExtResource("1_b1dqa")
  18. [node name="Progress" type="TextureProgressBar" parent="."]
  19. z_index = -1
  20. layout_mode = 1
  21. anchors_preset = 8
  22. anchor_left = 0.5
  23. anchor_top = 0.5
  24. anchor_right = 0.5
  25. anchor_bottom = 0.5
  26. offset_left = -77.5
  27. offset_top = -77.5
  28. offset_right = 77.5
  29. offset_bottom = 77.5
  30. grow_horizontal = 2
  31. grow_vertical = 2
  32. size_flags_horizontal = 4
  33. value = 50.0
  34. fill_mode = 4
  35. radial_fill_degrees = 60.0
  36. texture_progress = ExtResource("2_t0ltk")
  37. [node name="Label" type="Label" parent="."]
  38. layout_mode = 1
  39. anchors_preset = 8
  40. anchor_left = 0.5
  41. anchor_top = 0.5
  42. anchor_right = 0.5
  43. anchor_bottom = 0.5
  44. offset_left = -95.5
  45. offset_top = -18.0
  46. offset_right = 95.5
  47. offset_bottom = 18.0
  48. grow_horizontal = 2
  49. grow_vertical = 2
  50. theme_type_variation = &"NotificationBox"
  51. text = "Loading..."
  52. [connection signal="visibility_changed" from="." to="." method="_on_visibility_changed"]