More work on portraits and on combat in quest views

This commit is contained in:
2025-10-02 15:42:16 -04:00
parent 00ef506689
commit aa9b0720d8
36 changed files with 236 additions and 90 deletions

View File

@@ -1,4 +1,4 @@
[gd_scene load_steps=5 format=3 uid="uid://c31w28fcqw4ra"]
[gd_scene load_steps=9 format=3 uid="uid://c31w28fcqw4ra"]
[ext_resource type="Script" uid="uid://fxixa11vqdrn" path="res://scripts/enemy.gd" id="1_82j8k"]
[ext_resource type="Texture2D" uid="uid://1mkagt2y0jah" path="res://graphics/questview/goo.png" id="2_87tms"]
@@ -8,6 +8,22 @@
script = ExtResource("2_fehp8")
metadata/_custom_type_script = "uid://727tgvtmq4nb"
[sub_resource type="Gradient" id="Gradient_nqdtq"]
offsets = PackedFloat32Array(0)
colors = PackedColorArray(0, 0, 0, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_fehp8"]
gradient = SubResource("Gradient_nqdtq")
width = 1
[sub_resource type="Gradient" id="Gradient_yy18h"]
offsets = PackedFloat32Array(1)
colors = PackedColorArray(1, 1, 1, 1)
[sub_resource type="GradientTexture1D" id="GradientTexture1D_bfuvr"]
gradient = SubResource("Gradient_yy18h")
width = 1
[node name="Goo" type="Control"]
layout_mode = 3
anchors_preset = 0
@@ -19,3 +35,15 @@ position = Vector2(5, -47)
texture = ExtResource("2_87tms")
[node name="AnimationPlayer" type="AnimationPlayer" parent="."]
[node name="LifeBar" type="TextureProgressBar" parent="."]
layout_mode = 0
offset_left = -37.0
offset_top = 16.0
offset_right = 38.0
offset_bottom = 26.0
nine_patch_stretch = true
texture_under = SubResource("GradientTexture1D_fehp8")
texture_progress = SubResource("GradientTexture1D_bfuvr")
tint_over = Color(1, 0, 0, 1)
tint_progress = Color(1, 0, 0, 1)