diff --git a/hero.png b/hero.png new file mode 100644 index 0000000..0b84755 Binary files /dev/null and b/hero.png differ diff --git a/hero.png.import b/hero.png.import new file mode 100644 index 0000000..f44057e --- /dev/null +++ b/hero.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://qxx2gxnsd3yg" +path="res://.godot/imported/hero.png-87aa9197b739ca3ad1031ac3d1b82853.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://hero.png" +dest_files=["res://.godot/imported/hero.png-87aa9197b739ca3ad1031ac3d1b82853.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 diff --git a/hero_progress_bar.tscn b/hero_progress_bar.tscn index 609fd2a..2459259 100644 --- a/hero_progress_bar.tscn +++ b/hero_progress_bar.tscn @@ -1,10 +1,11 @@ -[gd_scene load_steps=14 format=3 uid="uid://cm8jwfg6rnnor"] +[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://bldpiytpdrge6" path="res://icon.svg" id="6_48un6"] +[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") @@ -44,7 +45,7 @@ region = Rect2(32, 0, 32, 32) filter_clip = true [node name="HeroProgressBar" type="TextureProgressBar"] -offset_right = 80.0 +offset_right = 213.0 offset_bottom = 14.0 nine_patch_stretch = true stretch_margin_left = 1 @@ -84,39 +85,81 @@ texture = SubResource("AtlasTexture_pg7md") [node name="TextureRect6" type="TextureRect" parent="."] layout_mode = 0 -offset_left = 24.0 +offset_left = 96.0 offset_top = -9.0 -offset_right = 56.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 = 24.0 +offset_left = 96.0 offset_top = -9.0 -offset_right = 56.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 = 80.0 +offset_left = 213.0 offset_top = -9.0 -offset_right = 112.0 +offset_right = 245.0 offset_bottom = 23.0 texture = SubResource("AtlasTexture_bnohr") [node name="TextureRect3" type="TextureRect" parent="."] layout_mode = 0 -offset_left = 80.0 +offset_left = 213.0 offset_top = -9.0 -offset_right = 112.0 +offset_right = 245.0 offset_bottom = 23.0 texture = SubResource("AtlasTexture_mmi8n") [node name="Icon" type="Sprite2D" parent="."] -position = Vector2(-5, -16) -scale = Vector2(0.25, 0.375) -texture = ExtResource("6_48un6") +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 diff --git a/speechbubble.png b/speechbubble.png new file mode 100644 index 0000000..9d7f70a Binary files /dev/null and b/speechbubble.png differ diff --git a/speechbubble.png.import b/speechbubble.png.import new file mode 100644 index 0000000..04a515a --- /dev/null +++ b/speechbubble.png.import @@ -0,0 +1,40 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dotwwulusn1b1" +path="res://.godot/imported/speechbubble.png-3f133d7c063d19feea9f05eb0824c489.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://speechbubble.png" +dest_files=["res://.godot/imported/speechbubble.png-3f133d7c063d19feea9f05eb0824c489.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/uastc_level=0 +compress/rdo_quality_loss=0.0 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/channel_remap/red=0 +process/channel_remap/green=1 +process/channel_remap/blue=2 +process/channel_remap/alpha=3 +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1