diff options
author | Daniel Weipert <git@mail.dweipert.de> | 2024-09-20 22:12:44 +0200 |
---|---|---|
committer | Daniel Weipert <git@mail.dweipert.de> | 2024-09-20 22:12:44 +0200 |
commit | a38f65c261e9d7b23d046cb76b5aeedc05c4b54d (patch) | |
tree | 8cc96d41dc44b75ac1e9f2b95735af7c753a7c74 /HP.tscn | |
parent | 3fdb011ef62249a514a8eba2556cc9f6ea5ea477 (diff) |
next commit
Diffstat (limited to 'HP.tscn')
-rw-r--r-- | HP.tscn | 20 |
1 files changed, 6 insertions, 14 deletions
@@ -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 |