gmtk24/scenes/interface/hud.tscn

83 lines
2.2 KiB
Plaintext
Raw Normal View History

2024-08-19 22:27:26 +02:00
[gd_scene load_steps=2 format=3 uid="uid://b5asfx4vribls"]
[ext_resource type="Script" path="res://scripts/Hud.cs" id="1_hvqpl"]
2024-08-20 16:49:13 +02:00
[node name="HUD" type="Control" node_paths=PackedStringArray("HoverText", "CameraHeightContainer", "CameraHeightSlider", "CornerPrompt")]
2024-08-19 22:27:26 +02:00
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
mouse_filter = 2
script = ExtResource("1_hvqpl")
2024-08-20 15:58:22 +02:00
HoverText = NodePath("CenterContainer2/HoverText")
CameraHeightContainer = NodePath("CameraHeightContainer")
CameraHeightSlider = NodePath("CameraHeightContainer/CameraHeightSlider")
2024-08-20 16:49:13 +02:00
CornerPrompt = NodePath("TableRecallPrompt")
2024-08-19 22:27:26 +02:00
[node name="CenterContainer" type="CenterContainer" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
[node name="ColorRect" type="ColorRect" parent="CenterContainer"]
custom_minimum_size = Vector2(16, 2)
layout_mode = 2
mouse_filter = 1
[node name="ColorRect2" type="ColorRect" parent="CenterContainer"]
custom_minimum_size = Vector2(2, 16)
layout_mode = 2
mouse_filter = 1
2024-08-20 15:58:22 +02:00
[node name="CameraHeightContainer" type="VBoxContainer" parent="."]
visible = false
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_top = -227.0
offset_right = 67.0
grow_vertical = 0
[node name="CameraHeightSlider" type="VSlider" parent="CameraHeightContainer"]
custom_minimum_size = Vector2(70, 200)
layout_mode = 2
step = 0.1
[node name="CameraHeightLabel" type="Label" parent="CameraHeightContainer"]
layout_mode = 2
text = "Height
"
horizontal_alignment = 1
[node name="CenterContainer2" type="CenterContainer" parent="."]
layout_mode = 1
2024-08-20 16:49:13 +02:00
anchors_preset = 12
2024-08-20 15:58:22 +02:00
anchor_top = 1.0
2024-08-20 16:49:13 +02:00
anchor_right = 1.0
2024-08-20 15:58:22 +02:00
anchor_bottom = 1.0
2024-08-20 16:49:13 +02:00
offset_top = -134.0
2024-08-20 15:58:22 +02:00
grow_horizontal = 2
grow_vertical = 0
2024-08-20 17:02:19 +02:00
mouse_filter = 2
2024-08-20 15:58:22 +02:00
2024-08-20 16:49:13 +02:00
[node name="HoverText" type="Label" parent="CenterContainer2"]
2024-08-20 15:58:22 +02:00
layout_mode = 2
2024-08-20 16:49:13 +02:00
theme_override_font_sizes/font_size = 24
2024-08-20 15:58:22 +02:00
text = "[Hover Text]"
2024-08-20 16:49:13 +02:00
horizontal_alignment = 1
[node name="TableRecallPrompt" type="Label" parent="."]
layout_mode = 1
offset_left = 34.0
offset_top = 22.0
offset_right = 314.0
offset_bottom = 67.0
theme_override_font_sizes/font_size = 24
text = "[Table Recall Text]"