diff --git a/game/gui.rpy b/game/gui.rpy index dbe3f31..f82f10a 100644 --- a/game/gui.rpy +++ b/game/gui.rpy @@ -88,6 +88,7 @@ define gui.title_text_size = 75 define gui.main_menu_background = "gui/main_menu.png" define gui.game_menu_background = "gui/game_menu.png" define gui.extras_submenu_background = "gui/overlay/extras_submenu.png" +define gui.extras_submenu_panel = "gui/overlay/extras_submenu_panel.png" ## Dialogue #################################################################### ## diff --git a/game/gui/overlay/extras_submenu_panel.png b/game/gui/overlay/extras_submenu_panel.png new file mode 100644 index 0000000..c6d82ce Binary files /dev/null and b/game/gui/overlay/extras_submenu_panel.png differ diff --git a/game/screens.rpy b/game/screens.rpy index 7e9c481..97a46ad 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -560,36 +560,72 @@ style return_button: screen about(): tag menu + style_prefix "main_menu" - ## This use statement includes the game_menu screen inside this one. The - ## vbox child is then included inside the viewport inside the game_menu - ## screen. - use game_menu(_("About"), scroll="viewport"): + add gui.main_menu_background + add gui.extras_submenu_panel + + ## This empty frame darkens the main menu. + frame: + pass - style_prefix "about" + ## The use statement includes another screen inside this one. The actual + ## contents of the main menu are in the navigation screen. - vbox: + vbox: + xpos 1240 + ## yalign 0.03 + ypos 800 + label "[config.name!t]" + text _("Version [config.version!t]\n") - label "[config.name!t]" - text _("Version [config.version!t]\n") + ## gui.about is usually set in options.rpy. + if gui.about: + text "[gui.about!t]\n" - ## gui.about is usually set in options.rpy. - if gui.about: - text "[gui.about!t]\n" + text _("{size=24}Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]\nTo find more information about the game (and its source code) please visit {a=https://www.snootgame.xyz/}our website{/a}.{/size}") + textbutton "Back to Extras" action ShowMenu("extras") + vbox: + xpos 1940 + yalign 0.03 + if persistent.splashtype == 1: + add "gui/sneedgame.png" + else: + add "gui/snootgame.png" + vbox: + spacing 25 + xpos 1885 + yalign 0.9 + textbutton _("Help") action ShowMenu("help") + textbutton _("About") action ShowMenu("about") + textbutton _("Updates") action ShowMenu("updates") + imagebutton auto "gui/button/menubuttons/gallerybutton_%s.png" action ShowMenu("gallery") + textbutton _("Return") action ShowMenu("main_menu") - text _("Made with {a=https://www.renpy.org/}Ren'Py{/a} [renpy.version_only].\n\n[renpy.license!t]\nTo find more information about the game (and its source code) please visit {a=https://www.snootgame.xyz/}our website{/a}.") - textbutton "Back to Extras" action ShowMenu("extras") +style main_menu_frame is empty +style main_menu_vbox is vbox +style main_menu_text is gui_text +style main_menu_title is main_menu_text +style main_menu_version is main_menu_text -## This is redefined in options.rpy to add text to the about screen. -define gui.about = "" +style main_menu_frame: + xsize 420 + yfill True + background "gui/overlay/main_menu.png" -style about_label is gui_label -style about_label_text is gui_label_text -style about_text is gui_text +style main_menu_vbox: + xalign 1.0 + xoffset -30 + xmaximum 1200 + yalign 1.0 + yoffset -30 -style about_label_text: - size gui.label_text_size +style main_menu_text: + properties gui.text_properties("main_menu", accent=True) + +style main_menu_title: + properties gui.text_properties("title") ## Gallery screen ################################################################ ##