From 3c9192b24c09146df066fd986f34d269c50648e8 Mon Sep 17 00:00:00 2001 From: Matheus Date: Thu, 28 Aug 2025 20:34:00 -0300 Subject: HP alterado --- scenes/ui.tscn | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'scenes/ui.tscn') diff --git a/scenes/ui.tscn b/scenes/ui.tscn index 1572bfc..df54892 100644 --- a/scenes/ui.tscn +++ b/scenes/ui.tscn @@ -1,16 +1,19 @@ -[gd_scene load_steps=4 format=3 uid="uid://d0mir10g2vhk3"] +[gd_scene load_steps=5 format=3 uid="uid://bnuyp1ahv7q0h"] +[ext_resource type="Script" uid="uid://br7w3abe0boqb" path="res://scripts/UI.cs" id="1_gdt2y"] [ext_resource type="Texture2D" uid="uid://ch6rupow513ab" path="res://assets/sprites/inter-face/HP/HealthBarUnder.png" id="1_yev5y"] [ext_resource type="Texture2D" uid="uid://c0vvfwqjxqjcv" path="res://assets/sprites/inter-face/HP/HealthBarOverlay.png" id="2_gdt2y"] [ext_resource type="Texture2D" uid="uid://ckbvtym6yywf0" path="res://assets/sprites/inter-face/HP/HealthBar.png" id="3_wm3ai"] [node name="UI" type="Node2D"] +script = ExtResource("1_gdt2y") [node name="CanvasLayer" type="CanvasLayer" parent="."] [node name="HPbar" type="TextureProgressBar" parent="CanvasLayer"] offset_right = 50.0 offset_bottom = 10.0 +scale = Vector2(6, 6) value = 100.0 texture_under = ExtResource("1_yev5y") texture_over = ExtResource("2_gdt2y") -- cgit v1.2.3