Imagemap Problem (Solved)
Posted: Mon Jun 24, 2013 6:04 am
Hello! This is what I encountered when I go to the "Load" page on my game:
This is the code I used:
If it helps, these are the pictures I used for the buttons:
Thanks in advance!
(EDIT: If this bit of info helps, the first box (Return) directs back to the MM. The 4th box (Prefs) directs back to the Preferences and the last box (Quit) directs to the "Are you sure you want to quit? Yes/No" page. The problem is that the boxes are jumbled up like that, but each box does link to their respective pages correctly.)
Code: Select all
screen navigation:
# The background of the game menu.
window:
style "gm_root"
# The various buttons.
imagemap:
ground "rslpmqground.png"
idle "rslpmqidle.png"
hover "rslpmqhover.png"
selected_idle "rslpmqselectidle.png"
selected_hover "rslpmqselecthover.png"
hotspot (613,338,135,40) action Return()
hotspot (611,380,137,43) action ShowMenu("save")
hotspot (611,424,138,40) action ShowMenu("load")
hotspot (612,468,136,38) action ShowMenu("preferences")
hotspot (611,510,137,39) action MainMenu()
hotspot (611,553,139,41) action Quit()
init -2 python:
style.gm_nav_button.size_group = "gm_nav"(EDIT: If this bit of info helps, the first box (Return) directs back to the MM. The 4th box (Prefs) directs back to the Preferences and the last box (Quit) directs to the "Are you sure you want to quit? Yes/No" page. The problem is that the boxes are jumbled up like that, but each box does link to their respective pages correctly.)