GAE_CA1/Scenes/main_menu.tscn

190 lines
7.1 KiB
Plaintext

[gd_scene format=3 uid="uid://sf78wpryyft7"]
[ext_resource type="FontFile" uid="uid://dbu0r5650h6y7" path="res://Fonts/KiwiSoda.ttf" id="1_28flt"]
[ext_resource type="Script" uid="uid://8g3gdfyuksax" path="res://skripts/main_menu_controller.gd" id="1_48xlc"]
[ext_resource type="Theme" uid="uid://rn5l7iugkw5s" path="res://new_theme.tres" id="3_1ehe0"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_48xlc"]
bg_color = Color(0.1254902, 0.02745098, 0.26666668, 1)
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_1ehe0"]
bg_color = Color(0.18039216, 0.45882353, 0.4392157, 1)
border_width_left = 2
border_width_top = 2
border_width_right = 4
border_width_bottom = 4
border_color = Color(0.14065835, 0.3659903, 0.34897313, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
expand_margin_left = 2.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_ce3w2"]
bg_color = Color(0.26100412, 0.61357796, 0.5883736, 1)
border_color = Color(0.21215287, 0.5063467, 0.48551875, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
expand_margin_left = 2.0
expand_margin_top = 2.0
expand_margin_right = 2.0
expand_margin_bottom = 2.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_n45e2"]
bg_color = Color(0.18039216, 0.45882353, 0.4392157, 1)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0.14065835, 0.3659903, 0.34897313, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
expand_margin_left = 2.0
expand_margin_top = 2.0
expand_margin_right = 2.0
expand_margin_bottom = 2.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_opfnp"]
bg_color = Color(0.7921569, 0.45882353, 0.30588236, 1)
border_width_left = 1
border_width_top = 1
border_width_right = 3
border_width_bottom = 3
border_color = Color(0.7177962, 0.40152806, 0.25506192, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_cp0ys"]
bg_color = Color(0.90224844, 0.6053674, 0.47324282, 1)
border_width_left = 2
border_width_top = 2
border_width_right = 4
border_width_bottom = 4
border_color = Color(0.9088118, 0.6212253, 0.49359322, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
expand_margin_left = 2.0
expand_margin_top = 2.0
expand_margin_right = 2.0
expand_margin_bottom = 2.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_yhxw7"]
bg_color = Color(0.7921569, 0.45882353, 0.30588236, 1)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.7176471, 0.4, 0.25882354, 1)
corner_radius_top_left = 2
corner_radius_top_right = 2
corner_radius_bottom_right = 2
corner_radius_bottom_left = 2
expand_margin_left = 2.0
expand_margin_top = 2.0
expand_margin_right = 2.0
expand_margin_bottom = 2.0
[node name="MainMenu" type="Node2D" unique_id=1533600064]
script = ExtResource("1_48xlc")
[node name="Camera2D" type="Camera2D" parent="." unique_id=1271116070]
position = Vector2(240, 135)
[node name="CanvasLayer" type="CanvasLayer" parent="." unique_id=1245747037]
[node name="Panel" type="Panel" parent="CanvasLayer" unique_id=1503602126]
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
theme_override_styles/panel = SubResource("StyleBoxFlat_48xlc")
[node name="VBoxContainer" type="VBoxContainer" parent="CanvasLayer" unique_id=617163479]
anchors_preset = 5
anchor_left = 0.5
anchor_right = 0.5
offset_left = -166.5
offset_right = 166.5
offset_bottom = 217.0
grow_horizontal = 2
[node name="MarginContainer" type="MarginContainer" parent="CanvasLayer/VBoxContainer" unique_id=539589845]
layout_mode = 2
theme_override_constants/margin_top = 27
[node name="Titel" type="Label" parent="CanvasLayer/VBoxContainer" unique_id=142701763]
layout_mode = 2
theme_override_colors/font_color = Color(1, 1, 1, 1)
theme_override_colors/font_shadow_color = Color(1, 0.41960785, 0.33333334, 0.4862745)
theme_override_colors/font_outline_color = Color(0.6279089, 0.30771735, 0, 1)
theme_override_constants/shadow_offset_x = 4
theme_override_constants/shadow_offset_y = 3
theme_override_constants/outline_size = 3
theme_override_constants/shadow_outline_size = -4
theme_override_fonts/font = ExtResource("1_28flt")
theme_override_font_sizes/font_size = 47
text = "Brewing from Memory"
horizontal_alignment = 1
[node name="MarginContainer2" type="MarginContainer" parent="CanvasLayer/VBoxContainer" unique_id=1111800154]
layout_mode = 2
theme_override_constants/margin_top = 18
theme_override_constants/margin_bottom = 20
[node name="Play_button" type="Button" parent="CanvasLayer/VBoxContainer" unique_id=1220657802]
custom_minimum_size = Vector2(98, 0)
layout_mode = 2
size_flags_horizontal = 4
theme = ExtResource("3_1ehe0")
theme_override_styles/normal = SubResource("StyleBoxFlat_1ehe0")
theme_override_styles/pressed = SubResource("StyleBoxFlat_ce3w2")
theme_override_styles/hover = SubResource("StyleBoxFlat_n45e2")
text = "PLAY"
[node name="Option_button" type="Button" parent="CanvasLayer/VBoxContainer" unique_id=986141824]
custom_minimum_size = Vector2(100, 0)
layout_mode = 2
size_flags_horizontal = 4
theme = ExtResource("3_1ehe0")
theme_override_styles/normal = SubResource("StyleBoxFlat_opfnp")
theme_override_styles/pressed = SubResource("StyleBoxFlat_cp0ys")
theme_override_styles/hover = SubResource("StyleBoxFlat_yhxw7")
text = "Option"
[node name="MarginContainer2" type="MarginContainer" parent="CanvasLayer/VBoxContainer/Option_button" unique_id=1674972000]
layout_mode = 0
[node name="HBoxContainer" type="HBoxContainer" parent="CanvasLayer/VBoxContainer" unique_id=2010611298]
layout_mode = 2
size_flags_horizontal = 4
theme = ExtResource("3_1ehe0")
[node name="Quit_button" type="Button" parent="CanvasLayer/VBoxContainer/HBoxContainer" unique_id=1584132754]
layout_mode = 2
theme_override_constants/line_spacing = 0
theme_override_styles/normal = SubResource("StyleBoxFlat_opfnp")
theme_override_styles/pressed = SubResource("StyleBoxFlat_cp0ys")
theme_override_styles/hover = SubResource("StyleBoxFlat_yhxw7")
text = "Quit"
[node name="Credit_Button" type="Button" parent="CanvasLayer/VBoxContainer/HBoxContainer" unique_id=189504374]
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_opfnp")
theme_override_styles/pressed = SubResource("StyleBoxFlat_cp0ys")
theme_override_styles/hover = SubResource("StyleBoxFlat_yhxw7")
text = "Credits"
[connection signal="pressed" from="CanvasLayer/VBoxContainer/Play_button" to="." method="_on_play_button_pressed"]
[connection signal="pressed" from="CanvasLayer/VBoxContainer/Option_button" to="." method="_on_option_button_pressed"]
[connection signal="pressed" from="CanvasLayer/VBoxContainer/HBoxContainer/Quit_button" to="." method="_on_quit_button_pressed"]
[connection signal="pressed" from="CanvasLayer/VBoxContainer/HBoxContainer/Credit_Button" to="." method="_on_credit_button_pressed"]