80 lines
2.1 KiB
Plaintext
80 lines
2.1 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://c2leb3ngffhxx"]
|
|
|
|
[ext_resource type="Script" path="res://meniu_game_over.gd" id="1_c5pyj"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_g1t52"]
|
|
bg_color = Color(0.140447, 0.140447, 0.140447, 1)
|
|
border_width_left = 5
|
|
border_width_top = 5
|
|
border_width_right = 5
|
|
border_width_bottom = 5
|
|
border_color = Color(0, 0, 0, 1)
|
|
corner_radius_top_left = 10
|
|
corner_radius_top_right = 10
|
|
corner_radius_bottom_right = 10
|
|
corner_radius_bottom_left = 10
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cmpvw"]
|
|
bg_color = Color(0, 0, 0, 1)
|
|
border_width_left = 3
|
|
border_width_top = 3
|
|
border_width_right = 3
|
|
border_width_bottom = 3
|
|
corner_radius_top_left = 10
|
|
corner_radius_top_right = 10
|
|
corner_radius_bottom_right = 10
|
|
corner_radius_bottom_left = 10
|
|
|
|
[node name="MeniuGameOver" type="CanvasLayer"]
|
|
script = ExtResource("1_c5pyj")
|
|
|
|
[node name="PanouGameOver" type="Panel" parent="."]
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -250.0
|
|
offset_top = -175.0
|
|
offset_right = 250.0
|
|
offset_bottom = 175.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_g1t52")
|
|
|
|
[node name="LabelCastigator" type="Label" 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 = -81.0
|
|
offset_right = 200.0
|
|
offset_bottom = -26.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_font_sizes/font_size = 40
|
|
text = "Player 1 a castigat!"
|
|
horizontal_alignment = 1
|
|
vertical_alignment = 1
|
|
|
|
[node name="ButonRestart" type="Button" parent="."]
|
|
custom_minimum_size = Vector2(175, 75)
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -75.0
|
|
offset_top = -7.5
|
|
offset_right = 75.0
|
|
offset_bottom = 67.5
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_font_sizes/font_size = 30
|
|
theme_override_styles/normal = SubResource("StyleBoxFlat_cmpvw")
|
|
text = "Din nou?"
|
|
|
|
[connection signal="pressed" from="ButonRestart" to="." method="_on_buton_restart_pressed"]
|