From f18fff1414414bdd245aec76a172e55f4dbfe162 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 16 Dec 2020 15:41:06 -0300 Subject: Redo main screen when logged out --- game/screens.rpy | 48 ++++++++++++++++++++++++++++++++++-------------- 1 file changed, 34 insertions(+), 14 deletions(-) diff --git a/game/screens.rpy b/game/screens.rpy index 3bd84ce..77b953e 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -1720,21 +1720,41 @@ screen welcome(): #text (_("Welcome to %s!" % (config.name))) color "#fefefe" yalign 0.0 xalign 0.5 size 32 #null height 0.2 fixed: - hbox: + image "gfx/nourishedflower.webp": xalign 0.5 - yalign 0.2 - textbutton _("{size=36}Login{/size}"): - xpadding 30 - ypadding 30 - background Frame("gui/frame.png", 5, 5) - action Jump("register_password") - - null width 30 - textbutton _("{size=36}Register{/size}"): - xpadding 30 - ypadding 30 - background Frame("gui/frame.png", 5, 5) - action Jump("register_email") + yalign 1.0 + + label (_("Welcome to %s!" % (config.name))): + style "pref_label" + yalign 0.02 + xalign 0.50 + text_size 54 + text_outlines [ (1, "#000", 0, 0) ] + #color "#fefefe" + #size 32 + + textbutton _("{size=36}Login{/size}"): + xalign 0.33 + yalign 0.15 + xpadding 30 + ypadding 30 + background Frame("gui/frame.png", 5, 5) + action Jump("register_password") + textbutton _("{size=36}Register{/size}"): + xalign 0.67 + yalign 0.15 + xpadding 30 + ypadding 30 + background Frame("gui/frame.png", 5, 5) + action Jump("register_email") + + textbutton _("{size=36}Preferences{/size}"): + xalign 0.5 + yalign 0.25 + xpadding 30 + ypadding 30 + background Frame("gui/frame.png", 5, 5) + action ShowMenu('preferences') -- cgit v1.2.3-70-g09d2