The hotspot for the areas didn't seem to work properly, somehow extending towards some random areas. For example, when my cursor is over Restaurant, it looks like the hotspot covers the icon for that, Park and Place.
The size of the picture is the same as the size of the vn (900x700), I double checked to see that the hotspots were right. When I click on one of the spots it redirects to one of the labels for one of the areas.
I made sure the hotspots didn't overlap, changed the parts there and there, tried with cache and persistent deleted. Asked a bunch of people, and now they're stumped, too.
I updated Ren'py, too, so I'm lost.
Code: Select all
screen artmap:
imagemap:
ground "artmapground.png"
hover "artmaphover.png"
hotspot (425, 24, 525, 110) clicked Return("Bakery")
hotspot (425, 148, 502, 232) clicked Return("Library")
hotspot (282, 227, 372, 317) clicked Return("RoseSquare")
hotspot (195, 220, 274, 304) clicked Return("Gallery")
hotspot (425, 148, 502, 232) clicked Return("Library")
hotspot (472, 484, 557, 572) clicked Return("Place")
hotspot (259, 427, 355, 521) clicked Return("Restaurant")
call screen artmap
$ location = _return
if location == RoseSquare:
" blah blah"
elif location == Library:
" blah blah"
elif location == Gallery:
" blah blah"
//etc etc