From 4f6ef9b4c2c44ecfa6f211f217164e1d0a8b2116 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Mon, 10 Apr 2023 18:30:20 +0200 Subject: [PATCH 1/2] Create New UI Theme --- Assets/UI/Button/arrow_down.png | Bin 0 -> 212 bytes Assets/UI/Button/arrow_down.png.import | 34 +++ Assets/UI/Button/checked.png | Bin 0 -> 273 bytes Assets/UI/Button/checked.png.import | 34 +++ Assets/UI/Button/disabled.tres | 11 + Assets/UI/Button/focus.tres | 8 + Assets/UI/Button/hover.tres | 10 + Assets/UI/Button/normal.tres | 10 + Assets/UI/Button/pressed.tres | 11 + Assets/UI/Button/unchecked.png | Bin 0 -> 272 bytes Assets/UI/Button/unchecked.png.import | 34 +++ Assets/UI/Check Box/checked.png | Bin 0 -> 223 bytes Assets/UI/Check Box/checked.png.import | 34 +++ Assets/UI/Check Box/unchecked.png | Bin 0 -> 184 bytes Assets/UI/Check Box/unchecked.png.import | 34 +++ Assets/UI/Edit/normal.tres | 13 ++ Assets/UI/Edit/readonly.tres | 13 ++ Assets/UI/Progress/background.tres | 9 + Assets/UI/Progress/fill.tres | 9 + Assets/UI/Scrollbar/h/background.tres | 9 + Assets/UI/Scrollbar/h/background_focus.tres | 9 + Assets/UI/Scrollbar/h/grabber.tres | 9 + Assets/UI/Scrollbar/h/grabber_highlight.tres | 9 + Assets/UI/Scrollbar/h/grabber_pressed.tres | 9 + Assets/UI/Scrollbar/v/background.tres | 9 + Assets/UI/Scrollbar/v/background_focus.tres | 9 + Assets/UI/Scrollbar/v/grabber.tres | 9 + Assets/UI/Scrollbar/v/grabber_highlight.tres | 9 + Assets/UI/Scrollbar/v/grabber_pressed.tres | 9 + Assets/UI/Slider/h/background.tres | 7 + Assets/UI/Slider/h/fill.tres | 7 + Assets/UI/Slider/handle.png | Bin 0 -> 158 bytes Assets/UI/Slider/handle.png.import | 34 +++ Assets/UI/Slider/handle_disabled.png | Bin 0 -> 154 bytes Assets/UI/Slider/handle_disabled.png.import | 34 +++ Assets/UI/Slider/handle_highlight.png | Bin 0 -> 165 bytes Assets/UI/Slider/handle_highlight.png.import | 34 +++ Assets/UI/Slider/v/background.tres | 7 + Assets/UI/Slider/v/fill.tres | 8 + Assets/UI/Tab/left.png | Bin 0 -> 215 bytes Assets/UI/Tab/left.png.import | 34 +++ Assets/UI/Tab/left_highlight.png | Bin 0 -> 204 bytes Assets/UI/Tab/left_highlight.png.import | 34 +++ Assets/UI/Tab/panel.tres | 13 ++ Assets/UI/Tab/right.png | Bin 0 -> 215 bytes Assets/UI/Tab/right.png.import | 34 +++ Assets/UI/Tab/right_highligh.png | Bin 0 -> 204 bytes Assets/UI/Tab/right_highligh.png.import | 34 +++ Assets/UI/Tab/tab_disabled.tres | 13 ++ Assets/UI/Tab/tap_selected.tres | 14 ++ Assets/UI/Tab/tap_unselected.tres | 13 ++ Assets/UI/UI_Theme.tres | 207 +++++++++++++++++++ Scenes/Main Menu.tscn | 18 +- project.godot | 2 +- 54 files changed, 891 insertions(+), 10 deletions(-) create mode 100644 Assets/UI/Button/arrow_down.png create mode 100644 Assets/UI/Button/arrow_down.png.import create mode 100644 Assets/UI/Button/checked.png create mode 100644 Assets/UI/Button/checked.png.import create mode 100644 Assets/UI/Button/disabled.tres create mode 100644 Assets/UI/Button/focus.tres create mode 100644 Assets/UI/Button/hover.tres create mode 100644 Assets/UI/Button/normal.tres create mode 100644 Assets/UI/Button/pressed.tres create mode 100644 Assets/UI/Button/unchecked.png create mode 100644 Assets/UI/Button/unchecked.png.import create mode 100644 Assets/UI/Check Box/checked.png create mode 100644 Assets/UI/Check Box/checked.png.import create mode 100644 Assets/UI/Check Box/unchecked.png create mode 100644 Assets/UI/Check Box/unchecked.png.import create mode 100644 Assets/UI/Edit/normal.tres create mode 100644 Assets/UI/Edit/readonly.tres create mode 100644 Assets/UI/Progress/background.tres create mode 100644 Assets/UI/Progress/fill.tres create mode 100644 Assets/UI/Scrollbar/h/background.tres create mode 100644 Assets/UI/Scrollbar/h/background_focus.tres create mode 100644 Assets/UI/Scrollbar/h/grabber.tres create mode 100644 Assets/UI/Scrollbar/h/grabber_highlight.tres create mode 100644 Assets/UI/Scrollbar/h/grabber_pressed.tres create mode 100644 Assets/UI/Scrollbar/v/background.tres create mode 100644 Assets/UI/Scrollbar/v/background_focus.tres create mode 100644 Assets/UI/Scrollbar/v/grabber.tres create mode 100644 Assets/UI/Scrollbar/v/grabber_highlight.tres create mode 100644 Assets/UI/Scrollbar/v/grabber_pressed.tres create mode 100644 Assets/UI/Slider/h/background.tres create mode 100644 Assets/UI/Slider/h/fill.tres create mode 100644 Assets/UI/Slider/handle.png create mode 100644 Assets/UI/Slider/handle.png.import create mode 100644 Assets/UI/Slider/handle_disabled.png create mode 100644 Assets/UI/Slider/handle_disabled.png.import create mode 100644 Assets/UI/Slider/handle_highlight.png create mode 100644 Assets/UI/Slider/handle_highlight.png.import create mode 100644 Assets/UI/Slider/v/background.tres create mode 100644 Assets/UI/Slider/v/fill.tres create mode 100644 Assets/UI/Tab/left.png create mode 100644 Assets/UI/Tab/left.png.import create mode 100644 Assets/UI/Tab/left_highlight.png create mode 100644 Assets/UI/Tab/left_highlight.png.import create mode 100644 Assets/UI/Tab/panel.tres create mode 100644 Assets/UI/Tab/right.png create mode 100644 Assets/UI/Tab/right.png.import create mode 100644 Assets/UI/Tab/right_highligh.png create mode 100644 Assets/UI/Tab/right_highligh.png.import create mode 100644 Assets/UI/Tab/tab_disabled.tres create mode 100644 Assets/UI/Tab/tap_selected.tres create mode 100644 Assets/UI/Tab/tap_unselected.tres create mode 100644 Assets/UI/UI_Theme.tres diff --git a/Assets/UI/Button/arrow_down.png b/Assets/UI/Button/arrow_down.png new file mode 100644 index 0000000000000000000000000000000000000000..1e0cf43033d05e4fb4940356fe1a38b6142fd56e GIT binary patch literal 212 zcmeAS@N?(olHy`uVBq!ia0vp^T0pGA!3HG%pIo60q-J}%IEF;DzMXE!*Py`TdeOkp zuSXF#SmG&a3?o6<)tz zv`W5d!L5p<+!r~oV_vVhax(HviHPIYkL%{oUhAxs&S|0EUc5VL*~qt_-(^jGA8jn_8jyQq=C=cpSL@ex&FoXsV5oo0^ezopr0B*5Y*#H0l literal 0 HcmV?d00001 diff --git a/Assets/UI/Button/arrow_down.png.import b/Assets/UI/Button/arrow_down.png.import new file mode 100644 index 0000000..2cbfa93 --- /dev/null +++ b/Assets/UI/Button/arrow_down.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bj8jxblqmsubn" +path="res://.godot/imported/arrow_down.png-99038aa4c51a77212f9224ab71131733.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/UI/Button/arrow_down.png" +dest_files=["res://.godot/imported/arrow_down.png-99038aa4c51a77212f9224ab71131733.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/Assets/UI/Button/checked.png b/Assets/UI/Button/checked.png new file mode 100644 index 0000000000000000000000000000000000000000..a64bfe8b1209f3d0d0f7ee0ae5d29a049fe155a3 GIT binary patch literal 273 zcmeAS@N?(olHy`uVBq!ia0vp^9zd+a!3HFcb^PN7Qa3zZ978f1-`?8GdB{P=q44~* zONv`I6>69l$cS&aF3ZB%(Zr{)MDWs#u;}+Z-#dgpJpQ|@g}deWM|Bm>(AaN9>y~?$ z*hui^-{iKtlUL2te|+*wi{1O~zr6d0ftiuH@q$6~CgU{w=<;%N{Tbq?!(NBaX4UOX zn_|r&0fa5Zg&lrN&RgEMEB3IOeCfGLxqtx>a)ieIyLv|PrB4w%BhU~Gc%S{J-3wbb zCN`!z@#<$hS%)1CI4sCybNyrQ5eXEXq~aO0*jnJ5=S82Drr&{nWbkzLb6Mw<&;$U+ C2Vb}V literal 0 HcmV?d00001 diff --git a/Assets/UI/Button/checked.png.import b/Assets/UI/Button/checked.png.import new file mode 100644 index 0000000..3128eb8 --- /dev/null +++ b/Assets/UI/Button/checked.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://je3kjtfx1kr3" +path="res://.godot/imported/checked.png-8d2a59870cf92d0ef0f9d4a2a816b264.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/UI/Button/checked.png" +dest_files=["res://.godot/imported/checked.png-8d2a59870cf92d0ef0f9d4a2a816b264.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/Assets/UI/Button/disabled.tres b/Assets/UI/Button/disabled.tres new file mode 100644 index 0000000..562ea39 --- /dev/null +++ b/Assets/UI/Button/disabled.tres @@ -0,0 +1,11 @@ +[gd_resource type="StyleBoxFlat" format=3 uid="uid://bmeh7kt6t886w"] + +[resource] +content_margin_left = 16.0 +content_margin_top = 8.0 +content_margin_right = 16.0 +content_margin_bottom = 16.0 +bg_color = Color(0.388235, 0.294118, 0.490196, 1) +border_width_bottom = 8 +border_color = Color(0.227451, 0.172549, 0.290196, 1) +corner_detail = 1 diff --git a/Assets/UI/Button/focus.tres b/Assets/UI/Button/focus.tres new file mode 100644 index 0000000..cf3dd0a --- /dev/null +++ b/Assets/UI/Button/focus.tres @@ -0,0 +1,8 @@ +[gd_resource type="StyleBoxLine" format=3 uid="uid://gxy851bdkmb0"] + +[resource] +color = Color(0.168627, 0.662745, 0.705882, 1) +grow_begin = 0.0 +grow_end = -8.0 +thickness = 8 +vertical = true diff --git a/Assets/UI/Button/hover.tres b/Assets/UI/Button/hover.tres new file mode 100644 index 0000000..209338c --- /dev/null +++ b/Assets/UI/Button/hover.tres @@ -0,0 +1,10 @@ +[gd_resource type="StyleBoxFlat" format=3 uid="uid://cjyijxvb4qfwy"] + +[resource] +content_margin_left = 16.0 +content_margin_top = 8.0 +content_margin_right = 16.0 +content_margin_bottom = 24.0 +bg_color = Color(0.768627, 0.364706, 0.623529, 1) +border_width_bottom = 8 +border_color = Color(0.560784, 0.270588, 0.458824, 1) diff --git a/Assets/UI/Button/normal.tres b/Assets/UI/Button/normal.tres new file mode 100644 index 0000000..6071d8d --- /dev/null +++ b/Assets/UI/Button/normal.tres @@ -0,0 +1,10 @@ +[gd_resource type="StyleBoxFlat" format=3 uid="uid://bb7opkg3aneg4"] + +[resource] +content_margin_left = 16.0 +content_margin_top = 8.0 +content_margin_right = 16.0 +content_margin_bottom = 16.0 +bg_color = Color(0.392157, 0.380392, 0.760784, 1) +border_width_bottom = 8 +border_color = Color(0.286275, 0.278431, 0.560784, 1) diff --git a/Assets/UI/Button/pressed.tres b/Assets/UI/Button/pressed.tres new file mode 100644 index 0000000..776af6b --- /dev/null +++ b/Assets/UI/Button/pressed.tres @@ -0,0 +1,11 @@ +[gd_resource type="StyleBoxFlat" format=3 uid="uid://cu2rciarim0cc"] + +[resource] +content_margin_left = 16.0 +content_margin_top = 8.0 +content_margin_right = 16.0 +content_margin_bottom = 16.0 +bg_color = Color(0.560784, 0.270588, 0.458824, 1) +border_width_bottom = 8 +border_color = Color(0.768627, 0.364706, 0.623529, 1) +corner_detail = 1 diff --git a/Assets/UI/Button/unchecked.png b/Assets/UI/Button/unchecked.png new file mode 100644 index 0000000000000000000000000000000000000000..b18edb171c076f9885b9f81e515bde23d95869cb GIT binary patch literal 272 zcmeAS@N?(olHy`uVBq!ia0vp^9zd+a!3HFcb^PN7QrA6Q978f1-`;ZMYI2Zpc(|waBJTKG6B{)yZ>yzZJ~Y zzxFx&Tg$}k+vz{C#iEGWgtyE?O zu2V<=LIJ(&#akBtpA&3VeBwrW(0|L5qCh=BU6-#mpOZ2AHuDJ=6B`z|kN;Ecg?y08 zKYHKJN`@SAIN+dQ+N|_Xeu)kFVdQ&MBb@0E+%* AZ2$lO literal 0 HcmV?d00001 diff --git a/Assets/UI/Button/unchecked.png.import b/Assets/UI/Button/unchecked.png.import new file mode 100644 index 0000000..34785a9 --- /dev/null +++ b/Assets/UI/Button/unchecked.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://dklqdwoqhjm5i" +path="res://.godot/imported/unchecked.png-f39da49c81a690db14659f3749c25cae.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/UI/Button/unchecked.png" +dest_files=["res://.godot/imported/unchecked.png-f39da49c81a690db14659f3749c25cae.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/Assets/UI/Check Box/checked.png b/Assets/UI/Check Box/checked.png new file mode 100644 index 0000000000000000000000000000000000000000..733d705a500f6de2b06b90752b5006bc8d454c83 GIT binary patch literal 223 zcmeAS@N?(olHy`uVBq!ia0vp^Dj>|k1|%Oc%$NbBmU+53hD5Z!ow1R(K|#djpuq$~ zzto2;)BF-1h8(kCQx#pi?UU~wiN-&V;@Ay;PJb-g#CuWtpr$!j^84;(p9(mb73VOX zdvkkYX~OmGMcOmhuTx}mx*Zh#$nIzqxUlfjIS-Kfj^p-QmmJ!w;~4AA)3TvPp2OEZ?Ln2z=-q^_7pdi8!Xvmk+ z^V>h6CpjYMVwU#(M^Yvt->owLv1(qJa@vw5JmyD4m0gcLzdPH+%m(Al`RJV(G`WBvi>ge#1T`6NmYtYCJN zHF(t!$iBfKVcYG@yLJ+}!hCw{39rQitbKdF@v?7cX4o#lC919U>o3qk22WQ%mvv4F FO#mU+G2{RM literal 0 HcmV?d00001 diff --git a/Assets/UI/Slider/handle.png.import b/Assets/UI/Slider/handle.png.import new file mode 100644 index 0000000..282f65a --- /dev/null +++ b/Assets/UI/Slider/handle.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://cl8b7x3q77gm0" +path="res://.godot/imported/handle.png-8afde5e04d6300ddc9d57fb1dfcc8d79.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/UI/Slider/handle.png" +dest_files=["res://.godot/imported/handle.png-8afde5e04d6300ddc9d57fb1dfcc8d79.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/Assets/UI/Slider/handle_disabled.png b/Assets/UI/Slider/handle_disabled.png new file mode 100644 index 0000000000000000000000000000000000000000..d264e7fd794a99a0550559b17aa8e569a67d204a GIT binary patch literal 154 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=ffJL{AsTkciggJLMVd%yt2jO<&r_ zv9dUv-eTic^T}t5gdeZLD+aeOCJvc%gqdDsCLM52xWd>IW))}BTkMno<}K!vC_S)( y*-h5qRYM?q&o)kX*@lU17Y=6JFSudNz!1V9b^6NMJ3c_m7(8A5T-G@yGywo(eKI}( literal 0 HcmV?d00001 diff --git a/Assets/UI/Slider/handle_disabled.png.import b/Assets/UI/Slider/handle_disabled.png.import new file mode 100644 index 0000000..6fea3b3 --- /dev/null +++ b/Assets/UI/Slider/handle_disabled.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://b388qxyyqx8q2" +path="res://.godot/imported/handle_disabled.png-f9bb4155187553f3c5fd46b71d987798.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/UI/Slider/handle_disabled.png" +dest_files=["res://.godot/imported/handle_disabled.png-f9bb4155187553f3c5fd46b71d987798.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/Assets/UI/Slider/handle_highlight.png b/Assets/UI/Slider/handle_highlight.png new file mode 100644 index 0000000000000000000000000000000000000000..35b1ce46948ccd77c281ee448fef0d5057e90657 GIT binary patch literal 165 zcmeAS@N?(olHy`uVBq!ia0vp^3LwnE1|*BCs=ffJ98VX=kciggD{(tp8Rci}eEPM1 z4;M#6iF}}2%_pBJ5`Me}uNcHi7`-0PnNay6GwFbH!WG6I_oU~+rsq6andO)k^GTE* zSi$TjYw)TekiEyMfpu@M+gme5D~ViTJ}dTwFWf8Us=57cYre|k1|%Oc%$NbB=6Sj}hD5Z!ow1R(!GMQ_^OS|o zA%QDrT#icU9N^$_^mOIk8@wkj;zjpMY5X&7M%?EcK7Lj=bI-u_a5@LEK53(mkV?$ NgQu&X%Q~loCID(NR|x|k1|%Oc%$NbBCVRR#hD5Z!o#D;bpdjGPe%RD@ z_VkZ&yN>w;op#^-B3j7EWOACulw$j)CraPN(>}Y2#rLr)W^FoF#nSl7RBrO?39O1n z{EG96Q&&BIVwK|9A@yWVghTPZn06hGiDwnB884RG+^+G2W$#Jn6UzHe+qwD$@XpDP z@ZV?=9DIWF)yXTH@8|Ls$!=0`@t6Db|HAqcoVys0Yw(MUnf5*eI*-BA)z4*}Q$iB} D$Zt%+ literal 0 HcmV?d00001 diff --git a/Assets/UI/Tab/left_highlight.png.import b/Assets/UI/Tab/left_highlight.png.import new file mode 100644 index 0000000..84e2f86 --- /dev/null +++ b/Assets/UI/Tab/left_highlight.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ce87u4fp6tnik" +path="res://.godot/imported/left_highlight.png-1ac6c29bf41e4a73a126b8bc0e6e9ba3.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/UI/Tab/left_highlight.png" +dest_files=["res://.godot/imported/left_highlight.png-1ac6c29bf41e4a73a126b8bc0e6e9ba3.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/Assets/UI/Tab/panel.tres b/Assets/UI/Tab/panel.tres new file mode 100644 index 0000000..215fa71 --- /dev/null +++ b/Assets/UI/Tab/panel.tres @@ -0,0 +1,13 @@ +[gd_resource type="StyleBoxFlat" format=3 uid="uid://dnwseiejbfrqq"] + +[resource] +content_margin_left = 0.0 +content_margin_top = 0.0 +content_margin_right = 0.0 +content_margin_bottom = 0.0 +bg_color = Color(0.741176, 0.67451, 0.54902, 1) +border_width_left = 4 +border_width_top = 4 +border_width_right = 4 +border_width_bottom = 4 +border_color = Color(0.227451, 0.172549, 0.290196, 1) diff --git a/Assets/UI/Tab/right.png b/Assets/UI/Tab/right.png new file mode 100644 index 0000000000000000000000000000000000000000..a64c3d7a6f4da4a4120847ba07756b146e1ee6f0 GIT binary patch literal 215 zcmeAS@N?(olHy`uVBq!ia0vp^Dj>|k1|%Oc%$NbB=6Sj}hD5Z!owkv;!9akSGf74) zks~W@Q4)_>0!!P1C5u}B1xH+SKhe6rXVHmGe)IK@?$KK>+vU2MG7uY1E#%TdA%gYnXg6Td$H+U>lg2x{7#xaap*XuSXO^hXzrx! z6O97%oH^K?cy9h>eK>cQX;I^>_g5m>pF*^M(@(nJeFCI`U(V6Ixp3#AV?dWOc)I$z JtaD0e0s#DER_Xu% literal 0 HcmV?d00001 diff --git a/Assets/UI/Tab/right.png.import b/Assets/UI/Tab/right.png.import new file mode 100644 index 0000000..5b9a024 --- /dev/null +++ b/Assets/UI/Tab/right.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://bqpbxb5whco41" +path="res://.godot/imported/right.png-cd07be5fd62d07336c292b82afa924d5.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/UI/Tab/right.png" +dest_files=["res://.godot/imported/right.png-cd07be5fd62d07336c292b82afa924d5.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/Assets/UI/Tab/right_highligh.png b/Assets/UI/Tab/right_highligh.png new file mode 100644 index 0000000000000000000000000000000000000000..e1af80e90c44f77759d3f983fe08f78e870cfc49 GIT binary patch literal 204 zcmeAS@N?(olHy`uVBq!ia0vp^Dj>|k1|%Oc%$NbBCVRR#hD5Z!o#DuJKtX_c>yNYh z*3N&q|JG)uWrb6pP1vcqsYPH~!oKs`6K$USK4W8d;^FO$3NA12Y?O3dP#JpciOePi z7k%fzTYH^TgU%^(J5AYA_kPO)pU`y6b{&q3x1B@kXC}1?Z?ALpyTGj>FCf~zC-xW6c?_PeelF{r5}E); ClT&>F literal 0 HcmV?d00001 diff --git a/Assets/UI/Tab/right_highligh.png.import b/Assets/UI/Tab/right_highligh.png.import new file mode 100644 index 0000000..372268f --- /dev/null +++ b/Assets/UI/Tab/right_highligh.png.import @@ -0,0 +1,34 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://ds6cfed3dmyr3" +path="res://.godot/imported/right_highligh.png-4063a9794ba681bb111200e7e9ad6221.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Assets/UI/Tab/right_highligh.png" +dest_files=["res://.godot/imported/right_highligh.png-4063a9794ba681bb111200e7e9ad6221.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/Assets/UI/Tab/tab_disabled.tres b/Assets/UI/Tab/tab_disabled.tres new file mode 100644 index 0000000..0c932a6 --- /dev/null +++ b/Assets/UI/Tab/tab_disabled.tres @@ -0,0 +1,13 @@ +[gd_resource type="StyleBoxFlat" format=3 uid="uid://bgecjuqm2jv0w"] + +[resource] +content_margin_left = 4.0 +content_margin_top = 4.0 +content_margin_right = 4.0 +content_margin_bottom = 0.0 +bg_color = Color(0.741176, 0.67451, 0.54902, 1) +border_width_left = 4 +border_width_top = 4 +border_width_right = 4 +border_color = Color(0.227451, 0.172549, 0.290196, 1) +expand_margin_left = 4.0 diff --git a/Assets/UI/Tab/tap_selected.tres b/Assets/UI/Tab/tap_selected.tres new file mode 100644 index 0000000..c014c5e --- /dev/null +++ b/Assets/UI/Tab/tap_selected.tres @@ -0,0 +1,14 @@ +[gd_resource type="StyleBoxFlat" format=3 uid="uid://byrx7smwgsuf0"] + +[resource] +content_margin_left = 4.0 +content_margin_top = 8.0 +content_margin_right = 8.0 +content_margin_bottom = 8.0 +bg_color = Color(0.741176, 0.67451, 0.54902, 1) +border_width_left = 4 +border_width_top = 4 +border_width_right = 4 +border_color = Color(0.227451, 0.172549, 0.290196, 1) +expand_margin_left = 4.0 +expand_margin_bottom = 4.0 diff --git a/Assets/UI/Tab/tap_unselected.tres b/Assets/UI/Tab/tap_unselected.tres new file mode 100644 index 0000000..fd94e73 --- /dev/null +++ b/Assets/UI/Tab/tap_unselected.tres @@ -0,0 +1,13 @@ +[gd_resource type="StyleBoxFlat" format=3 uid="uid://ddfin4k7slkmn"] + +[resource] +content_margin_left = 4.0 +content_margin_top = 8.0 +content_margin_right = 8.0 +content_margin_bottom = 8.0 +bg_color = Color(0.741176, 0.67451, 0.54902, 1) +border_width_left = 4 +border_width_top = 4 +border_width_right = 4 +border_color = Color(0.227451, 0.172549, 0.290196, 1) +expand_margin_left = 4.0 diff --git a/Assets/UI/UI_Theme.tres b/Assets/UI/UI_Theme.tres new file mode 100644 index 0000000..169cf14 --- /dev/null +++ b/Assets/UI/UI_Theme.tres @@ -0,0 +1,207 @@ +[gd_resource type="Theme" load_steps=47 format=3 uid="uid://bui1mmatapmc8"] + +[ext_resource type="StyleBox" uid="uid://bb7opkg3aneg4" path="res://Assets/UI/Button/normal.tres" id="1_re3m3"] +[ext_resource type="StyleBox" uid="uid://bmeh7kt6t886w" path="res://Assets/UI/Button/disabled.tres" id="1_wt1wr"] +[ext_resource type="StyleBox" uid="uid://cjyijxvb4qfwy" path="res://Assets/UI/Button/hover.tres" id="2_h7pgg"] +[ext_resource type="FontFile" uid="uid://dqdeftjkwxe64" path="res://Assets/Fonts/Dogica/dogicapixel.ttf" id="2_j8kea"] +[ext_resource type="StyleBox" uid="uid://gxy851bdkmb0" path="res://Assets/UI/Button/focus.tres" id="2_nf3et"] +[ext_resource type="StyleBox" uid="uid://cu2rciarim0cc" path="res://Assets/UI/Button/pressed.tres" id="4_de308"] +[ext_resource type="StyleBox" uid="uid://cx486vo60qcpp" path="res://Assets/UI/Edit/normal.tres" id="6_lnycp"] +[ext_resource type="Texture2D" uid="uid://c18dqb1wy3its" path="res://Assets/UI/Check Box/checked.png" id="6_srlcu"] +[ext_resource type="Texture2D" uid="uid://cl8b7x3q77gm0" path="res://Assets/UI/Slider/handle.png" id="6_tsx7l"] +[ext_resource type="StyleBox" uid="uid://cgdxtbanwi5gp" path="res://Assets/UI/Scrollbar/h/grabber.tres" id="6_vjj3k"] +[ext_resource type="StyleBox" uid="uid://dvj15u41tqtnm" path="res://Assets/UI/Edit/readonly.tres" id="7_k2jlw"] +[ext_resource type="Texture2D" uid="uid://b388qxyyqx8q2" path="res://Assets/UI/Slider/handle_disabled.png" id="7_m4hfs"] +[ext_resource type="Texture2D" uid="uid://jta11o1n4c3d" path="res://Assets/UI/Check Box/unchecked.png" id="7_p4k8i"] +[ext_resource type="StyleBox" uid="uid://b5e35dfka2svr" path="res://Assets/UI/Scrollbar/h/grabber_highlight.tres" id="7_yv3p6"] +[ext_resource type="Texture2D" uid="uid://o3ufhj36lo0r" path="res://Assets/UI/Slider/handle_highlight.png" id="8_4qpd7"] +[ext_resource type="StyleBox" uid="uid://b6gse1t3c8ibf" path="res://Assets/UI/Scrollbar/h/grabber_pressed.tres" id="8_dr3de"] +[ext_resource type="Texture2D" uid="uid://je3kjtfx1kr3" path="res://Assets/UI/Button/checked.png" id="8_r3sw2"] +[ext_resource type="Texture2D" uid="uid://dklqdwoqhjm5i" path="res://Assets/UI/Button/unchecked.png" id="9_iytk4"] +[ext_resource type="StyleBox" uid="uid://04efvhwskbr6" path="res://Assets/UI/Scrollbar/h/background.tres" id="9_lv5dx"] +[ext_resource type="StyleBox" uid="uid://b1huhquesnexy" path="res://Assets/UI/Scrollbar/h/background_focus.tres" id="10_npblq"] +[ext_resource type="StyleBox" uid="uid://bwlxiw44285g1" path="res://Assets/UI/Slider/h/fill.tres" id="14_b0thp"] +[ext_resource type="StyleBox" uid="uid://b8mdovvxl7lfl" path="res://Assets/UI/Slider/h/background.tres" id="15_4oqlg"] +[ext_resource type="Texture2D" uid="uid://bj8jxblqmsubn" path="res://Assets/UI/Button/arrow_down.png" id="18_jqhuv"] +[ext_resource type="StyleBox" uid="uid://dhna0fajb2uei" path="res://Assets/UI/Progress/background.tres" id="18_ymgal"] +[ext_resource type="StyleBox" uid="uid://b3i7tjv3ok85r" path="res://Assets/UI/Progress/fill.tres" id="19_1x1m2"] +[ext_resource type="Texture2D" uid="uid://de5dv104noe06" path="res://Assets/UI/Tab/left.png" id="20_skg1s"] +[ext_resource type="StyleBox" uid="uid://cm4uy16ypsdyi" path="res://Assets/UI/Scrollbar/v/grabber.tres" id="20_uo4of"] +[ext_resource type="Texture2D" uid="uid://ce87u4fp6tnik" path="res://Assets/UI/Tab/left_highlight.png" id="21_ivr4w"] +[ext_resource type="StyleBox" uid="uid://cmiivkeqn03sa" path="res://Assets/UI/Scrollbar/v/grabber_highlight.tres" id="21_pjklk"] +[ext_resource type="StyleBox" uid="uid://j31rmst7m2q7" path="res://Assets/UI/Scrollbar/v/grabber_pressed.tres" id="22_rcema"] +[ext_resource type="Texture2D" uid="uid://bqpbxb5whco41" path="res://Assets/UI/Tab/right.png" id="22_tbsa0"] +[ext_resource type="StyleBox" uid="uid://de0w7yppc7e0l" path="res://Assets/UI/Scrollbar/v/background.tres" id="23_1wjoi"] +[ext_resource type="Texture2D" uid="uid://ds6cfed3dmyr3" path="res://Assets/UI/Tab/right_highligh.png" id="23_meyle"] +[ext_resource type="StyleBox" uid="uid://15jbtuchd7r6" path="res://Assets/UI/Scrollbar/v/background_focus.tres" id="24_64ah6"] +[ext_resource type="StyleBox" uid="uid://dnwseiejbfrqq" path="res://Assets/UI/Tab/panel.tres" id="24_ypm5h"] +[ext_resource type="StyleBox" uid="uid://bgecjuqm2jv0w" path="res://Assets/UI/Tab/tab_disabled.tres" id="25_2cr8y"] +[ext_resource type="StyleBox" uid="uid://byrx7smwgsuf0" path="res://Assets/UI/Tab/tap_selected.tres" id="25_ou2yk"] +[ext_resource type="StyleBox" uid="uid://bumc1mixgglv8" path="res://Assets/UI/Slider/v/fill.tres" id="25_pdk86"] +[ext_resource type="StyleBox" uid="uid://0jfr1uwuog0s" path="res://Assets/UI/Slider/v/background.tres" id="26_1odpk"] +[ext_resource type="StyleBox" uid="uid://ddfin4k7slkmn" path="res://Assets/UI/Tab/tap_unselected.tres" id="26_pgono"] + +[sub_resource type="Image" id="Image_im0s2"] +data = { +"data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0), +"format": "RGBA8", +"height": 16, +"mipmaps": false, +"width": 4 +} + +[sub_resource type="ImageTexture" id="ImageTexture_g5bup"] +image = SubResource("Image_im0s2") + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_sj7h5"] + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_jl30t"] + +[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_v2px0"] +content_margin_left = 0.0 +content_margin_top = 0.0 +content_margin_right = 0.0 +content_margin_bottom = 0.0 +bg_color = Color(0.741176, 0.67451, 0.54902, 1) +corner_detail = 1 + +[sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_rhkly"] + +[resource] +default_font = ExtResource("2_j8kea") +Button/colors/font_color = Color(0.941176, 0.964706, 0.909804, 1) +Button/colors/font_disabled_color = Color(0.227451, 0.172549, 0.290196, 1) +Button/colors/font_focus_color = Color(0.941176, 0.964706, 0.909804, 1) +Button/colors/font_hover_color = Color(0.941176, 0.964706, 0.909804, 1) +Button/colors/font_hover_pressed_color = Color(0.941176, 0.964706, 0.909804, 1) +Button/colors/font_outline_color = Color(0.745098, 0.760784, 0.721569, 1) +Button/colors/font_pressed_color = Color(0.941176, 0.964706, 0.909804, 1) +Button/colors/icon_disabled_color = Color(1, 1, 1, 0.4) +Button/colors/icon_focus_color = Color(0.941176, 0.964706, 0.909804, 1) +Button/colors/icon_hover_color = Color(0.941176, 0.964706, 0.909804, 1) +Button/colors/icon_hover_pressed_color = Color(0.941176, 0.964706, 0.909804, 1) +Button/colors/icon_normal_color = Color(0.941176, 0.964706, 0.909804, 1) +Button/colors/icon_pressed_color = Color(0.941176, 0.964706, 0.909804, 1) +Button/constants/h_separation = 8 +Button/constants/outline_size = 0 +Button/font_sizes/font_size = 32 +Button/styles/disabled = ExtResource("1_wt1wr") +Button/styles/focus = ExtResource("2_nf3et") +Button/styles/hover = ExtResource("2_h7pgg") +Button/styles/normal = ExtResource("1_re3m3") +Button/styles/pressed = ExtResource("4_de308") +CheckBox/colors/font_color = Color(0.941176, 0.964706, 0.909804, 1) +CheckBox/colors/font_disabled_color = Color(0.875, 0.875, 0.875, 0.5) +CheckBox/colors/font_focus_color = Color(0.941176, 0.964706, 0.909804, 1) +CheckBox/colors/font_hover_color = Color(0.941176, 0.964706, 0.909804, 1) +CheckBox/colors/font_hover_pressed_color = Color(0.941176, 0.964706, 0.909804, 1) +CheckBox/colors/font_outline_color = Color(0.941176, 0.964706, 0.909804, 1) +CheckBox/colors/font_pressed_color = Color(0.941176, 0.964706, 0.909804, 1) +CheckBox/constants/check_v_offset = 0 +CheckBox/constants/h_separation = 4 +CheckBox/constants/outline_size = 0 +CheckBox/icons/checked = ExtResource("6_srlcu") +CheckBox/icons/unchecked = ExtResource("7_p4k8i") +CheckBox/styles/disabled = ExtResource("1_wt1wr") +CheckBox/styles/focus = ExtResource("2_nf3et") +CheckBox/styles/hover = ExtResource("2_h7pgg") +CheckBox/styles/hover_pressed = ExtResource("4_de308") +CheckBox/styles/normal = ExtResource("1_re3m3") +CheckBox/styles/pressed = ExtResource("4_de308") +CheckButton/colors/font_color = Color(0.941176, 0.964706, 0.909804, 1) +CheckButton/colors/font_focus_color = Color(0.941176, 0.964706, 0.909804, 1) +CheckButton/colors/font_hover_color = Color(0.941176, 0.964706, 0.909804, 1) +CheckButton/colors/font_hover_pressed_color = Color(0.941176, 0.964706, 0.909804, 1) +CheckButton/colors/font_outline_color = Color(0.941176, 0.964706, 0.909804, 1) +CheckButton/colors/font_pressed_color = Color(0.941176, 0.964706, 0.909804, 1) +CheckButton/icons/checked = ExtResource("8_r3sw2") +CheckButton/icons/unchecked = ExtResource("9_iytk4") +CheckButton/styles/disabled = ExtResource("1_wt1wr") +CheckButton/styles/focus = ExtResource("2_nf3et") +CheckButton/styles/hover = ExtResource("2_h7pgg") +CheckButton/styles/hover_pressed = ExtResource("4_de308") +CheckButton/styles/normal = ExtResource("1_re3m3") +CheckButton/styles/pressed = ExtResource("4_de308") +HScrollBar/styles/grabber = ExtResource("6_vjj3k") +HScrollBar/styles/grabber_highlight = ExtResource("7_yv3p6") +HScrollBar/styles/grabber_pressed = ExtResource("8_dr3de") +HScrollBar/styles/scroll = ExtResource("9_lv5dx") +HScrollBar/styles/scroll_focus = ExtResource("10_npblq") +HSlider/icons/grabber = ExtResource("6_tsx7l") +HSlider/icons/grabber_disabled = ExtResource("7_m4hfs") +HSlider/icons/grabber_highlight = ExtResource("8_4qpd7") +HSlider/icons/tick = SubResource("ImageTexture_g5bup") +HSlider/styles/grabber_area = ExtResource("14_b0thp") +HSlider/styles/grabber_area_highlight = ExtResource("14_b0thp") +HSlider/styles/slider = ExtResource("15_4oqlg") +Label/colors/font_color = Color(0.941176, 0.964706, 0.909804, 1) +Label/colors/font_outline_color = Color(0.745098, 0.760784, 0.721569, 1) +Label/colors/font_shadow_color = Color(0.745098, 0.760784, 0.721569, 1) +Label/constants/line_spacing = 3 +Label/constants/outline_size = 0 +Label/constants/shadow_offset_x = 0 +Label/constants/shadow_offset_y = 4 +Label/constants/shadow_outline_size = 1 +Label/font_sizes/font_size = 32 +Label/styles/normal = SubResource("StyleBoxEmpty_sj7h5") +LineEdit/colors/caret_color = Color(0.168627, 0.662745, 0.705882, 1) +LineEdit/colors/font_color = Color(0.941176, 0.964706, 0.909804, 1) +LineEdit/colors/font_selected_color = Color(0.168627, 0.662745, 0.705882, 1) +LineEdit/colors/font_uneditable_color = Color(0.745098, 0.760784, 0.721569, 1) +LineEdit/colors/selection_color = Color(0.745098, 0.760784, 0.721569, 1) +LineEdit/font_sizes/font_size = 24 +LineEdit/styles/focus = SubResource("StyleBoxEmpty_jl30t") +LineEdit/styles/normal = ExtResource("6_lnycp") +LineEdit/styles/read_only = ExtResource("7_k2jlw") +MenuButton/colors/font_color = Color(0.941176, 0.964706, 0.909804, 1) +MenuButton/colors/font_focus_color = Color(0.941176, 0.964706, 0.909804, 1) +MenuButton/colors/font_hover_color = Color(0.941176, 0.964706, 0.909804, 1) +MenuButton/colors/font_outline_color = Color(0.941176, 0.964706, 0.909804, 1) +MenuButton/colors/font_pressed_color = Color(0.941176, 0.964706, 0.909804, 1) +MenuButton/styles/disabled = ExtResource("1_wt1wr") +MenuButton/styles/focus = ExtResource("2_nf3et") +MenuButton/styles/hover = ExtResource("2_h7pgg") +MenuButton/styles/normal = ExtResource("1_re3m3") +MenuButton/styles/pressed = ExtResource("4_de308") +OptionButton/colors/font_color = Color(0.941176, 0.964706, 0.909804, 1) +OptionButton/colors/font_focus_color = Color(0.941176, 0.964706, 0.909804, 1) +OptionButton/colors/font_hover_color = Color(0.941176, 0.964706, 0.909804, 1) +OptionButton/colors/font_hover_pressed_color = Color(0.941176, 0.964706, 0.909804, 1) +OptionButton/colors/font_outline_color = Color(0.941176, 0.964706, 0.909804, 1) +OptionButton/colors/font_pressed_color = Color(0.941176, 0.964706, 0.909804, 1) +OptionButton/icons/arrow = ExtResource("18_jqhuv") +Panel/styles/panel = SubResource("StyleBoxFlat_v2px0") +ProgressBar/colors/font_color = Color(0.941176, 0.964706, 0.909804, 1) +ProgressBar/font_sizes/font_size = 16 +ProgressBar/styles/background = ExtResource("18_ymgal") +ProgressBar/styles/fill = ExtResource("19_1x1m2") +TabContainer/colors/font_selected_color = Color(0.941176, 0.964706, 0.909804, 1) +TabContainer/colors/font_unselected_color = Color(0.941176, 0.964706, 0.909804, 1) +TabContainer/font_sizes/font_size = 16 +TabContainer/icons/decrement = ExtResource("20_skg1s") +TabContainer/icons/decrement_highlight = ExtResource("21_ivr4w") +TabContainer/icons/increment = ExtResource("22_tbsa0") +TabContainer/icons/increment_highlight = ExtResource("23_meyle") +TabContainer/styles/panel = ExtResource("24_ypm5h") +TabContainer/styles/tab_disabled = ExtResource("25_2cr8y") +TabContainer/styles/tab_selected = ExtResource("25_ou2yk") +TabContainer/styles/tab_unselected = ExtResource("26_pgono") +TextEdit/colors/caret_color = Color(0.168627, 0.662745, 0.705882, 1) +TextEdit/colors/font_color = Color(0.941176, 0.964706, 0.909804, 1) +TextEdit/colors/font_selected_color = Color(0.168627, 0.662745, 0.705882, 1) +TextEdit/colors/selection_color = Color(0.745098, 0.760784, 0.721569, 1) +TextEdit/font_sizes/font_size = 24 +TextEdit/styles/focus = SubResource("StyleBoxEmpty_rhkly") +TextEdit/styles/normal = ExtResource("6_lnycp") +TextEdit/styles/read_only = ExtResource("7_k2jlw") +VScrollBar/styles/grabber = ExtResource("20_uo4of") +VScrollBar/styles/grabber_highlight = ExtResource("21_pjklk") +VScrollBar/styles/grabber_pressed = ExtResource("22_rcema") +VScrollBar/styles/scroll = ExtResource("23_1wjoi") +VScrollBar/styles/scroll_focus = ExtResource("24_64ah6") +VSlider/icons/grabber = ExtResource("6_tsx7l") +VSlider/icons/grabber_disabled = ExtResource("7_m4hfs") +VSlider/icons/grabber_highlight = ExtResource("8_4qpd7") +VSlider/styles/grabber_area = ExtResource("25_pdk86") +VSlider/styles/grabber_area_highlight = ExtResource("25_pdk86") +VSlider/styles/slider = ExtResource("26_1odpk") diff --git a/Scenes/Main Menu.tscn b/Scenes/Main Menu.tscn index be1520a..c01d14e 100644 --- a/Scenes/Main Menu.tscn +++ b/Scenes/Main Menu.tscn @@ -1,17 +1,17 @@ [gd_scene load_steps=14 format=3 uid="uid://4fysk8vaw3e1"] [ext_resource type="Script" path="res://Scripts/UI/MainMenuManager.gd" id="1_qepq0"] -[ext_resource type="Texture2D" uid="uid://tjxkew3m4v8m" path="res://Assets/Sprites/Easter Egg/Shadow.png" id="2_8o6th"] +[ext_resource type="Texture2D" uid="uid://tjxkew3m4v8m" path="res://Assets/Sprites/Start Menu Old/Easter Egg/Shadow.png" id="2_8o6th"] [ext_resource type="PackedScene" uid="uid://c4btepmue6d7p" path="res://Scenes/Game.tscn" id="2_28004"] -[ext_resource type="Texture2D" uid="uid://daat37cyg0go5" path="res://Assets/Sprites/Easter Egg/Egg 3.png" id="3_1e3fe"] +[ext_resource type="Texture2D" uid="uid://daat37cyg0go5" path="res://Assets/Sprites/Start Menu Old/Easter Egg/Egg 3.png" id="3_1e3fe"] [ext_resource type="PackedScene" uid="uid://cbfcolm6mjolp" path="res://Prefabs/Settings Menu.tscn" id="3_r3r61"] -[ext_resource type="Texture2D" uid="uid://dhvvw4yckl8x7" path="res://Assets/Sprites/Props/Cake.png" id="5_7ull8"] -[ext_resource type="Texture2D" uid="uid://c3yg6u8yncau3" path="res://Assets/Sprites/Easter Egg/Egg 2.png" id="6_45o7d"] -[ext_resource type="Texture2D" uid="uid://cp84ssaqs3pmp" path="res://Assets/Sprites/UI Elements/Jesus.png" id="6_wnx18"] -[ext_resource type="Texture2D" uid="uid://dkotcqflp3e32" path="res://Assets/Sprites/Easter Egg/Egg 1.png" id="7_285vd"] -[ext_resource type="Theme" uid="uid://o3vg845para" path="res://Assets/UI_Theme.tres" id="8_lr748"] +[ext_resource type="Texture2D" uid="uid://dhvvw4yckl8x7" path="res://Assets/Sprites/Start Menu Old/Cake.png" id="5_7ull8"] +[ext_resource type="Texture2D" uid="uid://c3yg6u8yncau3" path="res://Assets/Sprites/Start Menu Old/Easter Egg/Egg 2.png" id="6_45o7d"] +[ext_resource type="Texture2D" uid="uid://cp84ssaqs3pmp" path="res://Assets/Sprites/Start Menu Old/Jesus.png" id="6_wnx18"] +[ext_resource type="Texture2D" uid="uid://dkotcqflp3e32" path="res://Assets/Sprites/Start Menu Old/Easter Egg/Egg 1.png" id="7_285vd"] [ext_resource type="Script" path="res://Scripts/UI/MenuButton.gd" id="9_2cu5l"] -[ext_resource type="Texture2D" uid="uid://6snf183fgfo5" path="res://Assets/Sprites/UI Elements/Cross.png" id="12_dhfc0"] +[ext_resource type="Theme" uid="uid://o3vg845para" path="res://Assets/UI_Theme.tres" id="10_aqmth"] +[ext_resource type="Texture2D" uid="uid://6snf183fgfo5" path="res://Assets/Sprites/Start Menu Old/Cross.png" id="12_dhfc0"] [ext_resource type="AudioStream" uid="uid://c6nf5s6xy2uii" path="res://Assets/Temp Music/omw-to-beat-the-big-bad.wav" id="13_3j724"] [node name="MainMenu" type="Node" node_paths=PackedStringArray("default_focus")] @@ -100,7 +100,7 @@ anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 -theme = ExtResource("8_lr748") +theme = ExtResource("10_aqmth") [node name="CenterContainer" type="CenterContainer" parent="MainVBox"] custom_minimum_size = Vector2(0, 150) diff --git a/project.godot b/project.godot index 79d1506..decf7f8 100644 --- a/project.godot +++ b/project.godot @@ -37,7 +37,7 @@ project/assembly_name="HoppyEaster" [gui] -theme/custom="res://Assets/UI_Theme.tres" +theme/custom="res://Assets/UI/UI_Theme.tres" [input] From 53bb97d97233e04fe2ffa7b824e435a6bf6645e6 Mon Sep 17 00:00:00 2001 From: Snoweuph Date: Mon, 10 Apr 2023 18:37:15 +0200 Subject: [PATCH 2/2] Improve Button Theme Animation --- Assets/UI/Button/focus.tres | 2 +- Assets/UI/Button/pressed.tres | 2 +- Assets/UI/UI_Theme.tres | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Assets/UI/Button/focus.tres b/Assets/UI/Button/focus.tres index cf3dd0a..749443c 100644 --- a/Assets/UI/Button/focus.tres +++ b/Assets/UI/Button/focus.tres @@ -3,6 +3,6 @@ [resource] color = Color(0.168627, 0.662745, 0.705882, 1) grow_begin = 0.0 -grow_end = -8.0 +grow_end = 0.0 thickness = 8 vertical = true diff --git a/Assets/UI/Button/pressed.tres b/Assets/UI/Button/pressed.tres index 776af6b..b9a1bed 100644 --- a/Assets/UI/Button/pressed.tres +++ b/Assets/UI/Button/pressed.tres @@ -7,5 +7,5 @@ content_margin_right = 16.0 content_margin_bottom = 16.0 bg_color = Color(0.560784, 0.270588, 0.458824, 1) border_width_bottom = 8 -border_color = Color(0.768627, 0.364706, 0.623529, 1) +border_color = Color(0.560784, 0.270588, 0.458824, 1) corner_detail = 1 diff --git a/Assets/UI/UI_Theme.tres b/Assets/UI/UI_Theme.tres index 169cf14..5c2d7c9 100644 --- a/Assets/UI/UI_Theme.tres +++ b/Assets/UI/UI_Theme.tres @@ -41,7 +41,7 @@ [ext_resource type="StyleBox" uid="uid://0jfr1uwuog0s" path="res://Assets/UI/Slider/v/background.tres" id="26_1odpk"] [ext_resource type="StyleBox" uid="uid://ddfin4k7slkmn" path="res://Assets/UI/Tab/tap_unselected.tres" id="26_pgono"] -[sub_resource type="Image" id="Image_im0s2"] +[sub_resource type="Image" id="Image_rlyln"] data = { "data": PackedByteArray(255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0, 255, 255, 255, 0, 255, 255, 255, 64, 255, 255, 255, 64, 255, 255, 255, 0), "format": "RGBA8", @@ -51,7 +51,7 @@ data = { } [sub_resource type="ImageTexture" id="ImageTexture_g5bup"] -image = SubResource("Image_im0s2") +image = SubResource("Image_rlyln") [sub_resource type="StyleBoxEmpty" id="StyleBoxEmpty_sj7h5"]