did my evil magic number tricks to create a nicer(?) main menu screen
This commit is contained in:
parent
b547300d72
commit
aef411dd0b
2 changed files with 24 additions and 10 deletions
34
screens.rpy
34
screens.rpy
|
|
@ -423,19 +423,33 @@ screen main_menu():
|
||||||
add gui.main_menu_background
|
add gui.main_menu_background
|
||||||
|
|
||||||
vbox:
|
vbox:
|
||||||
style_prefix "navigation"
|
# style_prefix "navigation"
|
||||||
|
|
||||||
xpos gui.navigation_xpos
|
# xpos gui.navigation_xpos
|
||||||
yalign 0.5
|
xalign 0.19
|
||||||
|
yalign 0.42
|
||||||
|
|
||||||
spacing gui.navigation_spacing
|
spacing 1
|
||||||
|
|
||||||
textbutton _("Start") action Start()
|
textbutton _("Start"):
|
||||||
textbutton _("Load") action ShowMenu("load")
|
text_size 30
|
||||||
textbutton _("Preferences") action ShowMenu("preferences")
|
xalign 0.5
|
||||||
textbutton _("About") action ShowMenu("about")
|
action Start()
|
||||||
textbutton _("Help") action ShowMenu("help")
|
textbutton _("Load"):
|
||||||
textbutton _("Quit") action Quit(confirm=not main_menu)
|
text_size 30
|
||||||
|
xalign 0.5
|
||||||
|
action ShowMenu("load")
|
||||||
|
textbutton _("Options"):
|
||||||
|
text_size 30
|
||||||
|
xalign 0.5
|
||||||
|
action ShowMenu("preferences")
|
||||||
|
textbutton _("Quit"):
|
||||||
|
text_size 30
|
||||||
|
xalign 0.5
|
||||||
|
action Quit(confirm=not main_menu)
|
||||||
|
|
||||||
|
# textbutton _("About") action ShowMenu("about")
|
||||||
|
# textbutton _("Help") action ShowMenu("help")
|
||||||
|
|
||||||
style main_menu_frame is empty
|
style main_menu_frame is empty
|
||||||
style main_menu_vbox is vbox
|
style main_menu_vbox is vbox
|
||||||
|
|
|
||||||
BIN
screens.rpyc
BIN
screens.rpyc
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue