mirror of
https://codeberg.org/Melon-Bread/Comets.gd.git
synced 2024-11-24 21:18:21 -05:00
105 lines
2.7 KiB
Plaintext
105 lines
2.7 KiB
Plaintext
[gd_scene load_steps=4 format=3 uid="uid://0yktrbyp6cr3"]
|
|
|
|
[ext_resource type="FontFile" uid="uid://bkcxbtx1vcj8w" path="res://assets/fonts/Color Basic.otf" id="1_lbk85"]
|
|
[ext_resource type="Script" path="res://scripts/game_over_screen.gd" id="1_o2tyf"]
|
|
|
|
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_73wxv"]
|
|
bg_color = Color(0, 0, 0, 1)
|
|
border_width_left = 1
|
|
border_width_top = 1
|
|
border_width_right = 1
|
|
border_width_bottom = 1
|
|
border_color = Color(1, 1, 1, 1)
|
|
border_blend = true
|
|
corner_radius_top_left = 8
|
|
corner_radius_top_right = 8
|
|
corner_radius_bottom_right = 8
|
|
corner_radius_bottom_left = 8
|
|
shadow_color = Color(1, 1, 1, 0.6)
|
|
shadow_size = 8
|
|
|
|
[node name="GameOverScreen" 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_o2tyf")
|
|
|
|
[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.596078)
|
|
|
|
[node name="Panel" type="Panel" parent="."]
|
|
layout_mode = 1
|
|
anchors_preset = 8
|
|
anchor_left = 0.5
|
|
anchor_top = 0.5
|
|
anchor_right = 0.5
|
|
anchor_bottom = 0.5
|
|
offset_left = -184.0
|
|
offset_top = -132.0
|
|
offset_right = 192.0
|
|
offset_bottom = 124.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
theme_override_styles/panel = SubResource("StyleBoxFlat_73wxv")
|
|
|
|
[node name="GameOverLabel" type="Label" parent="Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = 5
|
|
anchor_left = 0.5
|
|
anchor_right = 0.5
|
|
offset_left = -55.0
|
|
offset_top = 40.0
|
|
offset_right = 55.0
|
|
offset_bottom = 63.0
|
|
grow_horizontal = 2
|
|
theme_override_fonts/font = ExtResource("1_lbk85")
|
|
theme_override_font_sizes/font_size = 36
|
|
text = "game over"
|
|
horizontal_alignment = 1
|
|
|
|
[node name="RetryButton" type="Button" parent="Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = -100.0
|
|
offset_top = -96.0
|
|
offset_right = -30.0
|
|
offset_bottom = -65.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
theme_override_fonts/font = ExtResource("1_lbk85")
|
|
text = "retry"
|
|
|
|
[node name="QuitButton" type="Button" parent="Panel"]
|
|
layout_mode = 1
|
|
anchors_preset = 7
|
|
anchor_left = 0.5
|
|
anchor_top = 1.0
|
|
anchor_right = 0.5
|
|
anchor_bottom = 1.0
|
|
offset_left = 28.0
|
|
offset_top = -96.0
|
|
offset_right = 98.0
|
|
offset_bottom = -65.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 0
|
|
theme_override_fonts/font = ExtResource("1_lbk85")
|
|
text = "quit
|
|
"
|
|
|
|
[connection signal="visibility_changed" from="." to="." method="_on_visibility_changed"]
|
|
[connection signal="pressed" from="Panel/RetryButton" to="." method="_on_retry_button_pressed"]
|
|
[connection signal="pressed" from="Panel/QuitButton" to="." method="_on_quit_button_pressed"]
|