add more sounds, fix all stuff
This commit is contained in:
130
src/scenes/ingame_hud.tscn
Normal file
130
src/scenes/ingame_hud.tscn
Normal file
@@ -0,0 +1,130 @@
|
||||
[gd_scene format=3 uid="uid://b2tyfgkroe0d8"]
|
||||
|
||||
[ext_resource type="Script" uid="uid://da5sp508nk1tx" path="res://scripts/ingame_hud.gd" id="1_hud_script"]
|
||||
[ext_resource type="FontFile" uid="uid://bajcvmidrnc33" path="res://assets/fonts/standard_font.png" id="2_standard_font"]
|
||||
[ext_resource type="Texture2D" uid="uid://dkisxs8ecfaul" path="res://assets/gfx/ui/hearts_filled.png" id="4_hearts_filled"]
|
||||
[ext_resource type="Texture2D" uid="uid://dkpritx47nd4m" path="res://assets/gfx/pickups/items_n_shit.png" id="5_key_texture"]
|
||||
|
||||
[sub_resource type="Theme" id="Theme_standard_font"]
|
||||
default_font = ExtResource("2_standard_font")
|
||||
default_font_size = 10
|
||||
|
||||
[sub_resource type="AtlasTexture" id="AtlasTexture_kmtic"]
|
||||
atlas = ExtResource("5_key_texture")
|
||||
region = Rect2(160, 208, 16, 16)
|
||||
margin = Rect2(0, -2, 0, 0)
|
||||
|
||||
[node name="IngameHUD" type="CanvasLayer" unique_id=846985801]
|
||||
script = ExtResource("1_hud_script")
|
||||
|
||||
[node name="UpperLeft" type="MarginContainer" parent="." unique_id=22752255]
|
||||
offset_right = 392.0
|
||||
offset_bottom = 92.0
|
||||
theme = SubResource("Theme_standard_font")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="UpperLeft" unique_id=339113149]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainerLIFE" type="VBoxContainer" parent="UpperLeft/HBoxContainer" unique_id=1514994213]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="LabelLife" type="Label" parent="UpperLeft/HBoxContainer/VBoxContainerLIFE" unique_id=540685001]
|
||||
layout_mode = 2
|
||||
theme = SubResource("Theme_standard_font")
|
||||
text = "- LIFE -"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="TextureProgressBarHP" type="TextureProgressBar" parent="UpperLeft/HBoxContainer/VBoxContainerLIFE" unique_id=883573502]
|
||||
layout_mode = 2
|
||||
value = 100.0
|
||||
texture_progress = ExtResource("4_hearts_filled")
|
||||
|
||||
[node name="VBoxContainerKeys" type="VBoxContainer" parent="UpperLeft/HBoxContainer" unique_id=1905937328]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="LabelKeys" type="Label" parent="UpperLeft/HBoxContainer/VBoxContainerKeys" unique_id=869912308]
|
||||
layout_mode = 2
|
||||
theme = SubResource("Theme_standard_font")
|
||||
text = "- KEYS -"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="UpperLeft/HBoxContainer/VBoxContainerKeys" unique_id=869912309]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 4
|
||||
|
||||
[node name="TextureRectKey" type="TextureRect" parent="UpperLeft/HBoxContainer/VBoxContainerKeys/HBoxContainer" unique_id=869912310]
|
||||
layout_mode = 2
|
||||
texture = SubResource("AtlasTexture_kmtic")
|
||||
stretch_mode = 5
|
||||
|
||||
[node name="LabelXKeys" type="Label" parent="UpperLeft/HBoxContainer/VBoxContainerKeys/HBoxContainer" unique_id=894452940]
|
||||
layout_mode = 2
|
||||
theme = SubResource("Theme_standard_font")
|
||||
text = "x"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="LabelKeysValue" type="Label" parent="UpperLeft/HBoxContainer/VBoxContainerKeys/HBoxContainer" unique_id=1691789757]
|
||||
layout_mode = 2
|
||||
theme = SubResource("Theme_standard_font")
|
||||
text = "0"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="VBoxContainerLevel" type="VBoxContainer" parent="UpperLeft/HBoxContainer" unique_id=1905937327]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="LabelLevel" type="Label" parent="UpperLeft/HBoxContainer/VBoxContainerLevel" unique_id=869912307]
|
||||
layout_mode = 2
|
||||
theme = SubResource("Theme_standard_font")
|
||||
text = "LEVEL"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="LabelLevelValue" type="Label" parent="UpperLeft/HBoxContainer/VBoxContainerLevel" unique_id=1691789756]
|
||||
layout_mode = 2
|
||||
theme = SubResource("Theme_standard_font")
|
||||
text = "1"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="VBoxContainerTime" type="VBoxContainer" parent="UpperLeft/HBoxContainer" unique_id=2142702105]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="LabelTime" type="Label" parent="UpperLeft/HBoxContainer/VBoxContainerTime" unique_id=793107824]
|
||||
layout_mode = 2
|
||||
theme = SubResource("Theme_standard_font")
|
||||
text = "TIME"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="LabelTimeValue" type="Label" parent="UpperLeft/HBoxContainer/VBoxContainerTime" unique_id=697137942]
|
||||
layout_mode = 2
|
||||
theme = SubResource("Theme_standard_font")
|
||||
text = "00:00"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="UpperRight" type="MarginContainer" parent="." unique_id=1261821969]
|
||||
anchors_preset = 1
|
||||
anchor_left = 1.0
|
||||
anchor_right = 1.0
|
||||
offset_left = -392.0
|
||||
offset_bottom = 92.0
|
||||
grow_horizontal = 0
|
||||
theme = SubResource("Theme_standard_font")
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="UpperRight" unique_id=332290975]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="VBoxContainerBoss" type="VBoxContainer" parent="UpperRight/HBoxContainer" unique_id=1933444957]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
|
||||
[node name="LabelBoss" type="Label" parent="UpperRight/HBoxContainer/VBoxContainerBoss" unique_id=1807484686]
|
||||
layout_mode = 2
|
||||
theme = SubResource("Theme_standard_font")
|
||||
text = "BOSS"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="TextureProgressBarBossHP" type="TextureProgressBar" parent="UpperRight/HBoxContainer/VBoxContainerBoss" unique_id=1266602557]
|
||||
layout_mode = 2
|
||||
texture_progress = ExtResource("4_hearts_filled")
|
||||
Reference in New Issue
Block a user