Files
project-thought-experiment/scenes/gui/menus/game_finished.tscn
2024-01-26 13:18:15 +01:00

79 lines
2.2 KiB
Plaintext

[gd_scene load_steps=9 format=3 uid="uid://cik0cjt5vdkxf"]
[ext_resource type="Script" path="res://scripts/menus/game_finished.gd" id="1_boc3n"]
[ext_resource type="FontFile" uid="uid://cr7a85ntk0t0k" path="res://assets/fonts/spacegrotesk_bold.ttf" id="2_6jsm4"]
[sub_resource type="LabelSettings" id="LabelSettings_0vtd5"]
font = ExtResource("2_6jsm4")
font_size = 90
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_wsdrp"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_pcy04"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_u03up"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jpy2c"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_n6en7"]
[node name="GameFinished" 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_boc3n")
[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, 1)
[node name="Label" type="Label" 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 = -702.0
offset_top = -117.5
offset_right = 702.0
offset_bottom = 117.5
grow_horizontal = 2
grow_vertical = 2
text = "Wow!
Du hast das Spiel durchgespielt!"
label_settings = SubResource("LabelSettings_0vtd5")
horizontal_alignment = 1
[node name="Button" type="Button" parent="."]
layout_mode = 1
anchors_preset = 7
anchor_left = 0.5
anchor_top = 1.0
anchor_right = 0.5
anchor_bottom = 1.0
offset_left = -63.0
offset_top = -50.0
offset_right = 63.0
offset_bottom = -9.0
grow_horizontal = 2
grow_vertical = 0
focus_mode = 0
theme_override_font_sizes/font_size = 32
theme_override_styles/normal = SubResource("StyleBoxEmpty_wsdrp")
theme_override_styles/hover = SubResource("StyleBoxEmpty_pcy04")
theme_override_styles/pressed = SubResource("StyleBoxEmpty_u03up")
theme_override_styles/disabled = SubResource("StyleBoxEmpty_jpy2c")
theme_override_styles/focus = SubResource("StyleBoxEmpty_n6en7")
text = "Hauptmenü"
[connection signal="pressed" from="Button" to="." method="_on_button_pressed"]