diff options
Diffstat (limited to 'game/theme/main_menu.tres')
-rw-r--r-- | game/theme/main_menu.tres | 146 |
1 files changed, 146 insertions, 0 deletions
diff --git a/game/theme/main_menu.tres b/game/theme/main_menu.tres new file mode 100644 index 0000000..5bf8c9a --- /dev/null +++ b/game/theme/main_menu.tres @@ -0,0 +1,146 @@ +[gd_resource type="Theme" load_steps=18 format=3 uid="uid://dx1s0qdvtcb6l"] + +[ext_resource type="Script" path="res://src/Utility/StyleBoxCombinedTexture.gd" id="1_axke7"] +[ext_resource type="Script" path="res://src/Utility/TextureSetting.gd" id="2_7bwl2"] +[ext_resource type="Texture2D" uid="uid://dapuqgpjs56bs" path="res://theme/assets/main_menu_background.png" id="3_cpatd"] +[ext_resource type="Texture2D" uid="uid://q25s41oavuxw" path="res://theme/assets/main_menu_border_paper.png" id="4_sl60o"] +[ext_resource type="Texture2D" uid="uid://c0p34i3d3b0pw" path="res://theme/assets/main_menu_button.png" id="5_xj7ql"] +[ext_resource type="StyleBox" uid="uid://4ypja147f4mb" path="res://theme/assets/main_menu_button_normal.stylebox" id="6_ibm8p"] +[ext_resource type="Script" path="res://src/Utility/StyleBoxWithSound.gd" id="7_qo00e"] +[ext_resource type="AudioStream" uid="uid://bsldcs3l8s7ug" path="res://addons/kenney_ui_audio/click3.wav" id="8_etuft"] + +[sub_resource type="Resource" id="Resource_hxpog"] +script = ExtResource("2_7bwl2") +texture = ExtResource("3_cpatd") +draw_center = true +texture_margin_left = 0.0 +texture_margin_top = 0.0 +texture_margin_right = 0.0 +texture_margin_bottom = 0.0 +expand_margin_left = 0.0 +expand_margin_top = 0.0 +expand_margin_right = 0.0 +expand_margin_bottom = 0.0 +axis_stretch_horizontal = 0 +axis_stretch_vertical = 0 +region_rect = Rect2(0, 0, 0, 0) +modulate_color = Color(1, 1, 1, 1) +content_margin_left = -1.0 +content_margin_top = -1.0 +content_margin_right = -1.0 +content_margin_bottom = -1.0 + +[sub_resource type="Resource" id="Resource_c0k5l"] +script = ExtResource("2_7bwl2") +texture = ExtResource("4_sl60o") +draw_center = true +texture_margin_left = 0.0 +texture_margin_top = 0.0 +texture_margin_right = 0.0 +texture_margin_bottom = 0.0 +expand_margin_left = 0.0 +expand_margin_top = 0.0 +expand_margin_right = 0.0 +expand_margin_bottom = 0.0 +axis_stretch_horizontal = 0 +axis_stretch_vertical = 0 +region_rect = Rect2(0, 0, 0, 0) +modulate_color = Color(1, 1, 1, 1) +content_margin_left = -1.0 +content_margin_top = -1.0 +content_margin_right = -1.0 +content_margin_bottom = -1.0 + +[sub_resource type="StyleBox" id="StyleBox_odacv"] +resource_local_to_scene = false +resource_name = "" +content_margin_left = -1.0 +content_margin_top = -1.0 +content_margin_right = -1.0 +content_margin_bottom = -1.0 +script = ExtResource("1_axke7") +texture_settings = Array[ExtResource("2_7bwl2")]([SubResource("Resource_hxpog"), SubResource("Resource_c0k5l")]) + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_dd2b8"] +content_margin_left = 20.0 +content_margin_top = 10.0 +content_margin_right = 20.0 +content_margin_bottom = 14.0 +texture = ExtResource("5_xj7ql") +modulate_color = Color(0.817521, 0.817521, 0.817521, 0.784314) + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_2txce"] +draw_center = false +border_width_left = 10 +border_width_top = 15 +border_width_right = 10 +border_width_bottom = 15 +border_color = Color(0, 0, 0, 0.584314) +border_blend = true +corner_radius_top_left = 5 +corner_radius_top_right = 5 +corner_radius_bottom_right = 5 +corner_radius_bottom_left = 5 +corner_detail = 20 + +[sub_resource type="CompressedTexture2D" id="CompressedTexture2D_wrcgq"] +load_path = "res://.godot/imported/main_menu_button.png-c10c48e0a8cab217f3c5b89e1e5b8b32.ctex" + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_3efxh"] +content_margin_left = 20.0 +content_margin_top = 10.0 +content_margin_right = 20.0 +content_margin_bottom = 14.0 +texture = SubResource("CompressedTexture2D_wrcgq") +modulate_color = Color(0.588235, 0.588235, 0.588235, 1) + +[sub_resource type="StyleBoxTexture" id="StyleBoxTexture_l2rw3"] +content_margin_left = 20.0 +content_margin_top = 10.0 +content_margin_right = 20.0 +content_margin_bottom = 14.0 +texture = SubResource("CompressedTexture2D_wrcgq") +modulate_color = Color(0.85098, 0.85098, 0.85098, 1) + +[sub_resource type="StyleBox" id="StyleBox_uuspe"] +resource_local_to_scene = false +resource_name = "" +content_margin_left = -1.0 +content_margin_top = -1.0 +content_margin_right = -1.0 +content_margin_bottom = -1.0 +script = ExtResource("7_qo00e") +style_box = SubResource("StyleBoxTexture_l2rw3") +sound = ExtResource("8_etuft") + +[resource] +BackgroundPanel/base_type = &"PanelContainer" +BackgroundPanel/styles/panel = SubResource("StyleBox_odacv") +BottomMargin/base_type = &"MarginContainer" +BottomMargin/constants/margin_bottom = 10 +BottomMargin/constants/margin_left = 50 +BottomMargin/constants/margin_right = 50 +ChecksumLabel/base_type = &"Label" +ChecksumLabel/colors/font_color = Color(0.247059, 0.392157, 1, 1) +TitleButton/base_type = &"Button" +TitleButton/colors/font_color = Color(0.87451, 0.87451, 0.87451, 1) +TitleButton/colors/font_disabled_color = Color(0.875, 0.875, 0.875, 0.5) +TitleButton/colors/font_focus_color = Color(0.95, 0.95, 0.95, 1) +TitleButton/colors/font_hover_color = Color(0.95, 0.95, 0.95, 1) +TitleButton/colors/font_hover_pressed_color = Color(1, 1, 1, 1) +TitleButton/colors/font_outline_color = Color(1, 1, 1, 1) +TitleButton/colors/font_pressed_color = Color(1, 1, 1, 1) +TitleButton/colors/icon_disabled_color = Color(1, 1, 1, 0.4) +TitleButton/colors/icon_focus_color = Color(1, 1, 1, 1) +TitleButton/colors/icon_hover_color = Color(1, 1, 1, 1) +TitleButton/colors/icon_hover_pressed_color = Color(1, 1, 1, 1) +TitleButton/colors/icon_normal_color = Color(1, 1, 1, 1) +TitleButton/colors/icon_pressed_color = Color(1, 1, 1, 1) +TitleButton/font_sizes/font_size = 16 +TitleButton/styles/disabled = SubResource("StyleBoxTexture_dd2b8") +TitleButton/styles/focus = SubResource("StyleBoxFlat_2txce") +TitleButton/styles/hover = SubResource("StyleBoxTexture_3efxh") +TitleButton/styles/normal = ExtResource("6_ibm8p") +TitleButton/styles/pressed = SubResource("StyleBox_uuspe") +TitleLabel/base_type = &"Label" +TitleLabel/font_sizes/font_size = 90 |