135 lines
3.4 KiB
Text
135 lines
3.4 KiB
Text
[gd_scene format=3]
|
|
|
|
[ext_resource type="Script" path="res://prototype/scripts/prototype_hud.gd" id="1_hud"]
|
|
|
|
[node name="HUD" type="CanvasLayer"]
|
|
script = ExtResource("1_hud")
|
|
|
|
[node name="Root" type="Control" parent="."]
|
|
layout_mode = 3
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
|
|
[node name="HitFlash" type="ColorRect" parent="Root"]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
mouse_filter = 2
|
|
color = Color(0.9, 0.1, 0.05, 0)
|
|
|
|
[node name="TopBar" type="HBoxContainer" parent="Root"]
|
|
layout_mode = 1
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
offset_left = 32.0
|
|
offset_top = 20.0
|
|
offset_right = -32.0
|
|
offset_bottom = 70.0
|
|
grow_horizontal = 2
|
|
mouse_filter = 2
|
|
|
|
[node name="Health" type="Label" parent="Root/TopBar"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 8
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "HEALTH 3 / 3"
|
|
|
|
[node name="Enemies" type="Label" parent="Root/TopBar"]
|
|
layout_mode = 2
|
|
size_flags_horizontal = 3
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 8
|
|
theme_override_font_sizes/font_size = 32
|
|
text = "BIRDS 50 / 50"
|
|
horizontal_alignment = 2
|
|
|
|
[node name="StressLabel" type="Label" parent="Root"]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 10
|
|
anchor_right = 1.0
|
|
offset_top = 72.0
|
|
offset_bottom = 100.0
|
|
grow_horizontal = 2
|
|
theme_override_colors/font_color = Color(1, 0.75, 0.3, 1)
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 6
|
|
theme_override_font_sizes/font_size = 18
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Overlay" type="Label" parent="Root"]
|
|
visible = false
|
|
layout_mode = 1
|
|
offset_left = 32.0
|
|
offset_top = 110.0
|
|
offset_right = 900.0
|
|
offset_bottom = 420.0
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 6
|
|
theme_override_font_sizes/font_size = 17
|
|
|
|
[node name="Hint" type="Label" parent="Root"]
|
|
layout_mode = 1
|
|
anchors_preset = 12
|
|
anchor_top = 1.0
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
offset_left = 32.0
|
|
offset_top = -52.0
|
|
offset_right = -32.0
|
|
offset_bottom = -18.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
theme_override_colors/font_outline_color = Color(0, 0, 0, 1)
|
|
theme_override_constants/outline_size = 6
|
|
theme_override_font_sizes/font_size = 18
|
|
horizontal_alignment = 1
|
|
|
|
[node name="EndPanel" type="PanelContainer" parent="Root"]
|
|
visible = false
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -300.0
|
|
offset_top = -150.0
|
|
offset_right = 300.0
|
|
offset_bottom = 150.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
|
|
[node name="VBox" type="VBoxContainer" parent="Root/EndPanel"]
|
|
layout_mode = 2
|
|
theme_override_constants/separation = 22
|
|
alignment = 1
|
|
|
|
[node name="Title" type="Label" parent="Root/EndPanel/VBox"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 56
|
|
text = "VICTORY"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="Detail" type="Label" parent="Root/EndPanel/VBox"]
|
|
layout_mode = 2
|
|
theme_override_font_sizes/font_size = 22
|
|
horizontal_alignment = 1
|
|
autowrap_mode = 3
|
|
|
|
[node name="RestartButton" type="Button" parent="Root/EndPanel/VBox"]
|
|
custom_minimum_size = Vector2(320, 64)
|
|
layout_mode = 2
|
|
size_flags_horizontal = 4
|
|
theme_override_font_sizes/font_size = 26
|
|
text = "Restart (R / Start)"
|