spacegame/hud/hud.tscn
qwertzuiopy 4160fd0d8c :3
2025-04-14 22:07:39 +02:00

102 lines
3.6 KiB
Text

[gd_scene load_steps=13 format=3 uid="uid://cyq7l8x1pbh1h"]
[ext_resource type="Script" uid="uid://dwjysathl0a8g" path="res://hud/hud.gd" id="1_0ivg5"]
[ext_resource type="Texture2D" uid="uid://c7pknth5b6pt6" path="res://hud/dial.png" id="1_6ca3a"]
[ext_resource type="Texture2D" uid="uid://dtrxl6d62e3c2" path="res://hud/text.png" id="1_318vg"]
[ext_resource type="Script" uid="uid://dm6tu57vgijdh" path="res://hud/energy_indicator.gd" id="2_1kkc0"]
[ext_resource type="Texture2D" uid="uid://dxnwaxcclojrh" path="res://hud/dial_full.png" id="2_2gk58"]
[ext_resource type="Script" uid="uid://bkcrwbj4qsyu6" path="res://hud/aim_indicator.gd" id="4_fjv1a"]
[ext_resource type="Shader" uid="uid://b1dxg2p1lqx1g" path="res://hud/yclip.gdshader" id="4_qv4qp"]
[ext_resource type="Texture2D" uid="uid://phih5e11qe3a" path="res://hud/aim_indicator/scale.png" id="4_w8tcp"]
[ext_resource type="Texture2D" uid="uid://cxfxrcm7n85cp" path="res://hud/aim_indicator/dot.png" id="5_svhta"]
[ext_resource type="Script" uid="uid://cbfjmrwk5vvgx" path="res://hud/component_indicators.gd" id="10_sh35x"]
[ext_resource type="Texture2D" uid="uid://tnjq0pju1y5o" path="res://hud/dia_smalll.png" id="11_gms7k"]
[sub_resource type="ShaderMaterial" id="ShaderMaterial_sh35x"]
shader = ExtResource("4_qv4qp")
shader_parameter/min_y = 0.235291
[node name="hud" type="CanvasLayer" node_paths=PackedStringArray("aim_indicator", "energy_indicator")]
script = ExtResource("1_0ivg5")
aim_indicator = NodePath("aim_indicator")
energy_indicator = NodePath("energy_indicator")
[node name="energy_indicator" type="Control" parent="."]
layout_mode = 3
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 10.0
offset_top = -8.0
offset_right = 10.0
offset_bottom = -8.0
grow_vertical = 0
scale = Vector2(6, 6)
script = ExtResource("2_1kkc0")
[node name="bg" type="Sprite2D" parent="energy_indicator"]
position = Vector2(17, -17)
texture = ExtResource("1_6ca3a")
[node name="fg" type="Sprite2D" parent="energy_indicator"]
modulate = Color(1.1, 1.1, 1.1, 1)
material = SubResource("ShaderMaterial_sh35x")
position = Vector2(17, -17)
texture = ExtResource("2_2gk58")
[node name="upper" type="Marker2D" parent="energy_indicator"]
position = Vector2(17.5, -26.0001)
gizmo_extents = 3.0
[node name="lower" type="Marker2D" parent="energy_indicator"]
position = Vector2(17.3333, -11)
gizmo_extents = 3.0
[node name="text" type="Sprite2D" parent="energy_indicator"]
position = Vector2(17.5, -6)
texture = ExtResource("1_318vg")
[node name="aim_indicator" type="Control" parent="."]
layout_mode = 3
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_top = -39.0
offset_bottom = -39.0
grow_horizontal = 2
grow_vertical = 0
scale = Vector2(6, 6)
script = ExtResource("4_fjv1a")
[node name="scale" type="Sprite2D" parent="aim_indicator"]
texture = ExtResource("4_w8tcp")
[node name="dot" type="Sprite2D" parent="aim_indicator"]
position = Vector2(-13, 0)
texture = ExtResource("5_svhta")
[node name="component_indicators" type="Control" parent="."]
layout_mode = 3
anchors_preset = 3
anchor_left = 1.0
anchor_top = 1.0
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 0
grow_vertical = 0
scale = Vector2(6, 6)
script = ExtResource("10_sh35x")
[node name="Sprite2D" type="Sprite2D" parent="component_indicators"]
position = Vector2(-11.1667, -11.3333)
texture = ExtResource("11_gms7k")
[node name="Sprite2D2" type="Sprite2D" parent="component_indicators"]
position = Vector2(-28.8333, -11.3333)
texture = ExtResource("11_gms7k")
[node name="Sprite2D3" type="Sprite2D" parent="component_indicators"]
position = Vector2(-46.3333, -11)
texture = ExtResource("11_gms7k")