wider panel added, text resized in About page, still not entirely sold on this, might do a version where it is integrated into the old menu layout
This commit is contained in:
parent
e340999249
commit
4a9f9d5616
|
@ -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 ####################################################################
|
||||
##
|
||||
|
|
Binary file not shown.
After Width: | Height: | Size: 241 KiB |
|
@ -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 ################################################################
|
||||
##
|
||||
|
|
Loading…
Reference in New Issue