Added art for hero progress and started ninepatch speech bubbles.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user