Files
wretched/entities/hud.tscn

117 lines
3.4 KiB
Plaintext

[gd_scene load_steps=10 format=3 uid="uid://d2nji886vjn5x"]
[ext_resource type="Script" uid="uid://d1a87nfi5lnhd" path="res://entities/hud.gd" id="1_37p78"]
[ext_resource type="FontFile" uid="uid://ch80yhbam0jo2" path="res://fonts/Tangerine-Bold.ttf" id="2_64ctp"]
[ext_resource type="FontFile" uid="uid://bhpgvdh6eyojj" path="res://fonts/CrimsonText-Italic.ttf" id="3_mcea6"]
[ext_resource type="Texture2D" uid="uid://b06wrpqbpqxla" path="res://images/eyecon.png" id="4_npr4g"]
[ext_resource type="Texture2D" uid="uid://dynnluyu4a2w4" path="res://images/handicon.png" id="5_jqn4v"]
[sub_resource type="LabelSettings" id="LabelSettings_8sq4i"]
font = ExtResource("2_64ctp")
font_size = 96
[sub_resource type="LabelSettings" id="LabelSettings_jqn4v"]
font = ExtResource("3_mcea6")
font_size = 68
font_color = Color(1, 1, 1, 0.501961)
outline_size = 16
outline_color = Color(0, 0, 0, 0.501961)
[sub_resource type="LabelSettings" id="LabelSettings_fpuge"]
font = ExtResource("3_mcea6")
font_size = 80
font_color = Color(1, 1, 1, 0.627451)
outline_size = 16
outline_color = Color(0, 0, 0, 0.627451)
[sub_resource type="LabelSettings" id="LabelSettings_npr4g"]
font = ExtResource("3_mcea6")
font_size = 96
outline_size = 16
outline_color = Color(0, 0, 0, 1)
[node name="hud" type="CanvasLayer"]
script = ExtResource("1_37p78")
[node name="hud_top" type="MarginContainer" parent="."]
anchors_preset = 10
anchor_right = 1.0
offset_bottom = 96.0
grow_horizontal = 2
size_flags_horizontal = 3
size_flags_vertical = 2
[node name="center" type="CenterContainer" parent="hud_top"]
layout_mode = 2
[node name="testtext" type="Label" parent="hud_top/center"]
visible = false
layout_mode = 2
text = "Nerd Spotted!"
label_settings = SubResource("LabelSettings_8sq4i")
[node name="hud_bottom" type="MarginContainer" parent="."]
anchors_preset = 12
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 0
size_flags_horizontal = 3
size_flags_vertical = 3
theme_override_constants/margin_bottom = 24
[node name="promptbox" type="VBoxContainer" parent="hud_bottom"]
layout_mode = 2
theme_override_constants/separation = -8
[node name="prompt_overflow" type="Label" parent="hud_bottom/promptbox"]
visible = false
layout_mode = 2
text = "..."
label_settings = SubResource("LabelSettings_jqn4v")
horizontal_alignment = 1
vertical_alignment = 1
[node name="prompt_tertiary" type="Label" parent="hud_bottom/promptbox"]
visible = false
layout_mode = 2
text = "Do thing"
label_settings = SubResource("LabelSettings_jqn4v")
horizontal_alignment = 1
vertical_alignment = 1
[node name="prompt_secondary" type="Label" parent="hud_bottom/promptbox"]
visible = false
layout_mode = 2
text = "Do thing"
label_settings = SubResource("LabelSettings_fpuge")
horizontal_alignment = 1
vertical_alignment = 1
[node name="prompt_primary" type="Label" parent="hud_bottom/promptbox"]
visible = false
layout_mode = 2
text = "Do thing"
label_settings = SubResource("LabelSettings_npr4g")
horizontal_alignment = 1
vertical_alignment = 1
[node name="icon_eye" type="TextureRect" parent="."]
visible = false
offset_right = 192.0
offset_bottom = 192.0
pivot_offset = Vector2(64, 64)
texture = ExtResource("4_npr4g")
expand_mode = 1
stretch_mode = 4
[node name="icon_hand" type="TextureRect" parent="."]
visible = false
offset_right = 192.0
offset_bottom = 192.0
pivot_offset = Vector2(64, 64)
texture = ExtResource("5_jqn4v")
expand_mode = 1
stretch_mode = 4