open-strike-2/scenes/utils/in_game_hud.tscn

56 lines
1.4 KiB
Plaintext

[gd_scene load_steps=5 format=3 uid="uid://c137wl6ls3knx"]
[ext_resource type="Script" path="res://scenes/utils/in_game_hud.gd" id="1_sttf0"]
[ext_resource type="Texture2D" uid="uid://oopj5mj1vdp0" path="res://assets/crosshairs/crosshair_default.png" id="2_fjr6q"]
[sub_resource type="LabelSettings" id="LabelSettings_ds4qb"]
font_size = 70
[sub_resource type="LabelSettings" id="LabelSettings_vhjwu"]
font_size = 100
font_color = Color(0.756874, 0, 0.223924, 1)
[node name="InGameHud" type="Control"]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
script = ExtResource("1_sttf0")
[node name="TextureRect" type="TextureRect" parent="."]
layout_mode = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -28.0
offset_top = -36.0
offset_right = 44.0
offset_bottom = 36.0
grow_horizontal = 2
grow_vertical = 2
texture = ExtResource("2_fjr6q")
[node name="HealthIndicator" type="Label" parent="."]
layout_mode = 1
anchors_preset = 2
anchor_top = 1.0
anchor_bottom = 1.0
offset_left = 8.0
offset_top = -96.0
offset_right = 128.0
grow_vertical = 0
text = "100"
label_settings = SubResource("LabelSettings_ds4qb")
[node name="FPS" type="Label" parent="." groups=["player_placeholder"]]
layout_mode = 1
offset_left = 8.0
offset_right = 65.0
offset_bottom = 137.0
text = "0"
label_settings = SubResource("LabelSettings_vhjwu")