mirror of
https://gitlab.com/MaddoScientisto/cirnogodot.git
synced 2026-06-14 23:33:48 +00:00
Refactored locations
This commit is contained in:
parent
e334ac6343
commit
b7defbb209
16 changed files with 65 additions and 28 deletions
11
Scenes/HUD/HUD.tscn
Normal file
11
Scenes/HUD/HUD.tscn
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
[gd_scene load_steps=2 format=3 uid="uid://c567m475j0axf"]
|
||||
|
||||
[ext_resource type="FontFile" uid="uid://ccm3u37q1hvux" path="res://fonts/Xolonium-Regular.ttf" id="1_ye2ho"]
|
||||
|
||||
[node name="Hud" type="CanvasLayer"]
|
||||
|
||||
[node name="HealthLabel" type="Label" parent="."]
|
||||
offset_right = 40.0
|
||||
offset_bottom = 23.0
|
||||
theme_override_fonts/font = ExtResource("1_ye2ho")
|
||||
text = "100"
|
||||
38
Scenes/HUD/oldhud.tscn
Normal file
38
Scenes/HUD/oldhud.tscn
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
[gd_scene load_steps=3 format=3 uid="uid://dkwi1hu1bixoe"]
|
||||
|
||||
[ext_resource type="Script" path="res://Scripts/Hud.cs" id="1_m0hb0"]
|
||||
[ext_resource type="FontFile" uid="uid://ccm3u37q1hvux" path="res://fonts/Xolonium-Regular.ttf" id="2_0xmx2"]
|
||||
|
||||
[node name="HUD" type="CanvasLayer"]
|
||||
script = ExtResource("1_m0hb0")
|
||||
|
||||
[node name="Health" type="Label" parent="."]
|
||||
anchors_preset = 2
|
||||
anchor_top = 1.0
|
||||
anchor_bottom = 1.0
|
||||
offset_top = -78.0
|
||||
offset_right = 305.0
|
||||
grow_vertical = 0
|
||||
theme_override_fonts/font = ExtResource("2_0xmx2")
|
||||
theme_override_font_sizes/font_size = 64
|
||||
text = "100/100"
|
||||
|
||||
[node name="Message" type="Label" parent="."]
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -217.0
|
||||
offset_top = -39.0
|
||||
offset_right = 217.0
|
||||
offset_bottom = 39.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_fonts/font = ExtResource("2_0xmx2")
|
||||
theme_override_font_sizes/font_size = 64
|
||||
text = "GAME OVER"
|
||||
|
||||
[node name="MessageTimer" type="Timer" parent="."]
|
||||
wait_time = 2.0
|
||||
one_shot = true
|
||||
Loading…
Add table
Add a link
Reference in a new issue