RomResourceGenerator.tscn 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. [gd_scene load_steps=4 format=3 uid="uid://n8logm5jpkgm"]
  2. [ext_resource type="Script" uid="uid://bwlrdsclxd15j" path="res://Scripts/UI/RomResourceGenerator.gd" id="1_qfw87"]
  3. [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_qfw87"]
  4. bg_color = Color(0.12156863, 0.12156863, 0.12156863, 1)
  5. [sub_resource type="StyleBoxFlat" id="StyleBoxFlat_4ff7p"]
  6. bg_color = Color(1, 1, 1, 1)
  7. [node name="RomResourceGenerator" type="Node"]
  8. script = ExtResource("1_qfw87")
  9. [node name="BG" type="ColorRect" parent="."]
  10. anchors_preset = 15
  11. anchor_right = 1.0
  12. anchor_bottom = 1.0
  13. grow_horizontal = 2
  14. grow_vertical = 2
  15. color = Color(0, 0, 0, 1)
  16. [node name="MarginContainer" type="MarginContainer" parent="."]
  17. anchors_preset = 15
  18. anchor_right = 1.0
  19. anchor_bottom = 1.0
  20. grow_horizontal = 2
  21. grow_vertical = 2
  22. theme_override_constants/margin_left = 32
  23. theme_override_constants/margin_right = 32
  24. [node name="ProgressBar" type="ProgressBar" parent="MarginContainer"]
  25. unique_name_in_owner = true
  26. layout_mode = 2
  27. size_flags_vertical = 4
  28. theme_override_styles/background = SubResource("StyleBoxFlat_qfw87")
  29. theme_override_styles/fill = SubResource("StyleBoxFlat_4ff7p")
  30. show_percentage = false
  31. [node name="Label" type="Label" parent="MarginContainer/ProgressBar"]
  32. layout_mode = 1
  33. anchors_preset = 12
  34. anchor_top = 1.0
  35. anchor_right = 1.0
  36. anchor_bottom = 1.0
  37. offset_top = -16.0
  38. grow_horizontal = 2
  39. grow_vertical = 0
  40. text = "EXTRACTING ASSETS..."
  41. horizontal_alignment = 1
  42. [node name="Error" type="Label" parent="MarginContainer"]
  43. unique_name_in_owner = true
  44. visible = false
  45. layout_mode = 2
  46. text = "ERROR
  47. MISSING SPRITE JSON(S)"
  48. horizontal_alignment = 1
  49. [node name="ColorRect" type="ColorRect" parent="MarginContainer/Error"]
  50. show_behind_parent = true
  51. layout_mode = 1
  52. anchors_preset = 15
  53. anchor_right = 1.0
  54. anchor_bottom = 1.0
  55. grow_horizontal = 2
  56. grow_vertical = 2
  57. color = Color(0.25552174, 2.5118234e-07, 6.016344e-08, 1)