gae_wild_jam/scenes/mainmenu.tscn

210 lines
8.9 KiB
Plaintext

[gd_scene format=3 uid="uid://b3dfeupbstcs8"]
[ext_resource type="Script" uid="uid://c3l4dvs4hcd5k" path="res://scripts/mainmenu.gd" id="1_5mbse"]
[ext_resource type="Texture2D" uid="uid://2ddggeetjj1t" path="res://assets/images/screenshot_game.png" id="3_r3g3c"]
[ext_resource type="FontFile" uid="uid://8v71dcws4q6o" path="res://assets/fonts/slkscre.ttf" id="4_3vvtq"]
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_normal"]
content_margin_left = 10.0
content_margin_top = 4.0
content_margin_right = 10.0
content_margin_bottom = 4.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_hover"]
bg_color = Color(0.45, 0.1, 0.7, 0.35)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0.75, 0.45, 1.0, 0.75)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
content_margin_left = 10.0
content_margin_top = 4.0
content_margin_right = 10.0
content_margin_bottom = 4.0
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_pressed"]
bg_color = Color(0.3, 0.05, 0.5, 0.55)
border_width_left = 2
border_width_top = 2
border_width_right = 2
border_width_bottom = 2
border_color = Color(0.9, 0.6, 1.0, 1.0)
corner_radius_top_left = 3
corner_radius_top_right = 3
corner_radius_bottom_right = 3
corner_radius_bottom_left = 3
content_margin_left = 10.0
content_margin_top = 4.0
content_margin_right = 10.0
content_margin_bottom = 4.0
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_focus"]
content_margin_left = 10.0
content_margin_top = 4.0
content_margin_right = 10.0
content_margin_bottom = 4.0
[node name="mainmenu" type="CanvasLayer" unique_id=48528055]
script = ExtResource("1_5mbse")
[node name="BackgroundSprite" type="TextureRect" parent="." unique_id=437917373]
z_index = -2
offset_left = 4.0
offset_top = 2.0
offset_right = 1277.0
offset_bottom = 718.0
texture = ExtResource("3_r3g3c")
expand_mode = 2
[node name="BackgroundRect" type="ColorRect" parent="." unique_id=189171469]
z_index = -1
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
grow_horizontal = 2
grow_vertical = 2
color = Color(0, 0, 0, 0.55)
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1844679990]
z_index = 1
anchors_preset = 8
anchor_left = 0.5
anchor_top = 0.5
anchor_right = 0.5
anchor_bottom = 0.5
offset_left = -308.5
offset_top = -106.0
offset_right = 308.5
offset_bottom = 106.0
grow_horizontal = 2
grow_vertical = 2
theme_override_constants/separation = 16
alignment = 1
[node name="Label" type="Label" parent="VBoxContainer" unique_id=2039313375]
layout_mode = 2
theme_override_colors/font_color = Color(1, 0.9, 0.6, 1)
theme_override_colors/font_outline_color = Color(0.4, 0.05, 0.65, 1)
theme_override_constants/outline_size = 3
theme_override_fonts/font = ExtResource("4_3vvtq")
theme_override_font_sizes/font_size = 64
text = "Hexwarden"
horizontal_alignment = 1
[node name="Spacer" type="Control" parent="VBoxContainer" unique_id=111111111]
layout_mode = 2
custom_minimum_size = Vector2(0, 20)
[node name="PlayButton" type="Button" parent="VBoxContainer" unique_id=1536378372]
custom_minimum_size = Vector2(250, 50)
layout_mode = 2
theme_override_colors/font_color = Color(1, 0.95, 0.8, 1)
theme_override_colors/font_hover_color = Color(1, 1, 0.55, 1)
theme_override_colors/font_pressed_color = Color(1, 1, 0.75, 1)
theme_override_colors/font_focus_color = Color(1, 0.95, 0.8, 1)
theme_override_fonts/font = ExtResource("4_3vvtq")
theme_override_font_sizes/font_size = 32
theme_override_styles/normal = SubResource("StyleBoxEmpty_normal")
theme_override_styles/hover = SubResource("StyleBoxFlat_hover")
theme_override_styles/pressed = SubResource("StyleBoxFlat_pressed")
theme_override_styles/focus = SubResource("StyleBoxEmpty_focus")
theme_override_styles/disabled = SubResource("StyleBoxEmpty_normal")
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_pressed")
text = "Play"
[node name="AchievementsButton" type="Button" parent="VBoxContainer" unique_id=444444444]
custom_minimum_size = Vector2(250, 50)
layout_mode = 2
theme_override_colors/font_color = Color(1, 0.95, 0.8, 1)
theme_override_colors/font_hover_color = Color(1, 1, 0.55, 1)
theme_override_colors/font_pressed_color = Color(1, 1, 0.75, 1)
theme_override_colors/font_focus_color = Color(1, 0.95, 0.8, 1)
theme_override_fonts/font = ExtResource("4_3vvtq")
theme_override_font_sizes/font_size = 32
theme_override_styles/normal = SubResource("StyleBoxEmpty_normal")
theme_override_styles/hover = SubResource("StyleBoxFlat_hover")
theme_override_styles/pressed = SubResource("StyleBoxFlat_pressed")
theme_override_styles/focus = SubResource("StyleBoxEmpty_focus")
theme_override_styles/disabled = SubResource("StyleBoxEmpty_normal")
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_pressed")
text = "Achievements"
[node name="StatsButton" type="Button" parent="VBoxContainer" unique_id=333333333]
custom_minimum_size = Vector2(250, 50)
layout_mode = 2
theme_override_colors/font_color = Color(1, 0.95, 0.8, 1)
theme_override_colors/font_hover_color = Color(1, 1, 0.55, 1)
theme_override_colors/font_pressed_color = Color(1, 1, 0.75, 1)
theme_override_colors/font_focus_color = Color(1, 0.95, 0.8, 1)
theme_override_fonts/font = ExtResource("4_3vvtq")
theme_override_font_sizes/font_size = 32
theme_override_styles/normal = SubResource("StyleBoxEmpty_normal")
theme_override_styles/hover = SubResource("StyleBoxFlat_hover")
theme_override_styles/pressed = SubResource("StyleBoxFlat_pressed")
theme_override_styles/focus = SubResource("StyleBoxEmpty_focus")
theme_override_styles/disabled = SubResource("StyleBoxEmpty_normal")
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_pressed")
text = "Stats"
[node name="OptionsButton" type="Button" parent="VBoxContainer" unique_id=1460263213]
custom_minimum_size = Vector2(250, 50)
layout_mode = 2
theme_override_colors/font_color = Color(1, 0.95, 0.8, 1)
theme_override_colors/font_hover_color = Color(1, 1, 0.55, 1)
theme_override_colors/font_pressed_color = Color(1, 1, 0.75, 1)
theme_override_colors/font_focus_color = Color(1, 0.95, 0.8, 1)
theme_override_fonts/font = ExtResource("4_3vvtq")
theme_override_font_sizes/font_size = 32
theme_override_styles/normal = SubResource("StyleBoxEmpty_normal")
theme_override_styles/hover = SubResource("StyleBoxFlat_hover")
theme_override_styles/pressed = SubResource("StyleBoxFlat_pressed")
theme_override_styles/focus = SubResource("StyleBoxEmpty_focus")
theme_override_styles/disabled = SubResource("StyleBoxEmpty_normal")
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_pressed")
text = "Options"
[node name="CreditsButton" type="Button" parent="VBoxContainer" unique_id=98861855]
custom_minimum_size = Vector2(250, 50)
layout_mode = 2
theme_override_colors/font_color = Color(1, 0.95, 0.8, 1)
theme_override_colors/font_hover_color = Color(1, 1, 0.55, 1)
theme_override_colors/font_pressed_color = Color(1, 1, 0.75, 1)
theme_override_colors/font_focus_color = Color(1, 0.95, 0.8, 1)
theme_override_fonts/font = ExtResource("4_3vvtq")
theme_override_font_sizes/font_size = 32
theme_override_styles/normal = SubResource("StyleBoxEmpty_normal")
theme_override_styles/hover = SubResource("StyleBoxFlat_hover")
theme_override_styles/pressed = SubResource("StyleBoxFlat_pressed")
theme_override_styles/focus = SubResource("StyleBoxEmpty_focus")
theme_override_styles/disabled = SubResource("StyleBoxEmpty_normal")
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_pressed")
text = "Credits"
[node name="QuitButton" type="Button" parent="VBoxContainer" unique_id=1704957427]
custom_minimum_size = Vector2(250, 50)
layout_mode = 2
theme_override_colors/font_color = Color(1, 0.95, 0.8, 1)
theme_override_colors/font_hover_color = Color(1, 1, 0.55, 1)
theme_override_colors/font_pressed_color = Color(1, 1, 0.75, 1)
theme_override_colors/font_focus_color = Color(1, 0.95, 0.8, 1)
theme_override_fonts/font = ExtResource("4_3vvtq")
theme_override_font_sizes/font_size = 32
theme_override_styles/normal = SubResource("StyleBoxEmpty_normal")
theme_override_styles/hover = SubResource("StyleBoxFlat_hover")
theme_override_styles/pressed = SubResource("StyleBoxFlat_pressed")
theme_override_styles/focus = SubResource("StyleBoxEmpty_focus")
theme_override_styles/disabled = SubResource("StyleBoxEmpty_normal")
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_pressed")
text = "Quit"
[connection signal="pressed" from="VBoxContainer/PlayButton" to="." method="_on_play_button_pressed"]
[connection signal="pressed" from="VBoxContainer/OptionsButton" to="." method="_on_options_button_pressed"]
[connection signal="pressed" from="VBoxContainer/CreditsButton" to="." method="_on_credits_button_pressed"]
[connection signal="pressed" from="VBoxContainer/AchievementsButton" to="." method="_on_achievements_button_pressed"]
[connection signal="pressed" from="VBoxContainer/StatsButton" to="." method="_on_stats_button_pressed"]
[connection signal="pressed" from="VBoxContainer/QuitButton" to="." method="_on_quit_button_pressed"]