summaryrefslogtreecommitdiff
path: root/scenes
diff options
context:
space:
mode:
authorGustavoEklund <eklundgu@gmail.com>2025-08-28 20:38:10 -0300
committerGustavoEklund <eklundgu@gmail.com>2025-08-28 20:38:10 -0300
commit5f23459b25f9232847e2c9b33b3171937c536fd6 (patch)
tree16926b62e80a1d0a9ec08ca8e57398faef76f26f /scenes
parentf55c5e899a073cc0033fdbdde04a2de4644433fb (diff)
parent3c9192b24c09146df066fd986f34d269c50648e8 (diff)
Merge branch 'master' of https://github.com/Simplesmente-O-Grupo/projeto-fantasia
Diffstat (limited to 'scenes')
-rw-r--r--scenes/Game.tscn5
-rw-r--r--scenes/ui.tscn3
2 files changed, 7 insertions, 1 deletions
diff --git a/scenes/Game.tscn b/scenes/Game.tscn
index 2003472..326373a 100644
--- a/scenes/Game.tscn
+++ b/scenes/Game.tscn
@@ -1,10 +1,11 @@
-[gd_scene load_steps=6 format=3 uid="uid://u5h6iqyi8wd0"]
+[gd_scene load_steps=7 format=3 uid="uid://u5h6iqyi8wd0"]
[ext_resource type="Script" uid="uid://dwubb28wt4bhe" path="res://scripts/Game.cs" id="1_cpr0p"]
[ext_resource type="Script" uid="uid://fe2h4is11tnw" path="res://scripts/map/Map.cs" id="3_cpr0p"]
[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"]
[node name="Game" type="Node"]
script = ExtResource("1_cpr0p")
@@ -31,3 +32,5 @@ script = ExtResource("5_s0nni")
[node name="Camera2D" type="Camera2D" parent="."]
offset = Vector2(8, 8)
zoom = Vector2(2, 2)
+
+[node name="UI" parent="." instance=ExtResource("6_aug50")]
diff --git a/scenes/ui.tscn b/scenes/ui.tscn
index b71e544..47fdf59 100644
--- a/scenes/ui.tscn
+++ b/scenes/ui.tscn
@@ -1,5 +1,6 @@
[gd_scene load_steps=7 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"]
[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"]
@@ -8,12 +9,14 @@
[ext_resource type="Texture2D" uid="uid://b1rotmrfynpau" path="res://assets/sprites/inter-face/MP/ManaBar.png" id="6_ktti3"]
[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")