I took this screenshot right from my device. The game worked fine right before I ported with code that included an image map for the main menu:
Code: Select all
##############################################################################
# Main Menu
#
# Screen that's used to display the main menu, when Ren'Py first starts
# http://www.renpy.org/doc/html/screen_special.html#main-menu
#screen main_menu:
# # This ensures that any other menu screen is replaced.
# tag menu
# # The background of the main menu.
# window:
# style "mm_root"
# # The main menu buttons.
# frame:
# style_group "mm"
# xalign .98
# yalign .98
# has vbox
# textbutton _("Start Game") action Start()
# textbutton _("Credits") action Credits()
# textbutton _("Preferences") action ShowMenu("preferences")
# textbutton _("Help") action Help()
# textbutton _("Quit") action Quit(confirm=False)
init -2 python:
#Make all the main menu buttons be the same size.
style.mm_button.size_group = "mm"
style.mm_button_text.size = 60
layout.imagemap_main_menu("ground.png", "selected.png", [
(439, 363, 826, 458, "Start Game"),
(725, 507, 960, 600, "Credits"),
])