generated from krampus/template-godot4
48 lines
1.1 KiB
Plaintext
48 lines
1.1 KiB
Plaintext
|
[gd_scene load_steps=3 format=3 uid="uid://dq1x21tq06dud"]
|
||
|
|
||
|
[ext_resource type="Theme" uid="uid://b07fevr214mmr" path="res://src/ui/hud/hud_theme.tres" id="1_lirk3"]
|
||
|
[ext_resource type="Script" path="res://src/ui/hud/player_hud.gd" id="2_j6lpx"]
|
||
|
|
||
|
[node name="PlayerHUD" type="Control"]
|
||
|
layout_mode = 3
|
||
|
anchors_preset = 15
|
||
|
anchor_right = 1.0
|
||
|
anchor_bottom = 1.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
mouse_filter = 2
|
||
|
theme = ExtResource("1_lirk3")
|
||
|
script = ExtResource("2_j6lpx")
|
||
|
|
||
|
[node name="InteractHUD" type="Control" parent="."]
|
||
|
unique_name_in_owner = true
|
||
|
modulate = Color(1, 1, 1, 0.866667)
|
||
|
custom_minimum_size = Vector2(400, 400)
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 8
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 0.5
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 0.5
|
||
|
offset_left = -200.0
|
||
|
offset_top = -100.0
|
||
|
offset_right = 200.0
|
||
|
offset_bottom = 100.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 2
|
||
|
mouse_filter = 2
|
||
|
|
||
|
[node name="Label" type="Label" parent="InteractHUD"]
|
||
|
layout_mode = 1
|
||
|
anchors_preset = 7
|
||
|
anchor_left = 0.5
|
||
|
anchor_top = 1.0
|
||
|
anchor_right = 0.5
|
||
|
anchor_bottom = 1.0
|
||
|
offset_left = -20.0
|
||
|
offset_top = -23.0
|
||
|
offset_right = 20.0
|
||
|
grow_horizontal = 2
|
||
|
grow_vertical = 0
|
||
|
text = "Press [E] to use"
|