diff --git a/game/gui/creamy_pumpkin_pie/book/book_tab_discord.png b/game/gui/creamy_pumpkin_pie/book/book_tab_discord.png new file mode 100644 index 00000000..210537bd --- /dev/null +++ b/game/gui/creamy_pumpkin_pie/book/book_tab_discord.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8395b4c03c2c1149b7b47a3f2de67c610c0111ccc04dac86bf95671fd01dd593 +size 11256 diff --git a/game/gui/creamy_pumpkin_pie/book/book_tab_patreon.png b/game/gui/creamy_pumpkin_pie/book/book_tab_patreon.png new file mode 100644 index 00000000..514474d2 --- /dev/null +++ b/game/gui/creamy_pumpkin_pie/book/book_tab_patreon.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:84248ecae833ec81ca4565a018b2e42ef1a4cfc825c5b74d63e51a8363710d39 +size 13369 diff --git a/game/gui/creamy_pumpkin_pie/book/book_tab_subscribestar.png b/game/gui/creamy_pumpkin_pie/book/book_tab_subscribestar.png new file mode 100644 index 00000000..9cee6e75 --- /dev/null +++ b/game/gui/creamy_pumpkin_pie/book/book_tab_subscribestar.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7f059c0a6c0958b158c2d7bc82505020fc59fb4b9f1fc7da2ecdb1f0559ecc33 +size 10643 diff --git a/game/gui/creamy_pumpkin_pie/discord_logo.png b/game/gui/creamy_pumpkin_pie/discord_logo.png new file mode 100644 index 00000000..00ec94d9 --- /dev/null +++ b/game/gui/creamy_pumpkin_pie/discord_logo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73df46a604bb870a5242b537937693eed1eaaa7469dd167cc63f500a050f5b34 +size 18273 diff --git a/game/gui/creamy_pumpkin_pie/patreon_logo.png b/game/gui/creamy_pumpkin_pie/patreon_logo.png new file mode 100644 index 00000000..fdb36e63 --- /dev/null +++ b/game/gui/creamy_pumpkin_pie/patreon_logo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:22193eace026787c4c72a85e8c62416f200161adb3330e2561d955af4bc35e99 +size 12267 diff --git a/game/gui/creamy_pumpkin_pie/subscribestar_logo.png b/game/gui/creamy_pumpkin_pie/subscribestar_logo.png new file mode 100644 index 00000000..28f969f3 --- /dev/null +++ b/game/gui/creamy_pumpkin_pie/subscribestar_logo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff71aecc61f6328f31962d32ed3da234a92cef70c708b672101eb2c8367b42ad +size 40332 diff --git a/game/gui/creamy_pumpkin_pie/website_logo.png b/game/gui/creamy_pumpkin_pie/website_logo.png new file mode 100644 index 00000000..d691ef20 --- /dev/null +++ b/game/gui/creamy_pumpkin_pie/website_logo.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd05ffac9e0b0b1782512b6813b915a99d56cc81760c999f030d277edbbcdaae +size 234670 diff --git a/game/scripts/gui/navigation.rpy b/game/scripts/gui/navigation.rpy index 62dc66a8..1184c7c9 100644 --- a/game/scripts/gui/navigation.rpy +++ b/game/scripts/gui/navigation.rpy @@ -177,7 +177,6 @@ screen navigation(): on "show" action Play("sound", "sounds/bookopen.ogg") add last_frame at navigation_last_frame_atl - # add "gui_fade_both" at gui_fade if navigation_exit: timer 0.4 action Return() @@ -202,6 +201,39 @@ screen navigation(): textbutton _("Main Menu") action MainMenu() at navigation_tabs textbutton _("Credits") action Show("credits") at navigation_tabs + at navigation_tabs_show + + vbox: + style_prefix "navigation_subtabs" + yalign 1.0 + + button: + add "website_logo" size (24, 24) yalign 0.5 + text "Website" style "navigation_tabs_website_button_text" xoffset 32 + action OpenURL("https://www.silverstudiogames.org") + style "navigation_tabs_website_button" + at navigation_tabs + button: + add "discord_logo" size (24, 24) yalign 0.5 + text "Discord" style "navigation_tabs_discord_button_text" xoffset 32 + action OpenURL("https://discord.com/invite/UbQeTCJ5RW") + style "navigation_tabs_discord_button" + at navigation_tabs + button: + add "patreon_logo" size (24, 24) yalign 0.5 + text "Patreon" style "navigation_tabs_discord_button_text" xoffset 32 + action OpenURL("https://www.patreon.com/SilverStudioGames") + style "navigation_tabs_patreon_button" + at navigation_tabs + button: + add "subscribestar_logo" size (24, 24) yalign 0.5 + text "Subscribestar" style "navigation_tabs_discord_button_text" xoffset 32 + action OpenURL("https://subscribestar.adult/ssg") + style "navigation_tabs_subscribestar_button" + at navigation_tabs + + at navigation_subtabs_show + if category == "save": vbox: style_prefix "navigation_subtabs" @@ -214,6 +246,8 @@ screen navigation(): null height 35 textbutton _("Last Page") action FilePageLast() at navigation_tabs + at navigation_subtabs_show + use file_slots(_("Save")) elif category == "load": vbox: @@ -227,6 +261,8 @@ screen navigation(): null height 35 textbutton _("Last Page") action FilePageLast() at navigation_tabs + at navigation_subtabs_show + use file_slots(_("Load")) elif category == "settings": vbox: @@ -237,6 +273,8 @@ screen navigation(): textbutton _("Audio") action SetLocalVariable("subcategory", "audio") at navigation_tabs textbutton _("Other") action SetLocalVariable("subcategory", "other") at navigation_tabs + at navigation_subtabs_show + if subcategory == "audio": use settings_audio elif subcategory == "other": @@ -254,6 +292,8 @@ screen navigation(): textbutton _("Tutorials") action SetLocalVariable("subcategory", "tutorials") at navigation_tabs textbutton _("Controls") action SetLocalVariable("subcategory", "controls") at navigation_tabs + at navigation_subtabs_show + if subcategory == "tutorials": use help_tutorials elif subcategory == "controls": @@ -288,6 +328,22 @@ transform navigation_hide: alpha 1.0 easeout_back 0.4 zoom 0.0 alpha 0.0 +transform navigation_subtabs_show: + on replace: + xoffset 0 + on start: + xoffset 200 + pause 0.1 + easein 0.4 xoffset 0 + +transform navigation_tabs_show: + on replace: + xoffset 0 + on start: + xoffset -200 + pause 0.1 + easein 0.4 xoffset 0 + style navigation_frame is empty: align (0.5, 0.5) xysize (750, 512) @@ -363,6 +419,42 @@ style navigation_subtabs_button: style navigation_subtabs_button_text is navigation_tabs_button_text: selected_xoffset -15 +style navigation_tabs_website_button is navigation_subtabs_button: + background Frame(Transform(Image("gui/creamy_pumpkin_pie/book/book_tab.png", oversample=4), xzoom=-1), 80, 0, 0, 0, tile=False) + selected_background None + insensitive_background None + xsize 140 + +style navigation_tabs_website_button_text is navigation_subtabs_button_text: + size 12 + +style navigation_tabs_discord_button is navigation_subtabs_button: + background Frame(Transform(Image("gui/creamy_pumpkin_pie/book/book_tab_discord.png", oversample=4), xzoom=-1), 80, 0, 0, 0, tile=False) + selected_background None + insensitive_background None + xsize 140 + +style navigation_tabs_discord_button_text is navigation_subtabs_button_text: + size 12 + +style navigation_tabs_patreon_button is navigation_subtabs_button: + background Frame(Transform(Image("gui/creamy_pumpkin_pie/book/book_tab_patreon.png", oversample=4), xzoom=-1), 80, 0, 0, 0, tile=False) + selected_background None + insensitive_background None + xsize 140 + +style navigation_tabs_patreon_button_text is navigation_subtabs_button_text: + size 12 + +style navigation_tabs_subscribestar_button is navigation_subtabs_button: + background Frame(Transform(Image("gui/creamy_pumpkin_pie/book/book_tab_subscribestar.png", oversample=4), xzoom=-1), 80, 0, 0, 0, tile=False) + selected_background None + insensitive_background None + xsize 180 + +style navigation_tabs_subscribestar_button_text is navigation_subtabs_button_text: + size 12 + style navigation_label_text: ypos 8 color "#704F32" @@ -471,3 +563,8 @@ image doodle_glasses = Image("gui/creamy_pumpkin_pie/book/book_doodles_glasses.p image doodle_mountains = Image("gui/creamy_pumpkin_pie/book/book_doodles_mountains.png", oversample=4) image doodle_brewing = Image("gui/creamy_pumpkin_pie/book/book_doodles_brewing.png", oversample=4) image doodle_mermaid = Image("gui/creamy_pumpkin_pie/book/book_doodles_mermaid.png", oversample=4) + +image website_logo = Image("gui/creamy_pumpkin_pie/website_logo.png", oversample=4) +image discord_logo = Image("gui/creamy_pumpkin_pie/discord_logo.png", oversample=4) +image patreon_logo = Image("gui/creamy_pumpkin_pie/patreon_logo.png", oversample=4) +image subscribestar_logo = Image("gui/creamy_pumpkin_pie/subscribestar_logo.png", oversample=4)