So I've been searching the tutorials and whatnot and can't figure out what I'm doing wrong. I'm using an imagemap for my main menu and want a certain jpg to show when I hover over the button on the image. However, every tutorial I've read states that only one image can be used for hovering whereas I have several buttons that I want a specific image to show for. How can I add in multiple images for hovering without getting the same error messages?
init -2 python:
layout.imagemap_main_menu("menu.jpg", "menu2.jpg", [
(422, 214, 541 ,324, "Start Game"),
(417, 247, 543, 269, "Load Game"),
(420, 282, 542, 307, "Preferences"),
(455, 354, 507, 383, "Quit"),
(455, 317, 507, 346, "Help"),
])
This is what I currently have. Any suggestions?
I'm using Renpy and jEdit.