Files
pomchronicles/hero_progress_bar.tscn

166 lines
4.9 KiB
Plaintext

[gd_scene load_steps=15 format=3 uid="uid://cm8jwfg6rnnor"]
[ext_resource type="Texture2D" uid="uid://vt3yvxm2ho7o" path="res://progress-fill.png" id="2_61u8r"]
[ext_resource type="Texture2D" uid="uid://b88n81qde4p3n" path="res://progress-bar.png" id="3_7p536"]
[ext_resource type="Texture2D" uid="uid://c6ptvokr5npl7" path="res://progress-marks.png" id="4_6vk2f"]
[ext_resource type="Texture2D" uid="uid://bcrg5ea4niu0e" path="res://progress-dot-fill.png" id="5_dxgqf"]
[ext_resource type="Texture2D" uid="uid://qxx2gxnsd3yg" path="res://hero.png" id="5_jas03"]
[ext_resource type="Texture2D" uid="uid://dotwwulusn1b1" path="res://speechbubble.png" id="6_61u8r"]
[sub_resource type="AtlasTexture" id="AtlasTexture_8wucn"]
atlas = ExtResource("4_6vk2f")
region = Rect2(0, 32, 32, 32)
filter_clip = true
[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_mf4ya"]
load_path = "res://.godot/imported/progress-dot-fill.png-a1e94128dc6c2f11bfa15c335ef05892.ctex"
[sub_resource type="AtlasTexture" id="AtlasTexture_eu8pt"]
resource_local_to_scene = true
atlas = SubResource("CompressedTexture2D_mf4ya")
region = Rect2(0, 32, 32, 32)
filter_clip = true
[sub_resource type="AtlasTexture" id="AtlasTexture_pg7md"]
atlas = ExtResource("4_6vk2f")
region = Rect2(32, 32, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_nyilg"]
atlas = ExtResource("4_6vk2f")
region = Rect2(32, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_g6crn"]
atlas = ExtResource("5_dxgqf")
region = Rect2(0, 0, 32, 32)
[sub_resource type="AtlasTexture" id="AtlasTexture_bnohr"]
resource_local_to_scene = true
atlas = SubResource("CompressedTexture2D_mf4ya")
region = Rect2(32, 0, 32, 32)
filter_clip = true
[sub_resource type="AtlasTexture" id="AtlasTexture_mmi8n"]
atlas = ExtResource("4_6vk2f")
region = Rect2(32, 0, 32, 32)
filter_clip = true
[node name="HeroProgressBar" type="TextureProgressBar"]
offset_right = 213.0
offset_bottom = 14.0
nine_patch_stretch = true
stretch_margin_left = 1
stretch_margin_top = 2
stretch_margin_right = 1
stretch_margin_bottom = 2
texture_under = ExtResource("2_61u8r")
texture_over = ExtResource("3_7p536")
texture_progress = ExtResource("2_61u8r")
tint_under = Color(0, 0, 0, 1)
tint_progress = Color(1, 1, 0, 1)
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 0
offset_left = -21.0
offset_top = -9.0
offset_right = 11.0
offset_bottom = 23.0
texture = SubResource("AtlasTexture_8wucn")
[node name="TextureRect4" type="TextureRect" parent="."]
self_modulate = Color(0, 0, 0, 1)
layout_mode = 0
offset_left = -21.0
offset_top = -9.0
offset_right = 11.0
offset_bottom = 23.0
texture = SubResource("AtlasTexture_eu8pt")
[node name="TextureRect8" type="TextureRect" parent="."]
layout_mode = 0
offset_left = -21.0
offset_top = -9.0
offset_right = 11.0
offset_bottom = 23.0
texture = SubResource("AtlasTexture_pg7md")
[node name="TextureRect6" type="TextureRect" parent="."]
layout_mode = 0
offset_left = 96.0
offset_top = -9.0
offset_right = 128.0
offset_bottom = 23.0
texture = SubResource("AtlasTexture_nyilg")
[node name="TextureRect7" type="TextureRect" parent="."]
modulate = Color(0, 0, 0, 1)
layout_mode = 0
offset_left = 96.0
offset_top = -9.0
offset_right = 128.0
offset_bottom = 23.0
texture = SubResource("AtlasTexture_g6crn")
[node name="TextureRect5" type="TextureRect" parent="."]
self_modulate = Color(0, 0, 0, 1)
layout_mode = 0
offset_left = 213.0
offset_top = -9.0
offset_right = 245.0
offset_bottom = 23.0
texture = SubResource("AtlasTexture_bnohr")
[node name="TextureRect3" type="TextureRect" parent="."]
layout_mode = 0
offset_left = 213.0
offset_top = -9.0
offset_right = 245.0
offset_bottom = 23.0
texture = SubResource("AtlasTexture_mmi8n")
[node name="Icon" type="Sprite2D" parent="."]
position = Vector2(-5, -12)
texture = ExtResource("5_jas03")
[node name="NinePatchRect" type="NinePatchRect" parent="."]
layout_mode = 0
offset_left = -5.0
offset_top = -44.0
offset_right = 69.0
offset_bottom = -24.0
size_flags_horizontal = 3
size_flags_vertical = 3
texture = ExtResource("6_61u8r")
patch_margin_left = 13
patch_margin_top = 5
patch_margin_right = 6
patch_margin_bottom = 10
[node name="MarginContainer" type="MarginContainer" parent="NinePatchRect"]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 5.0
offset_top = -22.0
offset_right = 81.0
offset_bottom = -2.0
grow_vertical = 0
theme_override_constants/margin_left = 0
theme_override_constants/margin_top = 0
theme_override_constants/margin_right = 0
theme_override_constants/margin_bottom = 0
[node name="Label" type="Label" parent="NinePatchRect/MarginContainer"]
layout_mode = 2
theme_override_colors/font_color = Color(0, 0, 0, 1)
theme_override_constants/line_spacing = -4
theme_override_font_sizes/font_size = 8
text = "I killed a dragon!"
autowrap_mode = 2
[node name="Container" type="Container" parent="."]
layout_mode = 0
offset_top = -32.0
offset_right = 75.0
offset_bottom = 40.0