project_teddy/scenes/HUD.tscn

207 lines
4.7 KiB
Text

[gd_scene load_steps=4 format=3 uid="uid://ytbacsuahxie"]
[ext_resource type="Script" path="res://scripts/HUD.gd" id="1_mqiiw"]
[ext_resource type="Texture2D" uid="uid://tjvdle3jlb6g" path="res://textures/crosshair1.png" id="2_5dvrx"]
[ext_resource type="FontFile" uid="uid://dvvqq2hluaa3o" path="res://fonts/League.otf" id="3_x1wqt"]
[node name="HUD" 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
script = ExtResource("1_mqiiw")
[node name="Health" type="ProgressBar" parent="."]
modulate = Color(0.890196, 0.137255, 0.0156863, 1)
layout_mode = 0
offset_left = 20.0
offset_top = 562.0
offset_right = 165.0
offset_bottom = 589.0
value = 100.0
allow_greater = true
[node name="Fatigue" type="ProgressBar" parent="."]
modulate = Color(1, 1, 0, 1)
layout_mode = 0
offset_left = 20.0
offset_top = 602.0
offset_right = 165.0
offset_bottom = 629.0
value = 100.0
[node name="Crosshair1" type="Sprite2D" parent="."]
position = Vector2(575, 323)
scale = Vector2(0.0351562, 0.0351562)
texture = ExtResource("2_5dvrx")
[node name="Panel" type="Panel" parent="."]
layout_mode = 0
offset_left = 8.0
offset_top = 9.0
offset_right = 147.0
offset_bottom = 245.0
[node name="player1Label" type="Label" parent="."]
layout_mode = 0
offset_left = 15.0
offset_top = 11.0
offset_right = 136.0
offset_bottom = 37.0
horizontal_alignment = 1
[node name="player2Label" type="Label" parent="."]
layout_mode = 0
offset_left = 15.0
offset_top = 34.0
offset_right = 136.0
offset_bottom = 60.0
horizontal_alignment = 1
[node name="player3Label" type="Label" parent="."]
layout_mode = 0
offset_left = 15.0
offset_top = 57.0
offset_right = 136.0
offset_bottom = 83.0
horizontal_alignment = 1
[node name="player4Label" type="Label" parent="."]
layout_mode = 0
offset_left = 15.0
offset_top = 80.0
offset_right = 136.0
offset_bottom = 106.0
horizontal_alignment = 1
[node name="player5Label" type="Label" parent="."]
layout_mode = 0
offset_left = 15.0
offset_top = 103.0
offset_right = 136.0
offset_bottom = 129.0
horizontal_alignment = 1
[node name="player6Label" type="Label" parent="."]
layout_mode = 0
offset_left = 15.0
offset_top = 126.0
offset_right = 136.0
offset_bottom = 152.0
horizontal_alignment = 1
[node name="player7Label" type="Label" parent="."]
layout_mode = 0
offset_left = 15.0
offset_top = 149.0
offset_right = 136.0
offset_bottom = 175.0
horizontal_alignment = 1
[node name="player8Label" type="Label" parent="."]
layout_mode = 0
offset_left = 15.0
offset_top = 172.0
offset_right = 136.0
offset_bottom = 198.0
horizontal_alignment = 1
[node name="player9Label" type="Label" parent="."]
layout_mode = 0
offset_left = 15.0
offset_top = 195.0
offset_right = 136.0
offset_bottom = 221.0
horizontal_alignment = 1
[node name="player10Label" type="Label" parent="."]
layout_mode = 0
offset_left = 15.0
offset_top = 218.0
offset_right = 145.0
offset_bottom = 244.0
horizontal_alignment = 1
[node name="timerPanel" type="Panel" parent="."]
layout_mode = 0
offset_left = 476.0
offset_top = 41.0
offset_right = 674.0
offset_bottom = 116.0
[node name="timer" type="Label" parent="."]
layout_mode = 1
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -91.0
offset_top = 54.0
offset_right = 91.0
offset_bottom = 107.0
grow_horizontal = 2
theme_override_fonts/font = ExtResource("3_x1wqt")
theme_override_font_sizes/font_size = 60
text = "00:00"
[node name="startLabel" type="Label" parent="."]
layout_mode = 0
offset_left = 253.0
offset_top = 560.0
offset_right = 878.0
offset_bottom = 593.0
theme_override_fonts/font = ExtResource("3_x1wqt")
theme_override_font_sizes/font_size = 29
horizontal_alignment = 1
[node name="musicPanel" type="Panel" parent="."]
layout_mode = 0
offset_left = 889.0
offset_top = 548.0
offset_right = 1146.0
offset_bottom = 644.0
[node name="playingLabel" type="Label" parent="musicPanel"]
layout_mode = 0
offset_left = 4.0
offset_top = 14.0
offset_right = 253.0
offset_bottom = 40.0
text = "Now playing: "
horizontal_alignment = 1
[node name="authorLabel" type="Label" parent="musicPanel"]
layout_mode = 0
offset_left = 7.0
offset_top = 58.0
offset_right = 252.0
offset_bottom = 81.0
horizontal_alignment = 1
[node name="RunnerPanel" type="Panel" parent="."]
visible = false
layout_mode = 0
offset_left = 916.0
offset_top = 15.0
offset_right = 1131.0
offset_bottom = 82.0
[node name="Health" type="ProgressBar" parent="RunnerPanel"]
modulate = Color(0.890196, 0.137255, 0.0156863, 1)
offset_left = 5.0
offset_top = 35.0
offset_right = 210.0
offset_bottom = 62.0
max_value = 2000.0
value = 2000.0
allow_greater = true
[node name="runnerLabel" type="Label" parent="RunnerPanel"]
layout_mode = 0
offset_left = 48.0
offset_top = 6.0
offset_right = 161.0
offset_bottom = 32.0
text = "Runner Health"