aboutsummaryrefslogtreecommitdiff
path: root/game/theme
diff options
context:
space:
mode:
Diffstat (limited to 'game/theme')
-rw-r--r--game/theme/assets/main_menu_background.pngbin0 -> 7817823 bytes
-rw-r--r--game/theme/assets/main_menu_background.png.import34
-rw-r--r--game/theme/assets/main_menu_border_paper.pngbin0 -> 4496997 bytes
-rw-r--r--game/theme/assets/main_menu_border_paper.png.import34
-rw-r--r--game/theme/assets/main_menu_button.pngbin0 -> 121864 bytes
-rw-r--r--game/theme/assets/main_menu_button.png.import34
-rw-r--r--game/theme/assets/main_menu_button_normal.styleboxbin0 -> 497 bytes
-rw-r--r--game/theme/credits_menu.tres17
-rw-r--r--game/theme/default_theme.tres3
-rw-r--r--game/theme/main_menu.tres146
-rw-r--r--game/theme/options_menu.tres67
11 files changed, 335 insertions, 0 deletions
diff --git a/game/theme/assets/main_menu_background.png b/game/theme/assets/main_menu_background.png
new file mode 100644
index 0000000..7d64b9f
--- /dev/null
+++ b/game/theme/assets/main_menu_background.png
Binary files differ
diff --git a/game/theme/assets/main_menu_background.png.import b/game/theme/assets/main_menu_background.png.import
new file mode 100644
index 0000000..965fff2
--- /dev/null
+++ b/game/theme/assets/main_menu_background.png.import
@@ -0,0 +1,34 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://dapuqgpjs56bs"
+path="res://.godot/imported/main_menu_background.png-d397f96448c7ec02ba7a3775a5bc8e5d.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://theme/assets/main_menu_background.png"
+dest_files=["res://.godot/imported/main_menu_background.png-d397f96448c7ec02ba7a3775a5bc8e5d.ctex"]
+
+[params]
+
+compress/mode=0
+compress/high_quality=false
+compress/lossy_quality=0.7
+compress/hdr_compression=1
+compress/normal_map=0
+compress/channel_pack=0
+mipmaps/generate=false
+mipmaps/limit=-1
+roughness/mode=0
+roughness/src_normal=""
+process/fix_alpha_border=true
+process/premult_alpha=false
+process/normal_map_invert_y=false
+process/hdr_as_srgb=false
+process/hdr_clamp_exposure=false
+process/size_limit=0
+detect_3d/compress_to=1
diff --git a/game/theme/assets/main_menu_border_paper.png b/game/theme/assets/main_menu_border_paper.png
new file mode 100644
index 0000000..0693ce5
--- /dev/null
+++ b/game/theme/assets/main_menu_border_paper.png
Binary files differ
diff --git a/game/theme/assets/main_menu_border_paper.png.import b/game/theme/assets/main_menu_border_paper.png.import
new file mode 100644
index 0000000..b833b97
--- /dev/null
+++ b/game/theme/assets/main_menu_border_paper.png.import
@@ -0,0 +1,34 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://q25s41oavuxw"
+path="res://.godot/imported/main_menu_border_paper.png-c8549470cf4010a1002e278047308eb5.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://theme/assets/main_menu_border_paper.png"
+dest_files=["res://.godot/imported/main_menu_border_paper.png-c8549470cf4010a1002e278047308eb5.ctex"]
+
+[params]
+
+compress/mode=0
+compress/high_quality=false
+compress/lossy_quality=0.7
+compress/hdr_compression=1
+compress/normal_map=0
+compress/channel_pack=0
+mipmaps/generate=false
+mipmaps/limit=-1
+roughness/mode=0
+roughness/src_normal=""
+process/fix_alpha_border=true
+process/premult_alpha=false
+process/normal_map_invert_y=false
+process/hdr_as_srgb=false
+process/hdr_clamp_exposure=false
+process/size_limit=0
+detect_3d/compress_to=1
diff --git a/game/theme/assets/main_menu_button.png b/game/theme/assets/main_menu_button.png
new file mode 100644
index 0000000..b84c8a3
--- /dev/null
+++ b/game/theme/assets/main_menu_button.png
Binary files differ
diff --git a/game/theme/assets/main_menu_button.png.import b/game/theme/assets/main_menu_button.png.import
new file mode 100644
index 0000000..8f2dcfd
--- /dev/null
+++ b/game/theme/assets/main_menu_button.png.import
@@ -0,0 +1,34 @@
+[remap]
+
+importer="texture"
+type="CompressedTexture2D"
+uid="uid://c0p34i3d3b0pw"
+path="res://.godot/imported/main_menu_button.png-364b1e885596ca0f849f184a08457deb.ctex"
+metadata={
+"vram_texture": false
+}
+
+[deps]
+
+source_file="res://theme/assets/main_menu_button.png"
+dest_files=["res://.godot/imported/main_menu_button.png-364b1e885596ca0f849f184a08457deb.ctex"]
+
+[params]
+
+compress/mode=0
+compress/high_quality=false
+compress/lossy_quality=0.7
+compress/hdr_compression=1
+compress/normal_map=0
+compress/channel_pack=0
+mipmaps/generate=false
+mipmaps/limit=-1
+roughness/mode=0
+roughness/src_normal=""
+process/fix_alpha_border=true
+process/premult_alpha=false
+process/normal_map_invert_y=false
+process/hdr_as_srgb=false
+process/hdr_clamp_exposure=false
+process/size_limit=0
+detect_3d/compress_to=1
diff --git a/game/theme/assets/main_menu_button_normal.stylebox b/game/theme/assets/main_menu_button_normal.stylebox
new file mode 100644
index 0000000..563b302
--- /dev/null
+++ b/game/theme/assets/main_menu_button_normal.stylebox
Binary files differ
diff --git a/game/theme/credits_menu.tres b/game/theme/credits_menu.tres
new file mode 100644
index 0000000..c07f1b6
--- /dev/null
+++ b/game/theme/credits_menu.tres
@@ -0,0 +1,17 @@
+[gd_resource type="Theme" format=3 uid="uid://stfxt4hpsify"]
+
+[resource]
+BackButtonsMargin/base_type = &"MarginContainer"
+BackButtonsMargin/constants/margin_bottom = 10
+BackButtonsMargin/constants/margin_left = 20
+BackButtonsMargin/constants/margin_right = 20
+BackButtonsMargin/constants/margin_top = 10
+PersonLabel/base_type = &"Label"
+PersonLabel/constants/line_spacing = 10
+PersonLabel/font_sizes/font_size = 20
+ProjectLabel/base_type = &"Label"
+ProjectLabel/constants/line_spacing = 20
+ProjectLabel/font_sizes/font_size = 50
+RoleLabel/base_type = &"Label"
+RoleLabel/constants/line_spacing = 10
+RoleLabel/font_sizes/font_size = 30
diff --git a/game/theme/default_theme.tres b/game/theme/default_theme.tres
new file mode 100644
index 0000000..6104472
--- /dev/null
+++ b/game/theme/default_theme.tres
@@ -0,0 +1,3 @@
+[gd_resource type="Theme" format=3 uid="uid://b48ymrsp1q8sf"]
+
+[resource]
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
diff --git a/game/theme/options_menu.tres b/game/theme/options_menu.tres
new file mode 100644
index 0000000..04bcb96
--- /dev/null
+++ b/game/theme/options_menu.tres
@@ -0,0 +1,67 @@
+[gd_resource type="Theme" load_steps=8 format=3 uid="uid://fbxssqcg1s0m"]
+
+[ext_resource type="Script" path="res://src/Utility/StyleBoxCombinedTexture.gd" id="1_6eqg5"]
+[ext_resource type="Script" path="res://src/Utility/TextureSetting.gd" id="2_d0e1t"]
+[ext_resource type="Texture2D" uid="uid://dapuqgpjs56bs" path="res://theme/assets/main_menu_background.png" id="3_t863y"]
+[ext_resource type="Texture2D" uid="uid://q25s41oavuxw" path="res://theme/assets/main_menu_border_paper.png" id="4_ljte1"]
+
+[sub_resource type="Resource" id="Resource_hxpog"]
+script = ExtResource("2_d0e1t")
+texture = ExtResource("3_t863y")
+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_d0e1t")
+texture = ExtResource("4_ljte1")
+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_lm8by"]
+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_6eqg5")
+texture_settings = Array[ExtResource("2_d0e1t")]([SubResource("Resource_hxpog"), SubResource("Resource_c0k5l")])
+
+[resource]
+BackgroundPanel/base_type = &"PanelContainer"
+BackgroundPanel/styles/panel = SubResource("StyleBox_lm8by")
+TabMargin/base_type = &"MarginContainer"
+TabMargin/constants/margin_bottom = 150
+TabMargin/constants/margin_left = 180
+TabMargin/constants/margin_right = 180
+TabMargin/constants/margin_top = 150