From 7f5681b4e78982b08bf91913b2d5fa39923945f9 Mon Sep 17 00:00:00 2001 From: GustavoEklund Date: Thu, 28 Aug 2025 21:04:08 -0300 Subject: Buttons --- scenes/Game.tscn | 2 +- scenes/ui.tscn | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'scenes') diff --git a/scenes/Game.tscn b/scenes/Game.tscn index 326373a..6f80e11 100644 --- a/scenes/Game.tscn +++ b/scenes/Game.tscn @@ -5,7 +5,7 @@ [ext_resource type="Script" uid="uid://ejqmdbc0524i" path="res://scripts/input/InputHandler.cs" id="3_s0nni"] [ext_resource type="Script" uid="uid://dwyr067lwqcsj" path="res://scripts/map/DungeonGenerator.cs" id="4_78awf"] [ext_resource type="Script" uid="uid://bereyrj1s46y5" path="res://scripts/map/FieldOfView.cs" id="5_s0nni"] -[ext_resource type="PackedScene" uid="uid://bnuyp1ahv7q0h" path="res://scenes/ui.tscn" id="6_aug50"] +[ext_resource type="PackedScene" uid="uid://b4h4xyr1g8o50" path="res://scenes/ui.tscn" id="6_aug50"] [node name="Game" type="Node"] script = ExtResource("1_cpr0p") diff --git a/scenes/ui.tscn b/scenes/ui.tscn index 47fdf59..d01a08b 100644 --- a/scenes/ui.tscn +++ b/scenes/ui.tscn @@ -1,4 +1,4 @@ -[gd_scene load_steps=7 format=3 uid="uid://b4h4xyr1g8o50"] +[gd_scene load_steps=8 format=3 uid="uid://b4h4xyr1g8o50"] [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"] @@ -23,9 +23,10 @@ texture_over = ExtResource("2_gdt2y") texture_progress = ExtResource("3_wm3ai") [node name="MPbar" type="TextureProgressBar" parent="CanvasLayer"] -offset_top = 11.0 +offset_top = 72.0 offset_right = 50.0 -offset_bottom = 21.0 +offset_bottom = 82.0 +scale = Vector2(6, 6) value = 100.0 texture_under = ExtResource("4_8dubc") texture_over = ExtResource("5_p7vwb") -- cgit v1.2.3