gae_wild_jam/scenes/game_over.tscn

53 lines
1.6 KiB
Plaintext

[gd_scene format=3]
[ext_resource type="Script" path="res://scripts/game_over.gd" id="1_go"]
[ext_resource type="FontFile" path="res://assets/fonts/slkscre.ttf" id="2_go"]
[node name="GameOver" type="CanvasLayer"]
layer = 12
process_mode = 3
script = ExtResource("1_go")
[node name="VBoxContainer" type="VBoxContainer" parent="."]
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 = -120.0
offset_right = 200.0
offset_bottom = 120.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 40
alignment = 1
[node name="Label" type="Label" parent="VBoxContainer"]
layout_mode = 2
theme_override_fonts/font = ExtResource("2_go")
theme_override_font_sizes/font_size = 64
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_colors/font_shadow_color = Color(0, 0, 0, 1)
theme_override_constants/shadow_offset_x = 2
theme_override_constants/shadow_offset_y = 2
text = "Game Over"
horizontal_alignment = 1
[node name="RetryButton" type="Button" parent="VBoxContainer"]
custom_minimum_size = Vector2(200, 45)
layout_mode = 2
theme_override_fonts/font = ExtResource("2_go")
theme_override_font_sizes/font_size = 32
text = "Retry"
[node name="MainMenuButton" type="Button" parent="VBoxContainer"]
custom_minimum_size = Vector2(200, 45)
layout_mode = 2
theme_override_fonts/font = ExtResource("2_go")
theme_override_font_sizes/font_size = 32
text = "Main Menu"
[connection signal="pressed" from="VBoxContainer/RetryButton" to="." method="_on_retry_pressed"]
[connection signal="pressed" from="VBoxContainer/MainMenuButton" to="." method="_on_main_menu_pressed"]