mtd/Scenes/Menus/lost_game_screen.tscn

59 lines
1.4 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=2 format=3 uid="uid://dsydnch32qh2h"]
[ext_resource type="Script" path="res://Scripts/lost_game_screen.gd" id="1_1pne8"]
[node name="Control" 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_1pne8")
[node name="ColorRect" type="ColorRect" parent="."]
layout_mode = 1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0.745098)
[node name="Label" type="Label" parent="."]
layout_mode = 1
anchors_preset = -1
anchor_left = 0.5
anchor_right = 0.5
offset_left = -33.5
offset_top = 145.0
offset_right = 33.5
offset_bottom = 26.0
grow_horizontal = 2
text = "You Lost"
2023-12-09 01:09:12 +11:00
[node name="HBoxContainer" type="HBoxContainer" parent="."]
layout_mode = 1
2023-12-09 01:09:12 +11:00
anchors_preset = 8
anchor_left = 0.5
2023-12-09 01:09:12 +11:00
anchor_top = 0.5
anchor_right = 0.5
2023-12-09 01:09:12 +11:00
anchor_bottom = 0.5
offset_left = -274.0
offset_top = -20.0
offset_right = 274.0
offset_bottom = 20.0
grow_horizontal = 2
2023-12-09 01:09:12 +11:00
grow_vertical = 2
[node name="RestartButton" type="Button" parent="HBoxContainer"]
layout_mode = 2
text = "Play Again"
2023-12-09 01:09:12 +11:00
[node name="QuitButton" type="Button" parent="HBoxContainer"]
layout_mode = 2
2023-11-20 21:20:29 +11:00
text = "Quit to main menu"
2023-12-09 01:09:12 +11:00
[connection signal="pressed" from="HBoxContainer/RestartButton" to="." method="_on_restart_button_pressed"]
[connection signal="pressed" from="HBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]