diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-12-15 19:12:18 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-12-15 19:12:18 -0300 |
commit | 8fc50aeea7f79c32be085fddc18f6a99860c8603 (patch) | |
tree | d2224f5621ffaae19fcfd46fed5786dd8621829f /game | |
parent | 1f05044181ceb6c497b88602d8876236374bd176 (diff) | |
download | client-8fc50aeea7f79c32be085fddc18f6a99860c8603.tar.gz client-8fc50aeea7f79c32be085fddc18f6a99860c8603.tar.bz2 client-8fc50aeea7f79c32be085fddc18f6a99860c8603.tar.xz client-8fc50aeea7f79c32be085fddc18f6a99860c8603.zip |
Give a cleanup to main menu screen
Diffstat (limited to 'game')
-rw-r--r-- | game/screens.rpy | 33 |
1 files changed, 23 insertions, 10 deletions
diff --git a/game/screens.rpy b/game/screens.rpy index 91f4115..086ebfa 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -397,21 +397,34 @@ screen main_menu(): ## This ensures that any other menu screen is replaced. tag menu - style_prefix "main_menu" - - add gui.main_menu_background + ## Creates main background + fixed: + frame: + xfill True + yfill True + background Frame("gfx/bg/forest_sunset.png", 0, 0) - ## This empty frame darkens the main menu. - frame: - pass + ## Start button + vbox: + xalign 0.5 + yalign 0.88 + xfill False + yfill False + textbutton _("Start") action Start() - ## The use statement includes another screen inside this one. The actual - ## contents of the main menu are in the navigation screen. - use navigation + ## Settings button + hbox: + xalign 0.88 + yalign 0.06 + xfill False + yfill False + textbutton _("Preferences") action ShowMenu("preferences") + ## Name & Version if gui.show_name: - vbox: + xalign 0.96 + yalign 0.96 text "[config.name!t]": style "main_menu_title" |