did a lot of stuff holy shit
This commit is contained in:
73
scenes/gui/menus/close_game_confirmation.tscn
Normal file
73
scenes/gui/menus/close_game_confirmation.tscn
Normal file
@@ -0,0 +1,73 @@
|
||||
[gd_scene load_steps=3 format=3 uid="uid://dvb7rkyyyllkc"]
|
||||
|
||||
[ext_resource type="Script" path="res://scripts/close_game_confirmation.gd" id="1_7dm65"]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2juxv"]
|
||||
bg_color = Color(0, 0, 0, 0.482353)
|
||||
corner_radius_top_left = 25
|
||||
corner_radius_top_right = 25
|
||||
corner_radius_bottom_right = 25
|
||||
corner_radius_bottom_left = 25
|
||||
|
||||
[node name="CloseGameConfirmation" type="CanvasLayer"]
|
||||
layer = 6
|
||||
visible = false
|
||||
script = ExtResource("1_7dm65")
|
||||
|
||||
[node name="Panel" type="Panel" parent="."]
|
||||
custom_minimum_size = Vector2(615, 360)
|
||||
anchors_preset = 8
|
||||
anchor_left = 0.5
|
||||
anchor_top = 0.5
|
||||
anchor_right = 0.5
|
||||
anchor_bottom = 0.5
|
||||
offset_left = -446.0
|
||||
offset_top = -278.0
|
||||
offset_right = 446.0
|
||||
offset_bottom = 278.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_styles/panel = SubResource("StyleBoxFlat_2juxv")
|
||||
|
||||
[node name="RichTextLabel" type="RichTextLabel" parent="Panel"]
|
||||
layout_mode = 2
|
||||
offset_top = 116.0
|
||||
offset_right = 892.0
|
||||
offset_bottom = 356.0
|
||||
size_flags_vertical = 4
|
||||
theme_override_font_sizes/normal_font_size = 48
|
||||
bbcode_enabled = true
|
||||
text = "[center]Möchtest du das
|
||||
Spiel beenden
|
||||
und zurrück zum Hauptmenü
|
||||
oder zurrück zum Desktop?"
|
||||
fit_content = true
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="Panel"]
|
||||
layout_mode = 2
|
||||
offset_left = 89.0
|
||||
offset_top = 454.0
|
||||
offset_right = 803.0
|
||||
offset_bottom = 522.0
|
||||
size_flags_horizontal = 4
|
||||
size_flags_vertical = 8
|
||||
theme_override_constants/separation = 170
|
||||
|
||||
[node name="MainMenu" type="Button" parent="Panel/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 0
|
||||
size_flags_vertical = 4
|
||||
focus_mode = 0
|
||||
theme_override_font_sizes/font_size = 48
|
||||
text = "Zum Hauptmenü"
|
||||
|
||||
[node name="Close" type="Button" parent="Panel/HBoxContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 8
|
||||
focus_mode = 0
|
||||
theme_override_font_sizes/font_size = 48
|
||||
text = "Zum Desktop
|
||||
"
|
||||
|
||||
[connection signal="pressed" from="Panel/HBoxContainer/MainMenu" to="." method="_on_main_menu_pressed"]
|
||||
[connection signal="pressed" from="Panel/HBoxContainer/Close" to="." method="_on_close_pressed"]
|
Reference in New Issue
Block a user