overhauled menu's
parent
d89ff29a97
commit
856aaefb38
|
|
@ -2,13 +2,10 @@
|
|||
|
||||
[sub_resource type="AudioEffectReverb" id="AudioEffectReverb_purge"]
|
||||
predelay_msec = 30.0
|
||||
predelay_feedback = 0.4
|
||||
room_size = 0.9
|
||||
damping = 0.4
|
||||
spread = 1.0
|
||||
dry = 0.6
|
||||
wet = 0.4
|
||||
hipass = 0.0
|
||||
|
||||
[resource]
|
||||
bus/1/name = &"Music"
|
||||
|
|
|
|||
|
|
@ -80,7 +80,7 @@ custom_features=""
|
|||
export_filter="all_resources"
|
||||
include_filter=""
|
||||
exclude_filter=""
|
||||
export_path="../Hexwarden/index.html"
|
||||
export_path="../Hexwarden_postjam/index.html"
|
||||
patches=PackedStringArray()
|
||||
patch_delta_encoding=false
|
||||
patch_delta_compression_level_zstd=19
|
||||
|
|
|
|||
|
|
@ -4,6 +4,50 @@
|
|||
[ext_resource type="Texture2D" uid="uid://2ddggeetjj1t" path="res://assets/images/screenshot_game.png" id="1_2ckv8"]
|
||||
[ext_resource type="FontFile" uid="uid://8v71dcws4q6o" path="res://assets/fonts/slkscre.ttf" id="2_0ctdu"]
|
||||
|
||||
[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="Credits" type="CanvasLayer" unique_id=45816245]
|
||||
script = ExtResource("1_0ctdu")
|
||||
|
||||
|
|
@ -23,7 +67,7 @@ anchor_right = 1.0
|
|||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0, 0, 0, 0.47058824)
|
||||
color = Color(0, 0, 0, 0.55)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=391956149]
|
||||
z_index = 1
|
||||
|
|
@ -38,11 +82,14 @@ offset_right = 308.5
|
|||
offset_bottom = 106.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = 50
|
||||
theme_override_constants/separation = 16
|
||||
alignment = 1
|
||||
|
||||
[node name="TitleLabel" type="Label" parent="VBoxContainer" unique_id=155909881]
|
||||
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("2_0ctdu")
|
||||
theme_override_font_sizes/font_size = 64
|
||||
text = "Credits"
|
||||
|
|
@ -50,6 +97,7 @@ horizontal_alignment = 1
|
|||
|
||||
[node name="CreditsLabel" type="Label" parent="VBoxContainer" unique_id=267626570]
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(0.9, 0.85, 0.75, 1)
|
||||
theme_override_fonts/font = ExtResource("2_0ctdu")
|
||||
theme_override_font_sizes/font_size = 20
|
||||
text = "Assets — Swordsman, Slimes, Tiles craftpix.net
|
||||
|
|
@ -60,9 +108,20 @@ Music — Main Menu (8 Bit Dungeon) Kaden_Cook
|
|||
Music — In-Game (Ashveil) Pixelmaniax"
|
||||
|
||||
[node name="BackButton" type="Button" parent="VBoxContainer" unique_id=561894849]
|
||||
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("2_0ctdu")
|
||||
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 = "Back"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/BackButton" to="." method="_on_back_button_pressed"]
|
||||
|
|
|
|||
103
scenes/game.tscn
103
scenes/game.tscn
|
|
@ -2347,6 +2347,50 @@ physics_layer_0/collision_layer = 1
|
|||
sources/0 = SubResource("TileSetAtlasSource_vtaks")
|
||||
sources/1 = SubResource("TileSetAtlasSource_kvpfn")
|
||||
|
||||
[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_pm_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_pm_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_pm_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_pm_focus"]
|
||||
content_margin_left = 10.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_right = 10.0
|
||||
content_margin_bottom = 4.0
|
||||
|
||||
[node name="Game" type="Node2D" unique_id=1188224334]
|
||||
script = ExtResource("1_vtaks")
|
||||
|
||||
|
|
@ -2506,35 +2550,68 @@ offset_right = 308.5
|
|||
offset_bottom = 106.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = 50
|
||||
theme_override_constants/separation = 16
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="PauseMenu/VBoxContainer" unique_id=1321477768]
|
||||
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("19_1kice")
|
||||
theme_override_font_sizes/font_size = 64
|
||||
text = "Pause"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="ContinueButton" type="Button" parent="PauseMenu/VBoxContainer" unique_id=760316781]
|
||||
custom_minimum_size = Vector2(200, 45)
|
||||
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("19_1kice")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_pm_normal")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_pm_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_pm_pressed")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_pm_focus")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_pm_normal")
|
||||
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_pm_pressed")
|
||||
text = "Continue"
|
||||
|
||||
[node name="OptionsButton" type="Button" parent="PauseMenu/VBoxContainer" unique_id=857989621]
|
||||
custom_minimum_size = Vector2(200, 45)
|
||||
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("19_1kice")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_pm_normal")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_pm_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_pm_pressed")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_pm_focus")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_pm_normal")
|
||||
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_pm_pressed")
|
||||
text = "Options"
|
||||
|
||||
[node name="QuitButton" type="Button" parent="PauseMenu/VBoxContainer" unique_id=1745540926]
|
||||
custom_minimum_size = Vector2(200, 45)
|
||||
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("19_1kice")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_pm_normal")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_pm_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_pm_pressed")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_pm_focus")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_pm_normal")
|
||||
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_pm_pressed")
|
||||
text = "Quit"
|
||||
|
||||
[node name="OptionsMenu" type="Control" parent="PauseMenu" unique_id=1962611001]
|
||||
|
|
@ -2565,6 +2642,9 @@ alignment = 1
|
|||
|
||||
[node name="Label" type="Label" parent="PauseMenu/OptionsMenu/VBoxContainer" unique_id=2020901742]
|
||||
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("19_1kice")
|
||||
theme_override_font_sizes/font_size = 64
|
||||
text = "Options"
|
||||
|
|
@ -2578,6 +2658,7 @@ alignment = 1
|
|||
[node name="Label" type="Label" parent="PauseMenu/OptionsMenu/VBoxContainer/HBoxContainer" unique_id=1154725043]
|
||||
custom_minimum_size = Vector2(150, 0)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 0.95, 0.8, 1)
|
||||
theme_override_fonts/font = ExtResource("19_1kice")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "Music Volume"
|
||||
|
|
@ -2594,6 +2675,7 @@ alignment = 1
|
|||
[node name="Label" type="Label" parent="PauseMenu/OptionsMenu/VBoxContainer/HBoxContainer3" unique_id=154714416]
|
||||
custom_minimum_size = Vector2(150, 0)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 0.95, 0.8, 1)
|
||||
theme_override_fonts/font = ExtResource("19_1kice")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "SFX Volume"
|
||||
|
|
@ -2610,6 +2692,7 @@ alignment = 1
|
|||
[node name="Label" type="Label" parent="PauseMenu/OptionsMenu/VBoxContainer/HBoxContainer2" unique_id=1472770579]
|
||||
custom_minimum_size = Vector2(150, 0)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 0.95, 0.8, 1)
|
||||
theme_override_fonts/font = ExtResource("19_1kice")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "Fullscreen"
|
||||
|
|
@ -2618,10 +2701,20 @@ text = "Fullscreen"
|
|||
layout_mode = 2
|
||||
|
||||
[node name="BackButton" type="Button" parent="PauseMenu/OptionsMenu/VBoxContainer" unique_id=141581932]
|
||||
custom_minimum_size = Vector2(200, 45)
|
||||
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("19_1kice")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
theme_override_styles/normal = SubResource("StyleBoxEmpty_pm_normal")
|
||||
theme_override_styles/hover = SubResource("StyleBoxFlat_pm_hover")
|
||||
theme_override_styles/pressed = SubResource("StyleBoxFlat_pm_pressed")
|
||||
theme_override_styles/focus = SubResource("StyleBoxEmpty_pm_focus")
|
||||
theme_override_styles/disabled = SubResource("StyleBoxEmpty_pm_normal")
|
||||
theme_override_styles/hover_pressed = SubResource("StyleBoxFlat_pm_pressed")
|
||||
text = "Back"
|
||||
|
||||
[connection signal="pressed" from="PauseMenu/VBoxContainer/ContinueButton" to="PauseMenu" method="_on_continue_button_pressed"]
|
||||
|
|
|
|||
|
|
@ -3,6 +3,50 @@
|
|||
[ext_resource type="Script" path="res://scripts/game_over.gd" id="1_go"]
|
||||
[ext_resource type="FontFile" path="res://assets/fonts/slkscre.ttf" id="2_go"]
|
||||
|
||||
[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="GameOver" type="CanvasLayer"]
|
||||
layer = 12
|
||||
process_mode = 3
|
||||
|
|
@ -20,32 +64,54 @@ offset_right = 200.0
|
|||
offset_bottom = 120.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = 40
|
||||
theme_override_constants/separation = 24
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer"]
|
||||
layout_mode = 2
|
||||
theme_override_fonts/font = ExtResource("2_go")
|
||||
theme_override_font_sizes/font_size = 64
|
||||
theme_override_colors/font_color = Color(1, 1, 1, 1)
|
||||
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_colors/font_shadow_color = Color(0, 0, 0, 1)
|
||||
theme_override_constants/shadow_offset_x = 2
|
||||
theme_override_constants/shadow_offset_y = 2
|
||||
theme_override_fonts/font = ExtResource("2_go")
|
||||
theme_override_font_sizes/font_size = 64
|
||||
text = "Game Over"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="RetryButton" type="Button" parent="VBoxContainer"]
|
||||
custom_minimum_size = Vector2(200, 45)
|
||||
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("2_go")
|
||||
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 = "Retry"
|
||||
|
||||
[node name="MainMenuButton" type="Button" parent="VBoxContainer"]
|
||||
custom_minimum_size = Vector2(200, 45)
|
||||
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("2_go")
|
||||
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 = "Main Menu"
|
||||
|
||||
[connection signal="pressed" from="VBoxContainer/RetryButton" to="." method="_on_retry_pressed"]
|
||||
|
|
|
|||
|
|
@ -4,6 +4,50 @@
|
|||
[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")
|
||||
|
||||
|
|
@ -23,7 +67,7 @@ anchor_right = 1.0
|
|||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0, 0, 0, 0.47058824)
|
||||
color = Color(0, 0, 0, 0.55)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=1844679990]
|
||||
z_index = 1
|
||||
|
|
@ -38,41 +82,89 @@ offset_right = 308.5
|
|||
offset_bottom = 106.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = 50
|
||||
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="PlayButton" type="Button" parent="VBoxContainer" unique_id=1536378372]
|
||||
custom_minimum_size = Vector2(200, 45)
|
||||
[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="OptionsButton" type="Button" parent="VBoxContainer" unique_id=1460263213]
|
||||
custom_minimum_size = Vector2(200, 45)
|
||||
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(200, 45)
|
||||
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"]
|
||||
|
|
|
|||
|
|
@ -4,6 +4,50 @@
|
|||
[ext_resource type="Texture2D" uid="uid://2ddggeetjj1t" path="res://assets/images/screenshot_game.png" id="2_kv8mn"]
|
||||
[ext_resource type="FontFile" uid="uid://8v71dcws4q6o" path="res://assets/fonts/slkscre.ttf" id="3_1sggn"]
|
||||
|
||||
[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="options" type="CanvasLayer" unique_id=1052266028]
|
||||
script = ExtResource("1_2iy26")
|
||||
|
||||
|
|
@ -23,7 +67,7 @@ anchor_right = 1.0
|
|||
anchor_bottom = 1.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
color = Color(0, 0, 0, 0.47058824)
|
||||
color = Color(0, 0, 0, 0.55)
|
||||
|
||||
[node name="VBoxContainer" type="VBoxContainer" parent="." unique_id=422787080]
|
||||
z_index = 1
|
||||
|
|
@ -38,16 +82,23 @@ offset_right = 308.5
|
|||
offset_bottom = 106.0
|
||||
grow_horizontal = 2
|
||||
grow_vertical = 2
|
||||
theme_override_constants/separation = 50
|
||||
theme_override_constants/separation = 20
|
||||
alignment = 1
|
||||
|
||||
[node name="Label" type="Label" parent="VBoxContainer" unique_id=1435679909]
|
||||
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("3_1sggn")
|
||||
theme_override_font_sizes/font_size = 64
|
||||
text = "Options"
|
||||
horizontal_alignment = 1
|
||||
|
||||
[node name="Spacer" type="Control" parent="VBoxContainer" unique_id=111111221]
|
||||
layout_mode = 2
|
||||
custom_minimum_size = Vector2(0, 10)
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer" parent="VBoxContainer" unique_id=1082653827]
|
||||
custom_minimum_size = Vector2(300, 0)
|
||||
layout_mode = 2
|
||||
|
|
@ -56,6 +107,7 @@ alignment = 1
|
|||
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer" unique_id=388379542]
|
||||
custom_minimum_size = Vector2(150, 0)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 0.95, 0.8, 1)
|
||||
theme_override_fonts/font = ExtResource("3_1sggn")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "Music Volume"
|
||||
|
|
@ -72,6 +124,7 @@ alignment = 1
|
|||
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer3" unique_id=1188599982]
|
||||
custom_minimum_size = Vector2(150, 0)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 0.95, 0.8, 1)
|
||||
theme_override_fonts/font = ExtResource("3_1sggn")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "SFX Volume"
|
||||
|
|
@ -88,6 +141,7 @@ alignment = 1
|
|||
[node name="Label" type="Label" parent="VBoxContainer/HBoxContainer2" unique_id=1484176872]
|
||||
custom_minimum_size = Vector2(150, 0)
|
||||
layout_mode = 2
|
||||
theme_override_colors/font_color = Color(1, 0.95, 0.8, 1)
|
||||
theme_override_fonts/font = ExtResource("3_1sggn")
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "Fullscreen"
|
||||
|
|
@ -96,10 +150,20 @@ text = "Fullscreen"
|
|||
layout_mode = 2
|
||||
|
||||
[node name="BackButton" type="Button" parent="VBoxContainer" unique_id=2058400072]
|
||||
custom_minimum_size = Vector2(200, 45)
|
||||
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("3_1sggn")
|
||||
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 = "Back"
|
||||
|
||||
[connection signal="value_changed" from="VBoxContainer/HBoxContainer/HSlider" to="." method="_on_h_slider_value_changed"]
|
||||
|
|
|
|||
Loading…
Reference in New Issue