From a38f65c261e9d7b23d046cb76b5aeedc05c4b54d Mon Sep 17 00:00:00 2001 From: Daniel Weipert Date: Fri, 20 Sep 2024 22:12:44 +0200 Subject: next commit --- HP.tscn | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) (limited to 'HP.tscn') diff --git a/HP.tscn b/HP.tscn index 6f76361..b4eceba 100644 --- a/HP.tscn +++ b/HP.tscn @@ -1,11 +1,8 @@ -[gd_scene load_steps=5 format=3 uid="uid://c5d10tebryjlc"] +[gd_scene load_steps=4 format=3 uid="uid://c5d10tebryjlc"] [ext_resource type="Script" path="res://hp.gd" id="1_gx3f3"] [ext_resource type="Texture2D" uid="uid://blq0txbn7sqdk" path="res://Assets/HUD/hp.png" id="1_y6ic7"] -[ext_resource type="FontFile" uid="uid://ceinhnmc5wuas" path="res://Assets/HUD/Minimal3x5.ttf" id="2_gtstn"] - -[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_8fkvy"] -content_margin_top = 1.0 +[ext_resource type="Texture2D" uid="uid://dqy7sy62yms28" path="res://Assets/HUD/hp-empty.png" id="3_wjwha"] [node name="HP" type="Control"] layout_mode = 3 @@ -22,16 +19,11 @@ offset_bottom = 8.0 texture = ExtResource("1_y6ic7") stretch_mode = 4 -[node name="Empty" type="Label" parent="."] +[node name="Empty" type="TextureRect" parent="."] visible = false +texture_filter = 1 layout_mode = 0 offset_right = 7.0 offset_bottom = 8.0 -theme_override_colors/font_color = Color(0, 0, 0, 1) -theme_override_constants/line_spacing = 0 -theme_override_fonts/font = ExtResource("2_gtstn") -theme_override_font_sizes/font_size = 8 -theme_override_styles/normal = SubResource("StyleBoxEmpty_8fkvy") -text = "-" -horizontal_alignment = 1 -vertical_alignment = 1 +texture = ExtResource("3_wjwha") +stretch_mode = 4 -- cgit v1.2.3