## Main Menu screen ############################################################ ## ## Used to display the main menu when Ren'Py starts. ## ## https://www.renpy.org/doc/html/screen_special.html#main-menu ## Replace this with your background image, if you like image main_menu_background = "Main_Menu3.png" image main_menu_foreground = HBox( Solid("#292835AA", xsize=325, ysize=530) ) # TODO: use platform checking to make this smaller on web and bigger on other platforms as for some reason this is larger on web screen main_menu(): ## This ensures that any other menu screen is replaced. tag menu add "main_menu_background": ypos -20 xpos -70 add "main_menu_foreground": xalign 0.5 yalign 0.95 vbox: xalign 0.5 yalign 0.95 spacing -3 textbutton _("Start") action Start(): xalign 0.5 textbutton _("Load") action ShowMenu("load"): xalign 0.5 textbutton _("Endings") action ShowMenu("ending_gallery"): xalign 0.5 textbutton _("Preferences") action ShowMenu("preferences"): xalign 0.5 textbutton _("About") action ShowMenu("about"): xalign 0.5 if renpy.variant("pc") or (renpy.variant("web") and not renpy.variant("mobile")): ## Help isn't necessary or relevant to mobile devices. textbutton _("Help") action ShowMenu("help"): xalign 0.5 if renpy.variant("pc"): ## The quit button is banned on iOS and unnecessary on Android and ## Web. textbutton _("Quit") action Quit(confirm=not main_menu): xalign 0.5