summaryrefslogtreecommitdiff
path: root/game/screens.rpy
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-12-15 19:12:18 -0300
committerJesusaves <cpntb1@ymail.com>2020-12-15 19:12:18 -0300
commit8fc50aeea7f79c32be085fddc18f6a99860c8603 (patch)
treed2224f5621ffaae19fcfd46fed5786dd8621829f /game/screens.rpy
parent1f05044181ceb6c497b88602d8876236374bd176 (diff)
downloadclient-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/screens.rpy')
-rw-r--r--game/screens.rpy33
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"