diff options
Diffstat (limited to 'scenes')
| -rw-r--r-- | scenes/Game.tscn | 5 | ||||
| -rw-r--r-- | scenes/ui.tscn | 5 |
2 files changed, 8 insertions, 2 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 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") |
