RetroPlatformer/ui/GameOverScreen.tscn

69 lines
2.2 KiB
Plaintext
Raw Normal View History

[gd_scene load_steps=5 format=2]
[ext_resource path="res://assets/fonts/minecraft.fnt" type="BitmapFont" id=1]
[ext_resource path="res://ui/GameOverScreen.gd" type="Script" id=2]
[ext_resource path="res://ui/HUD.tscn" type="PackedScene" id=3]
[sub_resource type="StyleBoxFlat" id=1]
bg_color = Color( 0.113725, 0.0901961, 0.0901961, 1 )
border_width_left = 10
border_width_top = 10
border_width_right = 10
border_width_bottom = 10
border_color = Color( 0.247059, 0.247059, 0.247059, 1 )
shadow_color = Color( 1, 1, 1, 0.6 )
shadow_size = 5
[node name="GameOverScreen" type="CanvasLayer"]
script = ExtResource( 2 )
[node name="HUD" parent="." instance=ExtResource( 3 )]
[node name="Panel" type="Panel" parent="."]
margin_left = 140.0
margin_top = 87.5
margin_right = 140.0
margin_bottom = 87.5
custom_styles/panel = SubResource( 1 )
[node name="MarginContainer" type="MarginContainer" parent="Panel"]
anchor_left = 0.25
anchor_top = 0.25
anchor_right = 0.25
anchor_bottom = 0.25
[node name="Rows" type="VBoxContainer" parent="Panel/MarginContainer"]
margin_right = 72.0
margin_bottom = 68.0
[node name="Title" type="Label" parent="Panel/MarginContainer/Rows"]
margin_right = 72.0
margin_bottom = 16.0
custom_fonts/font = ExtResource( 1 )
text = "Ded"
[node name="CenterContainer" type="CenterContainer" parent="Panel/MarginContainer/Rows"]
margin_top = 20.0
margin_right = 72.0
margin_bottom = 68.0
[node name="VBoxContainer" type="VBoxContainer" parent="Panel/MarginContainer/Rows/CenterContainer"]
margin_right = 72.0
margin_bottom = 48.0
[node name="Restart" type="Button" parent="Panel/MarginContainer/Rows/CenterContainer/VBoxContainer"]
margin_right = 72.0
margin_bottom = 22.0
custom_fonts/font = ExtResource( 1 )
text = "Restart"
[node name="Quit" type="Button" parent="Panel/MarginContainer/Rows/CenterContainer/VBoxContainer"]
margin_top = 26.0
margin_right = 72.0
margin_bottom = 48.0
custom_fonts/font = ExtResource( 1 )
text = "Quit"
[connection signal="pressed" from="Panel/MarginContainer/Rows/CenterContainer/VBoxContainer/Restart" to="." method="_on_Restart_pressed"]
[connection signal="pressed" from="Panel/MarginContainer/Rows/CenterContainer/VBoxContainer/Quit" to="." method="_on_Quit_pressed"]