Thanks for help.
Code: Select all
screen navigation:
imagemap:
ground "menu/ground.png"
hover "menu/hover.png"
hotspot (426, 184, 368, 140) action Start()
hotspot (269, 444, 312, 160) action ShowMenu("load")
hotspot (908, 450, 310, 158) action ShowMenu("preferences")
hotspot (21, 169, 321, 167)action Help()
hotspot (940, 181, 317, 164) action Quit(confirm=False)
if main_menu:
textbutton _("Start") action Start()
else:
textbutton _("History") action ShowMenu("history")
textbutton _("Save") action ShowMenu("save")
hotspot _("Load") action ShowMenu("load")
textbutton _("Preferences") action ShowMenu("preferences")
if _in_replay:
textbutton _("End Replay") action EndReplay(confirm=True)
elif not main_menu:
textbutton _("Main Menu") action MainMenu()
textbutton _("About") action ShowMenu("about")
if renpy.variant("pc"):
## Help isn't necessary or relevant to mobile devices.
textbutton _("Help") action ShowMenu("help")
## The quit button is banned on iOS and unnecessary on Android.
textbutton _("Quit") action Quit(confirm=not main_menu)
style navigation_button is gui_button
style navigation_button_text is gui_button_text
style navigation_button:
size_group "navigation"
properties gui.button_properties("navigation_button")
style navigation_button_text:
properties gui.button_text_properties("navigation_button")